Valentin Sawadski

Usually if you connect a FTDI device to a Linux machine the FTDI driver in the Kernel recognises it and launches /dev/ttyUSB* so that you can have automatic UART output on the device.

This works with a huge lookup table in ftdi_sio.c which has a list of known FTDI devices. If your device is not in there here's how you get it working nevertheless:

# Remove the module if currently loaded
rmmod ftdi_sio

# Load with your additional custom device
modprobe ftdi_sio vendor=0x123 product=0xABC

Update

Newer versions of Linux don't accept the parameters anymore, so if dmesg shows the following messages

# dmesg | grep ftdi
ftdi_sio: unknown parameter 'vendor' ignored
ftdi_sio: unknown parameter 'product' ignored

try the following

modprobe ftdi_sio
echo "123 ABC" > /sys/bus/usb-serial/drivers/ftdi_sio/new_id


This work is licensed under a Creative Commons Attribution 4.0 International License. Hosted by GitHub. Impressum