Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [OT] Problems with USB subsystem after upgrading to 2.6.22
Date: Sun, 09 Sep 2007 17:33:53
Message-Id: 200709091921.09133.Dan.Johansson@dmj.nu
1 After upgrading to 2.6.22 one of my USB-devices stopped working "out of the
2 box". I've found a workaround (see below) to get it working. And my question
3 is how can I make this automatically?
4
5 Here's the workaround:
6
7 From dmesg:
8 usb 2-1: new full speed USB device using uhci_hcd and address 4
9 usb 2-1: no configuration chosen from 1 choice
10
11
12 In /sys/bus/usb/devices/ I find the symlink for this device (2-1)
13
14 /sys/bus/usb/devices/2-1# cat bNumConfigurations
15 1
16 /sys/bus/usb/devices/2-1# cat bConfigurationValue
17
18 by writing a value into bConfigurationValue, I can select an active
19 configuration:
20
21 /sys/bus/usb/devices/2-1# echo 1 > bConfigurationValue
22 /sys/bus/usb/devices/2-1# cat bConfigurationValue
23 1
24
25 After this the device works as expected.
26
27 --
28 Dan Johansson, <http://www.dmj.nu>
29 ***************************************************
30 This message is printed on 100% recycled electrons!
31 ***************************************************

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] [OT] Problems with USB subsystem after upgrading to 2.6.22 Dan Johansson <Dan.Johansson@×××.nu>