distribution/packages/sysutils/system-utils/udev.d/99-volume.rules

7 lines
407 B
Text

### Restart the volume service whenever a USB device is attached
### or detached so brightness and volume work across connected
### devices.
ACTION=="add|change", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense"
ACTION=="remove", SUBSYSTEM=="input", KERNEL=="event*", RUN+="/usr/bin/killall volume_sense"
ACTION=="add|change", KERNEL=="hci*", RUN+="/usr/bin/killall volume_sense"