Bug 1849

Summary: Installation via pacman finds no firmware drivers
Product: sigrok-firmware Reporter: Eric Haertel <haertelgu>
Component: PortabilityAssignee: Nobody <nobody>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fenugrec
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Eric Haertel 2023-05-05 11:17:58 CEST
Hi I am running into an issue with both of my arch machines:

im trying to install pulseview (+ libsigrok, sigrok-cli, libsigrokdecode, sigrok-firmware-fx2lafw) via pacman.

The installation went well, but both pulsview and sigrok-cli are not detecting any firmware. The firmware files got located to:

[haertelgu@strawberry share]$ sudo ls /usr/share/sigrok-firmware -l
total 104
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-braintechnology-usb-lps.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-cwav-usbeeax.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-cwav-usbeedx.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-cwav-usbeesx.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-cwav-usbeezx.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-cypress-fx2.fw
-rw-r--r-- 1 root root 16312 Dec  2  2019 fx2lafw-hantek-6022be.fw
-rw-r--r-- 1 root root 16312 Dec  2  2019 fx2lafw-hantek-6022bl.fw
-rw-r--r-- 1 root root 16312 Dec  2  2019 fx2lafw-sainsmart-dds120.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-saleae-logic.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-sigrok-fx2-16ch.fw
-rw-r--r-- 1 root root  8120 Dec  2  2019 fx2lafw-sigrok-fx2-8ch.fw
-rw-r--r-- 1 root root 16312 Dec  2  2019 fx2lafw-yixingdianzi-mdso.fw



sigrok-cli says there are no installed hardware drives:

[haertelgu@strawberry share]$ sigrok-cli -L
Supported hardware drivers:

Supported input formats:
  binary               Raw binary logic data
  chronovu-la8         ChronoVu LA8/LA16 native file format data
  csv                  Comma-separated values
  logicport            Int
  ...



Invoking the driver directly also doesn't work:

[haertelgu@strawberry share]$  sigrok-cli --driver fx2lafw --samples 100
Driver fx2lafw not found.
Comment 1 fenugrec 2023-05-05 14:52:13 CEST
I think you are confusing firmware and hardware;

as for the "sigrok-cli -L" showing no hardware drivers, this is probably a duplicate of
https://sigrok.org/bugzilla/show_bug.cgi?id=1433

It's a known issue and is being worked on. No ETA. Possible to work around the issue at the packaging level, see https://bugs.archlinux.org/task/78381

*** This bug has been marked as a duplicate of bug 1433 ***