Using FTDI USB to serial converter in Linux - Ubuntu

I recently purchased an FTDI USB to serial converter - FT232RL. However I could not use it properly in Windows. With some googling, I could find a way to use it under linux. Following are the steps to be used in Ubuntu to get it working.

Open a terminal and type the following commands.

sudo modprobe ftdi_sio
sudo chmod 666 /sys/bus/usb-serial/drivers/ftdi_sio/new_id
nano /sys/bus/usb-serial/drivers/ftdi_sio/new_id

In the file that got opened, type 0403 8a8a and save it. The number can be found by typing lsusb in another terminal.
Now unplug and re-plug the module. Type 

ls /dev

and you should see /ttyUSB0 in the list. Now use some serial terminal (like screen) to view the data !
For opening a screen session, the following command is used. Here 115200 is the baud rate.

sudo screen /dev/ttyUSB0 115200

Comments

  1. hi,

    I have had the same problem that you. I havent found a FTDI driver for Windows that the PID is 8A8A. Do you know more about how I can resolve this problem?

    thank you.

    ReplyDelete
  2. Hi Rafael, I had the same issue and I mange to sort it out. email me chorta71 gmail

    ReplyDelete

Post a Comment

Popular posts from this blog

A simple guide to installing and using RTL-SDR and related software in Ubuntu

Some experiments with double balanced mixers and GNURadio

RECEIVING SSTV FROM ISS ! Steps involved in decoding when using MMSSTV ......