USB to Serial

andy baxter andy at earthsong.free-online.co.uk
Wed Jul 23 01:02:15 UTC 2008


Keith Clark wrote:
> Are there any drivers for a serial device connected to a usb port via a 
> converter cable available?
>
> Thanks,
>
> Keith
>
>
>   
try:

sudo ls /dev/ttyUSB*

this will give you a list of usb terminal devices (serial connections) 
available. Then supposing it shows ttyUSB0, you can do:

cat /dev/ttyUSB0       # to print text from the serial port.

and

cat > /dev/ttyUSB0    # to send text to the serial port.

What you do after that depends on what you want to do with the serial 
device you have connected. If you say a bit more about what it is and 
what you want to do with it, people might be able to help you more.

andy.




More information about the ubuntu-users mailing list