DFX_inspire_service/udev/99-inspire-hands.rules
2026-08-04 16:09:17 +04:00

13 lines
681 B
Plaintext

# Grant non-root (0666) access to the Inspire hand USB-RS485 adapters.
#
# Both adapters are QinHeng CH340 (1a86:7523) and report the SAME USB serial, so
# they can't be told apart by ID. We no longer pin per-port symlinks (they broke
# whenever the adapters moved to a hub / different USB ports). Instead we grant
# 0666 to ANY CH340 tty and let inspire_g1 open /dev/ttyUSB0 + /dev/ttyUSB1
# directly (the only ttyUSB on this box are the two hands). Port-independent —
# works no matter which USB/hub port they land on.
#
# If right/left come out swapped, swap serial1/serial2 in inspire_g1.cpp.
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="0666"