1
0
mirror of https://github.com/wfjm/w11.git synced 2026-04-25 03:45:42 +00:00
Files
wfjm.w11/tools/sys/91-retro-usb-latency.rules
wfjm c4f33e1c9d Update USB serial latency handling
- 99-retro-usb-permissions.rules renamed to 90-retro-usb-permissions.rules
- 91-retro-usb-latency.rules: udev rule to enforce low latency for FDTI USB UART
- 92-retro-usb-persistent.rules: udev rule for persistent device names
- Note:
  - for all FTDI USB-UART it is essential to set them to `low latency` mode.
    That was default for linux kernels 2.6.32 to 4.4.52. Since about March
    2017 one gets kernels with 16 ms default latency again, thanks to
    kernel patch 9589541. For newer systems it is essential to install the
    udev rule which automatically sets low latency.
2017-06-03 16:23:55 +02:00

17 lines
707 B
Plaintext

# $Id: 91-retro-usb-latency.rules 902 2017-06-03 14:02:17Z mueller $
#
# udev rules to set FTDI USB-serial adaptors to low latency mode
#
# copy into /etc/udev/rules.d
#
# Notes:
# - prior to linux 2.6.32 the default was the built in 16 ms device latency
# - from linux 2.6.32 till 4.4 patch 9589541 low latency (1 ms) was the default
# - the patch https://patchwork.kernel.org/patch/9589541/ reverted this
# - the entered the 4.4.52 and higher kernel lines under the changelog heading
# USB: serial: ftdi_sio: fix extreme low-latency setting
# - this rule ensures that low (1ms) latency is used
#
ACTION=="add", SUBSYSTEM=="tty", DRIVERS=="ftdi_sio", RUN+="/bin/setserial /dev/$kernel low_latency"
#