chris at techworks.ie
Tue Aug 7 14:11:02 UTC 2012
On 07/08/12 14:54, Peter Stuge wrote:
> Hi Chris,
> Christian Gagneraud wrote:
>> Another "bug" I discovered is that if you just do a device scan to print
>> available device and exit the python script, it will generate plenty of
>> error messages like "libusb:warning [cancel_bulk_transfer] unrecognised
>> discard errno 9", the workaround is to simply wait a bit before exiting.
>> It seems that some USB packets are still pending after calling
> I'm interested in this since I'm the libusb maintainer.
> Error 9 means that ioctl() returns "Invalid file descriptor" - so the
> fd that came from open():ing the device has since become invalid. I
> would appreciate if you can provide a short (python) program to
> reproduce this error, or perhaps you can provide a debug log,
> according to the http://libusb.org/wiki/debug page. It shouldn't
Please find attached the full log. I can provide u with a simple python
program, but it will depends on gnuradio, gr-osmosdr and you will need a
compatible device plugged in as well.
Embedded systems engineer.
1 Harbour road
Tel: + 353 (0) 1 236 5990
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 226058 bytes
Desc: not available
More information about the osmocom-sdr