This is a daemon that allows functionality such as keyboard backlight and media keys in general to work on Apple PowerPC laptops.
6 lines
281 B
Text
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"
|