Thread
:
Autorun script when plugging in usb keyboard with udev
View Single Post
fido
2006-04-01 , 21:54
Posts: 5 | Thanked: 2 times | Joined on Jan 2006
#
1
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:
Code:
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
Quote & Reply
|
The Following User Says Thank You to fido For This Useful Post:
fido
View Public Profile
Send a private message to fido
Find all posts by fido