Ensure volume service is restarted to find usb keyboards and joysticks as they are attached/detached.
This commit is contained in:
parent
2eed9ddffd
commit
2068ae16f1
1 changed files with 6 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
### Restart the volume service whenever a USB device is attached
|
||||
### or detached so brightness and volume work across connected
|
||||
### devices.
|
||||
|
||||
ACTION=="add", SUBSYSTEM=="usb", RUN+="/usr/bin/systemctl restart volume"
|
||||
ACTION=="remove", SUBSYSTEM=="usb", RUN+="/usr/bin/systemctl restart volume"
|
Loading…
Reference in a new issue