g13gui/etc/91-g13.rules
June Tate-Gans b04a8d6152 udev: Match attributes correctly and trigger systemd unit
This starts to make g13d more automatic. Instead of requiring manual
intervention or automatic starts on system start, this will allow udevd to
automatically trigger g13d when a g13 is plugged in.

There's still a bug in g13d where if the device falls off the USB chain g13d
won't exit, though, but this is a good start.
2021-04-25 12:18:07 -05:00

2 lines
132 B
Plaintext

SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c21c", MODE="0660", TAG+="systemd", ENV{SYSTEMD_WANTS}="g13d.service"