|
usb to RS232 adapter installation problem on CentOs
//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.
[root@bmc-jiang /]# lsusb -t
Bus# 5
`-Dev# 1 Vendor 0x0000 Product 0x0000
|-Dev# 2 Vendor 0x413c Product 0x2105
`-Dev# 9 Vendor 0x04bb Product 0x0a0e
Bus# 4
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 3
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 2
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 1
`-Dev# 1 Vendor 0x0000 Product 0x0000
//after doing
modprobe pl2303
//the modules are loaded
[root@bmc-jiang /]# lsmod |grep pl
pl2303 21701 0
usbserial 33065 1 pl2303
// 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 08:10 PM.
|