usb to RS232 adapter installation problem on CentOs
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
//I'm trying to use a
I-O DATA RS-232C
USB to RS-232 9 pin Conversion Adapter
vendor IODATA 0x04bb I-O Data
product IODATA USBRSAQ5 0x0a0e USB serial adapter USB-RSAQ5
//And I can't get it working.
//Please help me if you can.
//my system:
//CentOs 5.2
[root@bmc-jiang /]# uname -a
Linux bmc-jiang 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:30:27 EST 2008 i686 i686 i386 GNU/Linux
// the device appears in the list below after being plugged in
[root@bmc-jiang /]# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000 Bus 005 Device 007: ID 04bb:0a0e I-O Data Device, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 005 Device 002: ID 413c:2105 Dell Computer Corp.
// however the port ttyUSB0 doesn't appear
[root@bmc-jiang /]# dmesg |grep tty
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
// there should be a line saying that the driver is attached to a particular port but I cannot see it.
[root@bmc-jiang wojtara]# dmesg |grep pl
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
SELinux: Completing initialization.
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
//no port name ttyUSB0 and even I make it myself with
mknod c /dev/ttyUSB0 c 188 0
// is doesnt help to solve the probelem
[root@bmc-jiang /]# ls /dev/ttyUSB*
/bin/ls: /dev/ttyUSB*: No such file or directory
[root@bmc-jiang /]# ls /dev/ttyS*
/dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3
// some device names are being created but they are of no use and I dont know what to do with them
[root@bmc-jiang /]# ls /dev/*usb*
/dev/usbdev1.1_ep00 /dev/usbdev3.1_ep00 /dev/usbdev5.1_ep00 /dev/usbdev5.7_ep00
/dev/usbdev1.1_ep81 /dev/usbdev3.1_ep81 /dev/usbdev5.1_ep81 /dev/usbdev5.7_ep02
/dev/usbdev2.1_ep00 /dev/usbdev4.1_ep00 /dev/usbdev5.2_ep00 /dev/usbdev5.7_ep81
/dev/usbdev2.1_ep81 /dev/usbdev4.1_ep81 /dev/usbdev5.2_ep81 /dev/usbdev5.7_ep83
-----------------------------------
// when I unplug the USB-serial converter
// I can see that the system reacts to it too.
[root@bmc-jiang /]# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 005 Device 002: ID 413c:2105 Dell Computer Corp.
// some device names disappear after unpluging
[root@bmc-jiang /]# ls /dev/*usb*
/dev/usbdev1.1_ep00 /dev/usbdev2.1_ep81 /dev/usbdev4.1_ep00 /dev/usbdev5.1_ep81
/dev/usbdev1.1_ep81 /dev/usbdev3.1_ep00 /dev/usbdev4.1_ep81 /dev/usbdev5.2_ep00
/dev/usbdev2.1_ep00 /dev/usbdev3.1_ep81 /dev/usbdev5.1_ep00 /dev/usbdev5.2_ep81
// I suspect that the vendor name is not recognized by the modules and that's why the modules do not do their job,
// however I dont know how to tell the modules to deal with this vendor name etc.
Tytus
Last edited by tytusmail; 06-22-2009 at 09:10 PM..
I see my question was too difficult.
Anyhow I solved the problem in the way that I havent solved it at all and I have bought an adapter from a different vendor and it works without any problems. After I plug it in I get /dev/ttyUSB0. No problems at all. I still would like to know why the other one havent worked but I was not able to find it out myself so if anyone knows please drop a line on this forum please.
T
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.