void-packages/srcpkgs/pbbuttonsd/files/85-pbbuttonsd.rules
q66 d9cc3b4898 New package: pbbuttonsd-0.8.1a
This is a daemon that allows functionality such as keyboard
backlight and media keys in general to work on Apple PowerPC
laptops.
2020-02-09 03:10:17 +01:00

6 lines
281 B
Text

# Send pbbuttonsd a HUP signal if a new event device is connected
ACTION=="add", KERNEL=="event[0-9]*", RUN+="/bin/sh -c 'kill -HUP $$(pidof pbbuttonsd)'"
# load i2c-dev module so pbbuttonsd keyboard backlight works
ACTION=="add", SUBSYSTEM=="i2c", RUN+="/sbin/modprobe i2c-dev"