On Sunday 09 September 2007, Dan Johansson wrote: > 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. I found myself a solution to this problem (I don't know if it's the best way to do it but it works for me). I added the following two files to my system: # cat /etc/udev/rules.d/00-local.rules SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{serial}=="2f11211b-0e00-0106-6800-0050bf7a660c", RUN+="/usr/local/bin/loox.udev" # cat /usr/local/bin/loox.udev #!/bin/bash if [ ${ACTION} == "add" ] then         echo "1" > /sys/${DEVPATH}/bConfigurationValue fi -- Dan Johansson, *************************************************** This message is printed on 100% recycled electrons! ***************************************************