Differenciate Multiple USB Ports
Bob Chiodini
rchiodin at bellsouth.net
Mon Aug 8 12:07:51 UTC 2005
On Mon, 2005-08-08 at 17:03 +0530, kanhu wrote:
> Hi all,
>
> Can anybody help me on how to differenciate multiple usb ports on a
> system running fedora core 3.
> Is there any commands available to know this.
> ls -all /dev/ttyUSB shows me
>
> ttyUSB0 ttyUSB10 ttyUSB12 ttyUSB14 ttyUSB2 ttyUSB4 ttyUSB6
> ttyUSB8
> ttyUSB1 ttyUSB11 ttyUSB13 ttyUSB15 ttyUSB3 ttyUSB5 ttyUSB7
> ttyUSB9
>
> Currently I am using only one USB port for my mouse.
> I have pluged in the Usb-To-Serial converter on one of my USB PORT, And
> try to configure it by minicom -s
> it shows me
>
> minicom: cannot open /dev/ttyUSB0: No such device or address
>
> I have tried it for USB0,USB1,USB2.......
>
> Any Idea to proceed is welcome
>
>
> With Thanks & Regards
> Kanhu
>
Does /var/log/messages help to define the device? I have a 4 port
keyspan USB to RS-232 converter and I get the following when I plug in
the device:
Aug 8 08:02:33 tweedy kernel: usb 1-4.4: new full speed USB device using ehci_hcd and address 7
Aug 8 08:02:33 tweedy kernel: keyspan 1-4.4:1.0: Keyspan - (without firmware) converter detected
Aug 8 08:02:33 tweedy kernel: usb 1-4.4: USB disconnect, address 7
Aug 8 08:02:33 tweedy kernel: keyspan 1-4.4:1.0: device disconnected
Aug 8 08:02:34 tweedy kernel: usb 1-4.4: new full speed USB device using ehci_hcd and address 8
Aug 8 08:02:34 tweedy kernel: usb 1-4.4: configuration #1 chosen from 4 choices
Aug 8 08:02:34 tweedy kernel: keyspan 1-4.4:1.0: Keyspan 4 port adapter converter detected
Aug 8 08:02:34 tweedy kernel: usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB0
Aug 8 08:02:34 tweedy kernel: usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB1
Aug 8 08:02:34 tweedy kernel: usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB2
Aug 8 08:02:34 tweedy kernel: usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB3
Aug 8 08:02:34 tweedy usb.agent[23799]: Keeping default configuration with /sys//devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.4
In my case port 1 of the device is ttyUSB0 followed by the others.
dmesg, likewise gives the following:
usb 1-4.4: new full speed USB device using ehci_hcd and address 8
usb 1-4.4: configuration #1 chosen from 4 choices
keyspan 1-4.4:1.0: Keyspan 4 port adapter converter detected
usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB0
usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB1
usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB2
usb 1-4.4: Keyspan 4 port adapter converter now attached to ttyUSB3
Bob...
More information about the fedora-list
mailing list