From 6dd6501c2affdd83a28aed3a36f0adbbb6ed3ed5 Mon Sep 17 00:00:00 2001 From: WillB97 Date: Mon, 5 Aug 2024 23:12:58 +0100 Subject: [PATCH] Reduce latency for FTDI chips to 1ms (default is 16ms) --- parts/robot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parts/robot.sh b/parts/robot.sh index 0aa8eb8..36701f9 100755 --- a/parts/robot.sh +++ b/parts/robot.sh @@ -52,6 +52,8 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="1bda", ATTRS{idProduct}=="0010", GROUP="$gro SUBSYSTEM=="tty", DRIVERS=="ftdi_sio", ATTRS{interface}=="MCV4B", GROUP="$group", MODE="0666" # SR servo board v4 SUBSYSTEM=="usb", ATTRS{idVendor}=="1bda", ATTRS{idProduct}=="0011", GROUP="$group", MODE="0666" +# Reduce latency for FTDI chips to 1ms (default is 16ms) +ACTION=="add", SUBSYSTEMS=="usb-serial", DRIVERS=="ftdi_sio", ATTR{latency_timer}="1" EOF # Setup KCH leds triggered by systemd