https://bugzilla.novell.com/show_bug.cgi?id=403346
User stefan.neis@kobil.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=403346#c1
--- Comment #1 from Stefan Neis
ioctl(3, USBDEVFS_SUBMITURB, 0xbf8566d4) = 0 ioctl(3, USBDEVFS_REAPURBNDELAY, 0xbf856718) = -1 EAGAIN (Resource temporarily unavailable) select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout) write(1, "test\n", 5test) = 5 gettimeofday({1214911004, 481477}, NULL) = 0 ioctl(3, USBDEVFS_REAPURBNDELAY, 0xbf856718) = -1 EAGAIN (Resource temporarily unavailable) select(4, NULL, [3], NULL, {0, 1000}) = 0 (Timeout) write(1, "test\n", 5test) = 5 gettimeofday({1214911004, 485465}, NULL) = 0 ioctl(3, USBDEVFS_REAPURBNDELAY, 0xbf856718) = -1 EAGAIN (Resource temporarily unavailable) select(4, NULL, [3], NULL, {0, 1000}
i.e. it's hanging in a select call, which Alan commented like this:
It's clear now that the problem exists in the kernel, not in your program on in libusb. To make any more progress you will have to patch the kernel source. The function you want to investigate first is usbdev_poll() in drivers/usb/core/devio.c.
We didn't start that yet, however, we tried a different kernel version and found that we have the same problem with 2.6.25.9 from kernel.org, so it seems (IMHO) to be a regression introduced in 2.6.25 (since a test on an Ubuntu with 2.6.24.whatever showed no problem) and not yet fixed in the current version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.