LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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

Reply
 
Search this Thread
Old 06-19-2009, 01:44 AM   #1
tytusmail
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
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.
 
Old 06-28-2009, 07:58 PM   #2
tytusmail
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 03-04-2010, 10:41 AM   #3
tetrode
LQ Newbie
 
Registered: Feb 2009
Location: TN
Distribution: Ubuntu 8.40/SUSE 11.1
Posts: 2

Rep: Reputation: 0
Could you share what USB to RS232 adapter worked correctly for you? I have a similar problem using a Tripp-lite U209-000-R
 
Old 03-23-2010, 07:43 PM   #4
tytusmail
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

it was this one
USB-2COMb
http://www.visionsystems.de/produkte/615.html

as written on the page:
Drivers for Linux (Kernel 2.4 and up built-in)
 
Old 03-24-2010, 07:26 PM   #5
tetrode
LQ Newbie
 
Registered: Feb 2009
Location: TN
Distribution: Ubuntu 8.40/SUSE 11.1
Posts: 2

Rep: Reputation: 0
Wink

Thank you. We were able to get the Tripplite unit working so it was a configuration problem (not solved by me however).
 
  


Reply

Tags
adapter, rs232, serial, usb


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 11:11 AM
rs232 to USB adapter devicedriver sukumarvg Linux - Kernel 1 05-28-2008 04:10 AM
SuSe9.3 D-Link USB adapter installation problem NS-Dol Suse/Novell 1 01-27-2006 12:09 PM
USB - Serial RS232 Adapter blox Linux - Hardware 3 01-28-2005 10:58 AM


All times are GMT -5. The time now is 03:51 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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration