fl2k tools: libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=2

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

L29Ah l29ah at cock.li
Sat Jan 18 03:57:12 UTC 2020


I've put my flk2 away for half a year, and now i can't make it working:

‰ fl2k_test -s 162e6
Allocating 6 zero-copy buffers
libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=2
Failed to submit transfer 0
Please increase your allowed usbfs buffer size with the following command:
echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb

/sys/module/usbcore/parameters/usbfs_memory_mb is zero ofc. strace tells me:

[pid  9711] openat(AT_FDCWD, "/dev/bus/usb/001/007", O_RDWR|O_CLOEXEC) = 9
...
[pid  9711] ioctl(9, USBDEVFS_SUBMITURB, 0x558af7769f80) = 0
...
[pid  9711] write(2, "Allocating 6 zero-copy buffers\n", 31Allocating 6 zero-copy buffers
) = 31
[pid  9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f7faa000
[pid  9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f7bea000
[pid  9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f782a000
[pid  9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f746a000
[pid  9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f70aa000
[pid  9711] mmap(NULL, 3932160, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7ff5f6cea000
[pid  9711] ioctl(9, USBDEVFS_SUBMITURB, 0x558af776a5a0) = -1 ENOENT (No such file or directory)

Linux 5.5.0-rc6 and osmo-fl2k master here.
What am i doing wrong?

-- 
()  ascii ribbon campaign - against html mail
/\  http://arc.pasp.de/   - against proprietary attachments



More information about the osmocom-sdr mailing list