Skip to contentSkip to conversation

TI USB 3410 5052 for udev?

DISCUSSION Tudor Holton 3 participants 3 messages Nov 6, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I've been running a TI USB 5052 serial converter for about 6 months using hotplug. When I first tried, it would pick configuration 1 and then die when the converter requires configration 2. In order to get it to work I had to look at the kernel source and place the hotplug script the author had put in comments (in the file drivers/usb/serial/ti_usb_3410_5052.c) in the right place (/etc/hotplug/scripts/usb). After I did this, it worked.

Recently, in a debian upgrade I was told hotplug would be removed and replaced with udev. Now the script doesn't seem to work. It's gone back to dying after not getting a response to configuration 1.

Is there an easy way to convert hotplug scripts to udev ones? Or is there something I or the author is supposed to do to make it work with udev?

Cheers,
Tudor.

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 10 lines · Tudor Holton

Hello,

I've been running a TI USB 5052 serial converter for about 6 months using hotplug. When I first tried, it would pick configuration 1 and then die when the converter requires configration 2. In order to get it to work I had to look at the kernel source and place the hotplug script the author had put in comments (in the file drivers/usb/serial/ti_usb_3410_5052.c) in the right place (/etc/hotplug/scripts/usb). After I did this, it worked.

Quoted 6 lines

Recently, in a debian upgrade I was told hotplug would be removed and replaced with udev. Now the script doesn't seem to work. It's gone back to dying after not getting a response to configuration 1.

Is there an easy way to convert hotplug scripts to udev ones? Or is there something I or the author is supposed to do to make it work with udev?

To quote from the driver source:

* For questions or problems with this driver, contact Texas Instruments
* technical support, or Al Borchers <[email protected]>, or
* Peter Berger <[email protected]>.

Have you tried that first?

thanks,

greg k-h

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Tudor Holton
Quoted 1 line · Tudor Holton

Is there an easy way to convert hotplug scripts to udev ones? Or is

It should just work when run from a RUN rule like:

ACTION="add", KERNEL="ti_usb_3410_5052", \
	RUN="/etc/hotplug/usb/ti_usb_3410_5052"

If in doubt, add logging and check what is actually happening.

Signature · 13 lines
ciao,
Marco


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel