Upgrade libddekit and introduce devmand.

Devmand (Device manager daemon) is the daemon that will
dynamically manage services based on events received from
the system.
This commit is contained in:
Kees Jongenburger
2012-06-05 09:43:18 +00:00
parent 6b8821515d
commit ade7dc8ded
16 changed files with 1219 additions and 61 deletions

View File

@@ -0,0 +1,45 @@
usb_driver usb_storage
{
binary = /usr/sbin/usb_storage;
id {
bInterfaceClass = 0x08;
}
devprefix = usbstor;
upscript = /etc/devmand/scripts/block;
downscript = /etc/devmand/scripts/block;
}
usb_driver usb_keyboard
{
binary = /usr/sbin/usb_hid;
id {
bInterfaceClass = 0x3;
bInterfaceProtocol = 0x1;
}
upscript = /etc/devmand/scripts/singlechar;
downscript = /etc/devmand/scripts/singlechar;
devprefix = usb_keyboard;
}
usb_driver usb_mouse
{
binary = /usr/sbin/usb_hid;
id {
bInterfaceClass = 0x3;
bInterfaceProtocol = 0x2;
}
upscript = /etc/devmand/scripts/singlechar;
downscript = /etc/devmand/scripts/singlechar;
devprefix = usb_mouse;
}
usb_driver usb_hid
{
binary = /usr/sbin/usb_hid;
id {
bInterfaceClass = 0x3;
}
upscript = /etc/devmand/scripts/singlechar;
downscript = /etc/devmand/scripts/singlechar;
devprefix = usb_keyboard;
}