https://github.com/iqrok/udev-ftdi-latency-timer
https://github.com/iqrok/udev-ftdi-latency-timer
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iqrok/udev-ftdi-latency-timer
- Owner: iqrok
- License: mit
- Created: 2022-12-13T06:13:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T06:28:35.000Z (over 2 years ago)
- Last Synced: 2025-01-29T04:28:39.218Z (4 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# FTDI Latency Timer udev rule
By default, [FTDI chip set latency timer to 16 ms](https://www.ftdichip.com/Support/Knowledgebase/index.html?settingacustomdefaultlaten.htm). Sometime, this default value will disturb the serial communication especially when we're using high baud rate, i.e. 460800 bps.
This udev rule will set the latency timer to lower value (1ms) or any number between 0 - 255.
# Usage
```bash
$ ./install.sh -h
install.sh [OPTIONS] -- create udev rules for FTDI latency timerOPTIONS:
-h, --help show this help
-d, --delay delay to write into FTDI latency timer in ms [default=1].EXAMPLES:
install.sh
install.sh --delay 5```