BeagleBone - usb to serial

Ask questions about Arch Linux ARM. Please search before making a new topic.

BeagleBone - usb to serial

Postby armlx » Tue Jul 03, 2012 10:16 pm

I´m having problems connectiong a UC232A USB to rs232 converter to my BBone; I beleive the driver is missing.
Does anybody knows a way to solve this problem or the package name for download ?

Thanks
armlx
 
Posts: 13
Joined: Mon May 28, 2012 10:54 pm

Re: BeagleBone - usb to serial

Postby karog » Wed Jul 04, 2012 12:44 am

$this->bbcode_second_pass_quote('armlx', 'I')´m having problems connectiong a UC232A USB to rs232 converter to my BBone; I beleive the driver is missing.
Does anybody knows a way to solve this problem or the package name for download ?

Thanks

Assuming it uses the PL-2303 chip as many do, in /etc/rc.conf look for the line starting with "MODULES=" and set as
$this->bbcode_second_pass_quote('', '
')MODULES=(usbserial pl2303)

then reboot. It should show up as /dev/ttyUSB0. This works on my POGO and might work for you.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: BeagleBone - usb to serial

Postby armlx » Wed Jul 04, 2012 8:44 pm

Thanks, since I chenged the file you specified and with <dmesg> I see the a reference to usb 1-1; also with <lsusb> I see it tehre but I can not find the name I should you like ttyUSB0 or other; do you know why ?
Thanks
armlx
 
Posts: 13
Joined: Mon May 28, 2012 10:54 pm

Re: BeagleBone - usb to serial

Postby karog » Wed Jul 04, 2012 9:53 pm

$this->bbcode_second_pass_quote('armlx', 'T')hanks, since I chenged the file you specified and with <dmesg> I see the a reference to usb 1-1; also with <lsusb> I see it tehre but I can not find the name I should you like ttyUSB0 or other; do you know why ?
Thanks

Is your UC232A plugged in? Maybe it needs to be connected to something at the other end too? (not sure about that).

You see what with lsusb? Show the output here. When I lsusb I get:
$this->bbcode_second_pass_code('', '
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 004: ID 0dc4:0000 Macpower Peripherals, Ltd
')
and that third line with PL2303 Serial Port is my device. Also show your output of cd /dev; ls tty*

Here is mine:
$this->bbcode_second_pass_code('', '
# cd /dev; ls tty*
tty tty14 tty20 tty27 tty33 tty4 tty46 tty52 tty59 tty8 ttyp5 ttypc
tty0 tty15 tty21 tty28 tty34 tty40 tty47 tty53 tty6 tty9 ttyp6 ttypd
tty1 tty16 tty22 tty29 tty35 tty41 tty48 tty54 tty60 ttyp0 ttyp7 ttype
tty10 tty17 tty23 tty3 tty36 tty42 tty49 tty55 tty61 ttyp1 ttyp8 ttypf
tty11 tty18 tty24 tty30 tty37 tty43 tty5 tty56 tty62 ttyp2 ttyp9 ttyS0
tty12 tty19 tty25 tty31 tty38 tty44 tty50 tty57 tty63 ttyp3 ttypa ttyS1
tty13 tty2 tty26 tty32 tty39 tty45 tty51 tty58 tty7 ttyp4 ttypb ttyUSB0
')

There is mine at the end; ttyUSB0

Finally, in dmesg output I have the adjacent lines
$this->bbcode_second_pass_code('', '
[Wed Jun 20 19:40:37 2012] USB Serial support registered for pl2303
[Wed Jun 20 19:40:37 2012] pl2303 1-1.1:1.0: pl2303 converter detected
[Wed Jun 20 19:40:37 2012] usb 1-1.1: pl2303 converter now attached to ttyUSB0
')
Note the last line there shows the ttyUSB0.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm
Top


Return to User Questions

Who is online

Users browsing this forum: No registered users and 5 guests