aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2018-12-13 22:49:16 +0800
committerhselasky <hselasky@FreeBSD.org>2018-12-13 22:49:16 +0800
commit1ff5b6bbbf18c1840cfd83e57d12fd0d9137b1ae (patch)
treedb50f6ae3e768c2a49665524f3b0baf04c225f85 /multimedia
parentafcba6295f5e1808f2299db45eda7ce0cc5cd045 (diff)
downloadfreebsd-ports-gnome-1ff5b6bbbf18c1840cfd83e57d12fd0d9137b1ae.tar.gz
freebsd-ports-gnome-1ff5b6bbbf18c1840cfd83e57d12fd0d9137b1ae.tar.zst
freebsd-ports-gnome-1ff5b6bbbf18c1840cfd83e57d12fd0d9137b1ae.zip
Add devd rule for a Logitech gamepad.
Submitted by: Rozhuk Ivan <rozhuk.im@gmail.com> Approved by: pi@
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/webcamd/Makefile1
-rw-r--r--multimedia/webcamd/files/webcamd.conf.in17
2 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/webcamd/Makefile b/multimedia/webcamd/Makefile
index 84a5c662b4eb..80aa4fd7be2f 100644
--- a/multimedia/webcamd/Makefile
+++ b/multimedia/webcamd/Makefile
@@ -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/
diff --git a/multimedia/webcamd/files/webcamd.conf.in b/multimedia/webcamd/files/webcamd.conf.in
index b9a05db3b03d..ae1cf86c5774 100644
--- a/multimedia/webcamd/files/webcamd.conf.in
+++ b/multimedia/webcamd/files/webcamd.conf.in
@@ -51,3 +51,20 @@ notify 100 {
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";
+};
+