Udev rules cover most (all?) of the mounted devices now and README reflects this.

This commit is contained in:
Ben Blumer 2024-01-20 12:28:09 -08:00
parent b77e27de08
commit d00bac851d
2 changed files with 22 additions and 4 deletions

View file

@ -1 +1,15 @@
SUBSYSTEMS=="usb", ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0424", GROUP="input", MODE="0666"
# Rule for USB devices
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="3318", ATTR{idProduct}=="0424|0428|0432", GROUP="plugdev"
# Rule for Input devices (such as eventX)
SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0424|0428|0432", GROUP="plugdev"
# Rule for Sound devices (pcmCxDx and controlCx)
SUBSYSTEM=="sound", KERNEL=="pcmC[0-9]D[0-9]p", ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0424|0428|0432", GROUP="plugdev"
SUBSYSTEM=="sound", KERNEL=="controlC[0-9]", ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0424|0428|0432", GROUP="plugdev"
# Rule for HID Devices (hidraw)
SUBSYSTEM=="hidraw", KERNEL=="hidraw[0-9]*", ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0424|0428|0432", GROUP="plugdev"
# Rule for HID Devices (hiddev)
KERNEL=="hiddev[0-9]*", SUBSYSTEM=="usb", ATTRS{idVendor}=="3318", ATTRS{idProduct}=="0424|0428|0432", GROUP="plugdev"