After upgrading to 2.6.22 one of my USB-devices stopped working "out of the 
box". I've found a workaround (see below) to get it working. And my question 
is how can I make this automatically?

Here's the workaround:

From dmesg:
usb 2-1: new full speed USB device using uhci_hcd and address 4 
usb 2-1: no configuration chosen from 1 choice 


In /sys/bus/usb/devices/ I find the symlink for this device (2-1)

/sys/bus/usb/devices/2-1# cat bNumConfigurations 
1 
/sys/bus/usb/devices/2-1# cat bConfigurationValue 

by writing a value into bConfigurationValue, I can select an active 
configuration: 

/sys/bus/usb/devices/2-1# echo 1 > bConfigurationValue 
/sys/bus/usb/devices/2-1# cat bConfigurationValue 
1 

After this the device works as expected.

-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to