mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
eeb9575599
Submitted by: Rozhuk Ivan <rozhuk.im@gmail.com> Approved by: pi@
67 lines
1.4 KiB
Plaintext
67 lines
1.4 KiB
Plaintext
# Generic USB video devices.
|
|
notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "INTERFACE";
|
|
match "type" "ATTACH";
|
|
match "intclass" "0x0e";
|
|
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev";
|
|
};
|
|
|
|
# Vendor specific USB webcams and DVB devices.
|
|
notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "INTERFACE";
|
|
match "type" "ATTACH";
|
|
match "intclass" "0xff";
|
|
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev";
|
|
};
|
|
|
|
# Unspecified USB webcams and DVB devices.
|
|
notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "INTERFACE";
|
|
match "type" "ATTACH";
|
|
match "intclass" "0x00";
|
|
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev";
|
|
};
|
|
|
|
# Generic USB input devices.
|
|
notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "INTERFACE";
|
|
match "type" "ATTACH";
|
|
match "intclass" "0x03";
|
|
#
|
|
# Limit HID device attach to Wacom Devices
|
|
# else webcamd might attach to your keyboard
|
|
# and mouse
|
|
#
|
|
match "vendor" "0x056a";
|
|
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
|
|
};
|
|
|
|
# Elantech touchscreen
|
|
notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "INTERFACE";
|
|
match "type" "ATTACH";
|
|
|
|
match "vendor" "0x04f3";
|
|
match "product" "0x2071";
|
|
|
|
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
|
|
};
|
|
|
|
# Logitech gamepad
|
|
notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "INTERFACE";
|
|
match "type" "ATTACH";
|
|
|
|
match "vendor" "0x046d";
|
|
match "product" "0xc216|0xc219";
|
|
|
|
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
|
|
};
|
|
|