HOw to determine correct serial port
Charles Curley
charlescurley at charlescurley.com
Thu Mar 29 14:21:39 UTC 2007
On Thu, Mar 29, 2007 at 08:53:32AM -0400, Mark Haney wrote:
> I've got a USB to Serial port adapter and for the life of me I can't
> find the right port for it. I want to be able to use the adapter in
> linux to communicate with some Cisco devices we have so that I don't
> have to boot to Windows.
>
> Any ideas?
"ls /dev/tty*" should show one or more devices with "USB" in the name,
e.g. '/dev/ttyUSB0". That should be the device you want. You must have
the serial adapter installed for the device to be there.
You might also look at /var/log/messages immediately after plugging in
the adapter to see what the kernel made of it. Mine shows, e.g.:
Mar 29 07:54:47 dragon kernel: usb 2-2: new full speed USB device using uhci_hcd and address 2
Mar 29 07:54:47 dragon kernel: usb 2-2: configuration #1 chosen from 1 choice
Mar 29 07:54:48 dragon kernel: usbcore: registered new interface driver usbserial
Mar 29 07:54:48 dragon kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Mar 29 07:54:48 dragon kernel: usbcore: registered new interface driver usbserial_generic
Mar 29 07:54:48 dragon kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Mar 29 07:54:48 dragon kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
Mar 29 07:54:48 dragon kernel: pl2303 2-2:1.0: pl2303 converter detected
Mar 29 07:54:48 dragon kernel: usb 2-2: pl2303 converter now attached to ttyUSB0
Mar 29 07:54:48 dragon kernel: usbcore: registered new interface driver pl2303
Mar 29 07:54:48 dragon kernel: drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070329/e2848b06/attachment-0001.sig>
More information about the fedora-list
mailing list