USB Serial Adapter

Discuss peripherals for the XO and power management.

USB Serial Adapter

Postby phiggins » Tue Jan 22, 2008 7:38 am

I'm having trouble getting a USB to Serial adapter working. I tried two that I had and they didn't work so I went and bought a new one ([FONT=Arial]Dynex (Best Buy private label) DX-UBDB9) [/FONT]that was recommended as on that works with the XO.

and it didn't work either. When I run a program that is suppose to let me choose a serial adapter to use, nothing shows up in the list.

Here are some diagnostics:

1. Cleared dmesg then plugged in the adapter and did a dmesg:
[ 1053.618277] hub_port_wait_reset: portstatus=501 portchange=10
[ 1053.677768] hub_port_wait_reset: portstatus=100 portchange=1
[ 1053.677795] hub_port_wait_reset: device went away!
[ 1053.917961] hub_port_wait_reset: portstatus=103 portchange=10
[ 1053.975088] usb 2-2: new full speed USB device using ohci_hcd and address 3
[ 1054.055149] hub_port_wait_reset: portstatus=103 portchange=10
[ 1054.155255] PM: Adding info for usb:2-2
[ 1054.155556] PM: Adding info for No Bus:usbdev2.3_ep00
[ 1054.155673] usb 2-2: configuration #1 chosen from 1 choice
[ 1054.157242] PM: Adding info for usb:2-2:1.0
[ 1054.157482] pl2303 2-2:1.0: pl2303 converter detected
[ 1054.157544] PM: Adding info for usb-serial:ttyUSB0
[ 1054.157730] PM: Adding info for No Bus:ttyUSB0
[ 1054.157805] usb 2-2: pl2303 converter now attached to ttyUSB0
[ 1054.157922] PM: Adding info for No Bus:usbdev2.3_ep81
[ 1054.158200] PM: Adding info for No Bus:usbdev2.3_ep02
[ 1054.158347] PM: Adding info for No Bus:usbdev2.3_ep83

then did a ls -l /dev/ttyUSB0:
crw-rw---- 1 root uucp 188, 0 Jan 22 06:04 /dev/ttyUSB0

Any suggestions as what may be wrong?

Thanks

Paul
Paul
phiggins
 
Posts: 7
Joined: Tue Jan 22, 2008 8:01 am

Re: USB Serial Adapter

Postby phiggins » Sun Jan 27, 2008 9:11 am

I found my problem. The program I'm using Navgator Mariner is written in Java and I had to create this file:
home/olpc/Mariner/jre/linux/lib/ext/gnu.io.rxtx.properties
then put this statement in it:
gnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyUSB1:


Paul
Paul
phiggins
 
Posts: 7
Joined: Tue Jan 22, 2008 8:01 am

Re: USB Serial Adapter

Postby rmyers » Mon Jan 28, 2008 7:17 pm

Paul,

I'm glad you got the USB adapter working. I'm the person that recommended it on the wiki. Funny thing, the application I needed it for is also a Java app and requires rxtx.

Bob
rmyers
 
Posts: 4
Joined: Mon Jan 28, 2008 7:12 pm
Location: Evanston, IL

Re: USB Serial Adapter

Postby Newbie2 » Fri Feb 01, 2008 6:28 pm

Sirs,
I received my OLPC yesterday.
The unit appears to function in all areas except:
The 3 USB ports do not appear to work. 3 different USB sitcks were use in all 3 USB ports and none
showed up on the Journal bottom of the page menu.
The SD slot did mount and read the 256mg card and the icon appeared on the Journal bar as described in
"getting started".
Is this a hardware problem that will require an RMA?
Please advise if this is the correct forum.
thanks
newbie2 in the mysterious world of linux be gentle.
information will be free
Newbie2
 
Posts: 7
Joined: Fri Feb 01, 2008 6:20 pm

Re: USB Serial Adapter

Postby tpike » Sat Feb 02, 2008 10:58 pm

Just a thought. Try another USB device to check the ports (something like a usb mouse or keyboard). There might be a reason your usb drives aren't showing up in the journal (more like explanation). Tom
tpike
 
Posts: 13
Joined: Tue Jan 22, 2008 7:31 pm

Re: USB Serial Adapter

Postby Newbie2 » Mon Feb 04, 2008 9:21 am

NO help the ports do not seem to "recognize" any USB device plugged into them.
thanks
newbie2
information will be free
Newbie2
 
Posts: 7
Joined: Fri Feb 01, 2008 6:20 pm

Re: USB Serial Adapter

Postby Newbie2 » Tue Feb 05, 2008 7:48 pm

Thanks for the help,
I discovered the USB was write protected.
Once un-protected it works. however the 2 others still do not work
I have read of other mount problems with specific brands of USB stick and
needing to be FAT32 formated on other threads.
information will be free
Newbie2
 
Posts: 7
Joined: Fri Feb 01, 2008 6:20 pm


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest