USB Driver for device

Post Reply
Posts: 48
Joined: Fri Jun 30, 2017 3:32 pm
languages_spoken: english
ODROIDs: xu4

USB Driver for device

Unread post by gekoch » Wed May 16, 2018 2:12 pm

I have an FTDI Chip for converting a TTL signal to USB for reading in a python application.
However it is really slow so I can't reach a higher transfer rate of around 6kB/s. The FTDI chip should
be capable of doing 1M.
So i dig ariund the Internet and found setserial command.
I tryed to read the IRQ etc. with setserial however there is no IRQ set:

Code: Select all

/dev/ttyUSB0, UART: unknown, Port: 0x0000, IRQ: 0, Flags: low_latency 
with the dmesg command I can see that the FTDI chip is recognized

Code: Select all

[ 1526.557077] usb 2-1: new full-speed USB device number 10 using exynos-ohci
[ 1526.789135] usb 2-1: New USB device found, idVendor=0403, idProduct=6015
[ 1526.789142] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1526.789147] usb 2-1: Product: FT231X USB UART
[ 1526.789152] usb 2-1: Manufacturer: FTDI
[ 1526.789157] usb 2-1: SerialNumber: DN01DZ5L
[ 1526.795209] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[ 1526.795289] usb 2-1: Detected FT-X
[ 1526.799227] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
When I try to rund the script on a Windows machine I get the anticipated transfer rate...

Do I need to configure this FTDI chip further on a linux machine? (Ubuntu 16)


User avatar
Site Admin
Posts: 29380
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English

Re: USB Driver for device

Unread post by odroid » Wed May 16, 2018 2:23 pm

What happens if you use "minicom" with the FTDI device?
I believe 1Mbps or 3Mbps must be possible on Linux.

BTW, which Kernel version do you use now?
The latest version must be 4.14.40.
Otherwise, update the kernel first with the following instruction. ... st-upgrade

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 2 guests