libftdi Archives

Subject: Re: FT232RL help

From: Eric Schott <eric@xxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 21 Sep 2017 10:59:54 -0400
On 09/20/2017 09:50 AM, Matwey V. Kornilov wrote:

2017-09-20 16:48 GMT+03:00 Nickolai Dobrynin <freelance@xxxxxxxxxxx>:
Hey guys,

I connect my serial device to a USB port through an FT232RL adapter, but the
standard ftdi_sio driver doesn't support it. On Windows, this device works
with a proprietary FTDI driver, but I really wouldn't want to use Windows or
install a proprietary driver on Linux.

What is your vendorid/deviceid pair? It may be read using lsusb
command line tool.
Probably ftdi_sio has your pair missed in its table.

Once you find the vendor/product pair, you can issue (as root), the command
    echo vvvv pppp > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
And you should be able to see the ttyUSBz appear in /dev.

See the Linux kernel file Documentation/usb/usb-serial.txt describes
the process.

FYI: The Linux kernel files drivers/usb/serial/ftdi_sio_ids.h and
drivers/usb/serial/ftdi_sio.c contain the IDs

I'm new to serial devices, so someone can please explain how to use your
library in my case.  And what does FTDI do differently that their stuff
works, and the standard Linux driver doesn't?

I'm sure that many people have the same question, so your help will be MUCH
appreciated.

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
Current Thread