Difference between revisions of "FTDI Linux USB latency"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Created page with "= FTDI Linux USB latency = By default, FTDI chip introduces 16 ms delay to reading from a USB port. In practice this means, that SimpleMotion update rate stays too low. Lates...")
 
Line 2: Line 2:
 
By default, FTDI chip introduces 16 ms delay to reading from a USB port. In practice this means, that SimpleMotion update rate stays too low.
 
By default, FTDI chip introduces 16 ms delay to reading from a USB port. In practice this means, that SimpleMotion update rate stays too low.
  
Latest version of the SimpleMotion library tries to change this automatically. However, due to permissions etc. it might be requires to do this manually.
+
Latest version of the SimpleMotion library tries to change this automatically. However, due to permissions etc. it might be required to do this manually.
  
 
== USB latency setting ==
 
== USB latency setting ==

Revision as of 09:52, 25 July 2018

FTDI Linux USB latency

By default, FTDI chip introduces 16 ms delay to reading from a USB port. In practice this means, that SimpleMotion update rate stays too low.

Latest version of the SimpleMotion library tries to change this automatically. However, due to permissions etc. it might be required to do this manually.

USB latency setting

Check "/sys/bus/usb-serial/devices/ttyUSB0/latency_timer" and change the value to 1.

This can be done with e.g. the following terminal command with administrator permissions:

echo 1 > /sys/bus/usb-serial/devices/ttyUSB0/latency_timer