FTDI Linux USB latency

From Granite Devices Knowledge Wiki
Revision as of 09:52, 25 July 2018 by Esa (Talk | contribs)


Jump to: navigation, search

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



In no event the Product Information or parts hereof shall be regarded as guarantee of conditions or characteristics. The Product Information or any part thereof may also not be regarded as a warranty of any kind. No liability of any kind shall be assumed by Author with respect to Product Information or any use made by you thereof, nor shall Author indemnify you against or be liable for any third party claims with respect to such information or any use thereof.

As content of this Wiki may be edited by user community, Granite Devices Oy or it's affiliates do not take any responsibility of the contents of this Wiki. Use information at your own risk. However, Granite Devices staff attempts to review all changes made to this Wiki and keep information trustworthy.

Without written consent, Granite Devices' Products or Intellectual Property shall not be used in situations or installations where living beings, material property, or immaterial property could be harmed by the operation, features or failures of Product. Products may only be used in a way where hazards like moving parts, electric shock, laser radiation, or fire can't be realized even if the content of this Wiki would suggest otherwise.