diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-12-13 14:49:16 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-12-13 14:49:16 +0000 |
commit | f1237b85972c7d34cfc45dead4f39ef0d52301ea (patch) | |
tree | db50f6ae3e768c2a49665524f3b0baf04c225f85 | |
parent | Update webcamd to version 4.20.0.1 (diff) |
Add devd rule for a Logitech gamepad.
Submitted by: Rozhuk Ivan <rozhuk.im@gmail.com>
Approved by: pi@
-rw-r--r-- | multimedia/webcamd/Makefile | 1 | ||||
-rw-r--r-- | multimedia/webcamd/files/webcamd.conf.in | 17 |
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"; +}; + |