LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools Search this Thread
Old 06-19-2009, 02:44 AM   #1
tytusmail
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Thanked: 0
usb to RS232 adapter installation problem on CentOs


[Log in to get rid of this advertisement]
//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 09:10 PM..
tytusmail is offline  
Tag This Post , , ,
Reply With Quote
Old 06-28-2009, 08:58 PM   #2
tytusmail
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Thanked: 0

Original Poster
no reply

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
tytusmail is offline     Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rs232 to USB adapter sukumarvg Programming 2 05-28-2008 12:11 PM
rs232 to USB adapter devicedriver sukumarvg Linux - Kernel 1 05-28-2008 05:10 AM
SuSe9.3 D-Link USB adapter installation problem NS-Dol Suse/Novell 1 01-27-2006 01:09 PM
USB - Serial RS232 Adapter blox Linux - Hardware 3 01-28-2005 11:58 AM


All times are GMT -5. The time now is 06:33 PM.

Main Menu
My LQ
Write for LQ
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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration