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:
45
commands/devmand/devmand.cfg
Normal file
45
commands/devmand/devmand.cfg
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user