You are not logged in.

#1 2008-02-22 20:53:06

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

How to get a USB-Serial connector working

I have a laptop with only USB ports, I'm trying to get a USB Serial connector working. I can't find a good guide on how to do it, I can figure out that i need to enable some sort of kernel options, but I'm not sure about how to go about doing it. Can someone hold my hand and tell me what I need to do to get it working?
Thanks


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#2 2008-02-23 17:29:48

gorn
Member
Registered: 2008-02-01
Posts: 56

Re: How to get a USB-Serial connector working

It depends on what kind of USB->Serial you have. Some common ones are:

cp2101
ftdi_sio
pl2303

And those kernel modules are all included with Arch (along with lots more).

I'd start by just plugging it in and running dmesg to see if your kernel/udev detected it. If you see something about ttyUSB0 then you got it. Just open that device as you would open a normal serial port.

If it doesn't report anything, run lsusb and see what kind of chip it has.

If it does report it, I would use minicom to interact with it.
(Run "minicom -s" as root and set the device to /dev/ttyUSB0, baud to 9600 (or whatever) 8N1. Turn off Hardware and Software flow control. Finally go into Modem and Dialing and delete the init line (unless you are actually dialing)).

Offline

#3 2008-02-23 19:37:42

kiguru
Member
Registered: 2007-11-27
Posts: 31

Re: How to get a USB-Serial connector working

gorn i have some serial to usb related issue.take a look at thread below maybe you could solve it

http://bbs.archlinux.org/viewtopic.php?pid=334229

Offline

#4 2008-02-23 19:43:10

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: How to get a USB-Serial connector working

@gorn: thanks for that. Turns out that I was just looking at the wrong device: I was looking at the normal USB devices. Everything works like a charm now.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

Board footer

Powered by FluxBB