Date: Thu, 13 Dec 2018 14:49:16 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487369 - in head/multimedia/webcamd: . files Message-ID: <201812131449.wBDEnG1o033426@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky (src committer) Date: Thu Dec 13 14:49:16 2018 New Revision: 487369 URL: https://svnweb.freebsd.org/changeset/ports/487369 Log: Add devd rule for a Logitech gamepad. Submitted by: Rozhuk Ivan <rozhuk.im@gmail.com> Approved by: pi@ Modified: head/multimedia/webcamd/Makefile head/multimedia/webcamd/files/webcamd.conf.in Modified: head/multimedia/webcamd/Makefile ============================================================================== --- head/multimedia/webcamd/Makefile Thu Dec 13 14:22:08 2018 (r487368) +++ head/multimedia/webcamd/Makefile Thu Dec 13 14:49:16 2018 (r487369) @@ -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/ Modified: head/multimedia/webcamd/files/webcamd.conf.in ============================================================================== --- head/multimedia/webcamd/files/webcamd.conf.in Thu Dec 13 14:22:08 2018 (r487368) +++ head/multimedia/webcamd/files/webcamd.conf.in Thu Dec 13 14:49:16 2018 (r487369) @@ -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"; +}; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812131449.wBDEnG1o033426>