Re: usb serial ports?



On Wed, 26 Apr 2006 13:00:38 -0700, Doug O'Leary wrote:

Is there a way to identify the serial device a particular usb port is
using? I can plug a thumbdrive into anyone of them and get the contents
so I know the usb is working.

I have one of these USB-DB9 adaptors too. Unfortunately, I'm
changing addresses and can't put my hands on it just now to give the
exact details, but here goes from memory.

Stuff on the web is stale; ignore it.

FC5 uses the "udev" facility to assign device names (/dev/foo) to
devices. There is a rule set in "/etc/udev/rules.d" that control the
assignments. All we need do is drop a NEW file in there with a
one-line command.

Here's how to find out what to add:

Open a terminal window and, as root:

# tail -f /var/log/messages

and then insert the USB-DB9 adaptor. Watch the message log to see
how the device gets identified. Then, using the hints from those
messages, add a new rule file into the "/etc/udev/rules.d" directory.

Sorry I can't give the exact details, but:

$ man udev

is a good start.

HTH
.