Comment 1 for bug 236247

Revision history for this message
Maris Nartiss (maris-nartiss) wrote :

I made some tests with that usb to serial converter and modem.
First - I connected to my Gentoo laptop (udev-122, 2.6.25-gentoo-r1) and I got same error message in dmesg as in Ubuntu 8.04. I added new udev rule, replugged device and it started to work in Gentoo. Conclusion - issue is not only Ubuntu specific and it's fixable.
For reference - the new udev rule, that worked on my Gentoo box (2.6.15 kernel): SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="3410", RUN+="/bin/sh -c 'echo 2 > /sys%p/bConfigurationValue'"

As next step I used same udev rule on Ubuntu 8.04 but without any luck - for some reason it doesn't work in Ubuntu.
More info from Ubuntu 8.04 box (lsmod, udevinfo and udevtest in attachment):

dmesg:
[ 473.753611] usb 2-1: new full speed USB device using ohci_hcd and address 3
[ 473.987653] usb 2-1: configuration #1 chosen from 1 choice
[ 473.993599] ti_usb_3410_5052: probe of 2-1:1.0 failed with error -5

uname -a:
Linux zakis 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 GNU/Linux

# This part is strange, as on Gentoo I can freely change that /sys%p value with "echo 2 >"
root@zakis:~# echo 2 > /sys/bus/usb/devices/usb2/2-1/bConfigurationValue
-su: echo: write error: Invalid argument

# As You can see, previous command was not successfull and also udev rule has failed.
root@zakis:~# cat /sys/bus/usb/devices/usb2/2-1/bConfigurationValue
1