Created attachment 308 [details]
Zip of Snapshot and CLI printouts
fyi: This issue was discussed on IRC (27.05.17) with user "uwe_".
Bug: When connecting an FX2 type device to the USB 2.0 Hub integrated into my screen, sigrok encounters errors when enumerating the device.
This issue does not appear when repeating the same process, while attaching the device directly to the motherboard.
Attached you will find the output from the two scenarios with the following command:
> set LIBUSB_DEBUG=1
> sigrok-cli.exe --driver fx2lafw --samples 1 -l 5
Also attached is print screen from the device enumeration from windows "Device Manager". The device has been installed with Zadig/WinUSB on both ports (direct/USB-Hub).
Can't reproduce this with a "standard" USB hub (not integrated into a monitor) on Windows 10 64bit with the current installer as of today. It probably only happens with *some* hubs and/or with "special" stuff integrated into monitors (?) Not really sure.
Your logs look a bit strange, though. The non_working.txt log suggests that run *did* work fine, the device is found and one sample has been gathered successfully.
Either way, it looks like there's not much we can do about this, it looks very much like a hardware and/or libusb issue to me, nothing we can fix in libsigrok per se.
Can you retry with the latest installer and "set LIBUSB_DEBUG=5" this time please? Maybe there's some useful hint in those logs.