Date: Thu, 13 Dec 2018 15:33:06 +0100 From: Hans Petter Selasky <hps@selasky.org> To: ports@FreeBSD.org Subject: Request for commit approval (multimedia/webcamd) Message-ID: <63be9b29-755e-5db5-e37b-16e8f651bc37@selasky.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------17CD2B380832D068AF8CDDBB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Add devd rule for a Logitech gamepad. Submitted by: Rozhuk Ivan <rozhuk.im@gmail.com> Approved by: --HPS --------------17CD2B380832D068AF8CDDBB Content-Type: text/x-patch; name="webcamd.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="webcamd.diff" 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"; +}; + --------------17CD2B380832D068AF8CDDBB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63be9b29-755e-5db5-e37b-16e8f651bc37>