Dear All,
I've attached a USB to serial converter on my laptop's USB port.
question is how do I find which serial port is assigned to my device ( the converter ) ??
Thanks & Regards
Jatin K <ssh.fedora <at> gmail.com> writes:
Dear All,
I've attached a USB to serial converter on my laptop's USB port.
question is how do I find which serial port is assigned to my device ( the converter ) ??
Thanks & Regards
Does it not tell you ? $ lsusb $ lsusb -v
JB
On Thursday 10 March 2011 03:03 PM, JB wrote:
Jatin K<ssh.fedora<at> gmail.com> writes:
Dear All,
I've attached a USB to serial converter on my laptop's USB port.
question is how do I find which serial port is assigned to my device ( the converter ) ??
Thanks& Regards
Does it not tell you ? $ lsusb $ lsusb -v
JB
here[1] is the output of lsusb -v ( when the converter is connected ) ...
after running lsusb -v I got the chip name which is CP210x Composite device on line number 98... but I'm not able to find which serial port is assigned to it or on which serial port I need to use to send the command to that device like com1, com2 and so on
is it possible for you to go through it and tell me the serial port assigned to my converter ??
[1] http://pastebin.mozilla.org/1143049
is it possible for you to go through it and tell me the serial port assigned to my converter ??
What you want is udevadm. I think something like "udevadm trigger" in dry-run mode with extra options to print all the properties will tell you what you want (I forget the exact complex command syntax).
Jatin K kirjoitti viestissään (lähetysaika torstai, 10. maaliskuuta 2011):
after running lsusb -v I got the chip name which is CP210x Composite device on line number 98... but I'm not able to find which serial port is assigned to it or on which serial port I need to use to send the command to that device like com1, com2 and so on
"com1" and "com2" are Windows port names and not relevant in Linux. If you have only one USB-serial converter, the device name should be /dev/ttyUSB0
is it possible for you to go through it and tell me the serial port assigned to my converter ??
No, it's not visible in lsusb output. Run the command "dmesg" immediately after plugging in the device.
On Thursday 10 March 2011 04:11 PM, Markku Kolkka wrote:
"com1" and "com2" are Windows port names and not relevant in Linux. If you have only one USB-serial converter, the device name should be /dev/ttyUSB0
is it possible
it is on line N0.98 (Cygnal Integrated Products, Inc. CP210x Composite Device)
what port is assigned to it ????
Following is the output of hwinfo
Bus 004 Device 003: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x10c4 Cygnal Integrated Products, Inc. idProduct 0xea60 CP210x Composite Device bcdDevice 1.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 2 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 ----------------------------------------------------------------------
On Thursday 10 March 2011 04:11 PM, Markku Kolkka wrote:
"com1" and "com2" are Windows port names and not relevant in Linux. If you have only one USB-serial converter, the device name should be /dev/ttyUSB0
if I connect it to my windows system
I can connect it using hyperterminal on com2
but I want to use Linux box to work with it
On 03/10/2011 04:22 AM, Jatin K wrote:
Dear All,
I've attached a USB to serial converter on my laptop's USB port.
question is how do I find which serial port is assigned to my device ( the converter ) ??
Thanks& Regards
dmesg | grep "/dev/tty"
On 03/10/2011 08:02 AM, Roger K. Wells wrote:
On 03/10/2011 04:22 AM, Jatin K wrote:
Dear All,
I've attached a USB to serial converter on my laptop's USB port.
question is how do I find which serial port is assigned to my device ( the converter ) ??
Thanks& Regards
dmesg | grep "/dev/tty"
oops dmesg | grep tty sorry