Ensure volume service is restarted to find usb keyboards and joysticks as they are attached/detached.

This commit is contained in:
fewtarius 2022-09-05 09:11:17 -04:00
parent 2eed9ddffd
commit 2068ae16f1
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -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"