Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252997 - [2.6.28 regression] usbfs disables interfaces after first use
Summary: [2.6.28 regression] usbfs disables interfaces after first use
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
Whiteboard: linux-2.6.28-regression
Keywords: InVCS
Depends on:
Reported: 2008-12-29 15:11 UTC by kouyu
Modified: 2009-01-26 09:15 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description kouyu 2008-12-29 15:11:07 UTC
I am using Gentoo Linux. I updated kernel to 2.6.28 yesterday. Everything is ok except thinkfinger, gphoto2 and fprint.  The three packages work fine on 2.6.27 on my laptop.
There is a fingerprint reader on my laptop.
$ lsusb
Bus 005 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
$ ls -l /dev/bus/usb/005/002
crw-rw-r-- 1 root usb 189, 513 Dec 30  2008 /dev/bus/usb/005/002

thinkfinger depends on libusb-0.1.12. Its tf-tool opens /dev/bus/usb/005/002, and fails because usb_bulk_read return -2.
fprint depends on libusb-1.0. It fails because submit_bulk_transfer return -1, errno = 2

After my Canon camera was connected to my laptop with USB cable, gphoto2 successed first time when I executed it, but second time, it failed with I/O error.
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-31 12:47:02 UTC
Please, submit your "emerge --info" and "emerge -pv libusb gentoo-sources" and any dmesg output. 
Comment 2 Giacomo Perale 2009-01-01 01:02:02 UTC
Kernel bug, fixed by the patch you can find here:

More details here:
Comment 3 kouyu 2009-01-02 15:02:38 UTC
OK, that kernel patch works for me. This is actually a kernel bug. This bug can be closed.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2009-01-02 15:04:39 UTC
Please don't close bugs until the fix is shipped in gentoo-sources.
Comment 5 Bailey Kong 2009-01-19 12:20:54 UTC
According to the patched was finally commited to mainline, so I think the patch can finally be included with gentoo-sources.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2009-01-19 12:49:02 UTC
yep thanks, the InSVN keyword means it is already queued for next release
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2009-01-19 12:55:56 UTC
fixed in gentoo-sources-2.6.28-r1
Comment 8 Sven 2009-01-26 09:15:29 UTC
I think, something more serious is going on!

I'm using libusb to upload to a Lego NXT brick running the LeJOS firmware.
Uploading doesn't work anymore while it works perfect using kernel 2.6.27.x.