Score:0

Why doesn't PulseView/sigrok-cli have any available hardware drivers on Ubuntu 23.04?

ao flag

I am on Ubuntu 23.04 attempting to use PulseView/sigrok-cli with a fx2lafw driver. However, my logic analyzer, a Noname Saleae Logic clone, is not detected. In fact, it seems like neither sigrok-cli nor PulseView have any available hardware drivers. The dropdown in PulseView when adding a device is empty:

Connect to Device dialog

And in "About", there are no drivers listed under "Supported hardware drivers":

About dialog

I have sigrok-firmware-fx2lafw installed, so it should at least have that.

I tried using the AppImage but it also fails to run on Ubuntu 23.04:

pulseview: /tmp/.mount_PulseVX19KrX/usr/lib/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
pulseview: /tmp/.mount_PulseVX19KrX/usr/lib/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)
pulseview: symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_module_open_full
Score:1
ao flag

This is due to a bug specific to Ubuntu 23.04, not a bug in PulseView or sigrok. Further discussion:

For now, you can work around this bug by installing Debian's sigrok packages, which do not contain this bug:

You can do this in a quick-and-dirty way by downloading the packages and using dpkg. For example, on an amd64 machine:

# these versions may be out of date - check Debian's website for the latest
wget http://ftp.us.debian.org/debian/pool/main/p/pulseview/pulseview_0.4.2-3+b1_amd64.deb \
  http://ftp.us.debian.org/debian/pool/main/libs/libsigrok/libsigrok4_0.5.2-4_amd64.deb \
  http://ftp.us.debian.org/debian/pool/main/libs/libsigrok/libsigrokcxx4_0.5.2-4_amd64.deb

sudo dpkg -i pulseview_0.4.2-3+b1_amd64.deb libsigrok4_0.5.2-4_amd64.deb libsigrokcxx4_0.5.2-4_amd64.deb
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.