Add devd rule for a Logitech gamepad.

Submitted by:   Rozhuk Ivan <rozhuk...@gmail.com>
Approved by:

--HPS
Index: Makefile
===================================================================
--- Makefile	(revision 487368)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	webcamd
 PORTVERSION=	4.20.0.1
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.selasky.org/hans_petter/distfiles/ \
 		http://home.selasky.org/distfiles/
Index: files/webcamd.conf.in
===================================================================
--- files/webcamd.conf.in	(revision 487365)
+++ files/webcamd.conf.in	(working copy)
@@ -51,3 +51,20 @@
 
 	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";
+
+	match "intclass"	"0x03";
+	match "intsubclass"	"0x00";
+	match "intprotocol"	"0x00";
+
+	action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
+};
+
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to