Thanks a bunch Alex!

 

--driver=fx2lafw is another one of those things I just didn't know about...

 

Here's me knowing that a (Vendor ID : Product ID) pair describes the device uniquely, so me thinks that sigrok-cli must know which driver to use for that particular device much better than the average Joe User (i.e. me) would (unless some dummy did not install it, that'd be also me), and the --driver option should only be there to override that for whatever reason - right? (wrong, at least in current implementation - see below...)

 

BTW, you should not be able to change this VID:PID pair, like ever. Also, the device is gone good from the list, in other words, there is one less device on the list after sigrok-cli executes, which I'd consider a bug no matter which options get specified - sigrok-cli should leave the list of USB devices alone - it's not his/hers/whatever - right?

 

Be all that as it may, specifying the --driver=fx2lafw option does indeed lead to a different result - obviously sigrok-cli doesn't care whether I think it shouldn't ;-). Now I know there is another bug as it now segfaults, which is always a bug, no matter what the circumstances - right?

 

Oh, and the device is still gone from the list even with that new behavior and --driver=fx2lafw specified. Which is very weird - I would not know how to take a device off that list...

 

But it looks as if I'm getting a little further every day - thanks to all your help!!

 

Ekkehard

 

$ sigrok-cli -l 5 -d 0 --samples 10 --driver=fx2lafw

sr: libsigrok loglevel set to 5.

srd: libsigrokdecode loglevel set to 5.

sr: Sanity-checking all drivers.

sr: ezusb: uploading firmware to device on 2.84

sr: ezusb: setting CPU reset mode on...

sr: ezusb: Uploading firmware at /usr/local/share/sigrok-firmware/fx2lafw-cwav-usbeesx.fw

sr: ezusb: Uploaded 4096 bytes

sr: ezusb: Uploaded 4096 bytes

sr: ezusb: Uploaded 4096 bytes

sr: ezusb: Uploaded 4024 bytes

sr: ezusb: Firmware upload done

sr: ezusb: setting CPU reset mode off...

sr: fx2lafw: Waiting for device to reset.

sr: fx2lafw: waited 403 ms

sr: fx2lafw: waited 506 ms

sr: fx2lafw: waited 610 ms

sr: fx2lafw: waited 713 ms

sr: fx2lafw: waited 817 ms

sr: fx2lafw: waited 920 ms

sr: fx2lafw: waited 1024 ms

sr: fx2lafw: waited 1127 ms

sr: fx2lafw: waited 1231 ms

sr: fx2lafw: waited 1334 ms

sr: fx2lafw: waited 1438 ms

sr: fx2lafw: waited 1539 ms

sr: fx2lafw: waited 1642 ms

sr: fx2lafw: waited 1745 ms

sr: fx2lafw: waited 1849 ms

sr: fx2lafw: waited 1952 ms

sr: fx2lafw: waited 2053 ms

sr: fx2lafw: waited 2156 ms

sr: fx2lafw: waited 2260 ms

sr: fx2lafw: waited 2363 ms

sr: fx2lafw: waited 2466 ms

sr: fx2lafw: waited 2567 ms

sr: fx2lafw: waited 2671 ms

sr: fx2lafw: waited 2774 ms

sr: fx2lafw: waited 2878 ms

sr: fx2lafw: waited 2979 ms

sr: fx2lafw: waited 3082 ms

sr: fx2lafw: Device came back after 3082 ms.

sr: fx2lafw: Unable to open device.

sr: session: sr_session_dev_add: dev_open failed (-1)

Failed to use device.

Segmentation fault (core dumped)

$