mirror of
https://github.com/wfjm/w11.git
synced 2026-04-30 21:49:43 +00:00
- 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.
18 lines
783 B
Plaintext
18 lines
783 B
Plaintext
# $Id: 92-retro-usb-persistent.rules 902 2017-06-03 14:02:17Z mueller $
|
|
#
|
|
# udev rules to create persistent names for Digilent FT2232C style FPGA boards
|
|
#
|
|
# copy into /etc/udev/rules.d
|
|
#
|
|
# Notes:
|
|
# - the FT2232C has two interfaces, 1st: JTAG, 2nd: UART
|
|
# - the persistent name points to the 2nd, the USB UART
|
|
# - the rule uses ENV{} and not ATTRS{} because The serial number and the
|
|
# interface number are properties of different device layers and multiple
|
|
# ATTRS{} must match in one layer
|
|
#
|
|
# NOTE: this is an example, adopt ID_SERIAL_SHORT to your needs
|
|
#
|
|
# - Digilent nexys4 board ------------------------------------------------
|
|
SUBSYSTEM=="tty", ENV{ID_USB_INTERFACE_NUM}=="01", ENV{ID_MODEL}=="Digilent_USB_Device", ENV{ID_SERIAL_SHORT}=="210274628291", SYMLINK="fpga_n4"
|