fido
2006-04-01, 21:54
Hi!
I'm experimenting with udev, so that for example the display won't be dimmed when a usb keyboard is plugged in.
Dim time can be set with gconftool-2 bla..
And I have written an udev rule (very general at the moment) for an usb keyboard:
/etc/udev/udev.rules:
BUS=="usb", SUBSYSTEM=="input", RUN+="/etc/udev/usbhid.hotplug"
The script is called, when a usb keyboard is plugged in, but not when it is unplugged. Does anyone know, why there is no "remove" event?
Hermann
I'm experimenting with udev, so that for example the display won't be dimmed when a usb keyboard is plugged in.
Dim time can be set with gconftool-2 bla..
And I have written an udev rule (very general at the moment) for an usb keyboard:
/etc/udev/udev.rules:
BUS=="usb", SUBSYSTEM=="input", RUN+="/etc/udev/usbhid.hotplug"
The script is called, when a usb keyboard is plugged in, but not when it is unplugged. Does anyone know, why there is no "remove" event?
Hermann