# 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";
};