Hi Stuart,

That error seems to originate from libftdi, suggesting that libusb_open
failed (
http://developer.intra2net.com/git/?p=libftdi;a=blob;f=src/ftdi.c;hb=HEAD#l407).
If so it cannot be fixed on sigrok's side since it relies on the underlying
drivers to communicate with the devices.
Can you list the output of:
 sudo lsusb -v -d0x0403 (or whatever your device id is)

Another test of the libftdi/libusb stack is to run e.g. the ftdi_eeprom
utility (http://manpages.ubuntu.com/manpages/impish/man1/ftdi_eeprom.1.html),
just to see if that driver stack can access the device.

Best regards

On Mon, May 31, 2021 at 4:49 PM stuart <stu...@xnet.com> wrote:

> Hi,
>
> I know this is the dev mail list.  If there is a user mail list please
> let me know.  (I've dropped in on the IRC twice and asked but I didn't
> see any responses.)
>
> On an up to date Ubuntu box, if I can run:
>
> "minicom -D /dev/ttyUSB0 -b 9600"
>
> ... and get the voltage from my FLUKE 45 then why doesn't:
>
> "sigrok-cli  --driver fluke-45:conn=/dev/ttyUSB0:serialcomm=9600/8n1
> --continuous"
>
> ... return anything at all?
>
> -thanks for any help.
>
> More info in case it is useful:
>
> > ./sigrok-cli --version
> > sigrok-cli 0.8.0-git-dded02f
> >
> > Libraries and features:
> > - libsigrok 0.6.0-git-955ab604/4:0:0 (rt: 0.6.0-git-955ab604/4:0:0).
> >  - Libs:
> >   - glib 2.64.6 (rt: 2.64.6/6406:6)
> >   - libzip 1.5.1
> >   - libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
> >   - libusb-1.0 1.0.23.11397 API 0x01000107
> >   - libftdi 1.4
> >   - librevisa 0.0.20130812
> >   - Host: x86_64-pc-linux-gnu, little-endian.
> >   - SCPI backends: TCP, RPC, serial, VISA, USBTMC.
>
>
> > ./sigrok-cli  --scan
> > sr: ftdi-la: Failed to get the FTDI strings: -4
> > sr: serial-libsp: Attempt to open serial port with invalid parameters.
> > sr: serial-libsp: Attempt to open serial port with invalid parameters.
> > sr: serial-libsp: Attempt to open serial port with invalid parameters.
> > sr: serial-libsp: Attempt to open serial port with invalid parameters.
> > The following devices were found:
> > demo - Demo device with 13 channels: D0 D1 D2 D3 D4 D5 D6 D7 A0 A1 A2 A3
> A4
>
>
> > minicom -D /dev/ttyUSB0 -b 9600
> > Welcome to minicom 2.7.1
> >
> > OPTIONS: I18n
> > Compiled on Dec 23 2019, 02:06:26.
> > Port /dev/ttyUSB0, 09:45:07
> >
> > Press CTRL-A Z for help on special keys
> >
> > VAL?
> > -0.28E-3
> > =>
>
>
>
>
> _______________________________________________
> sigrok-devel mailing list
> sigrok-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel
>
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to