From owner-svn-ports-all@freebsd.org Thu Dec 13 14:49:17 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F8C213276B8; Thu, 13 Dec 2018 14:49:17 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482328ADE4; Thu, 13 Dec 2018 14:49:17 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 34FA021351; Thu, 13 Dec 2018 14:49:17 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBDEnG53033428; Thu, 13 Dec 2018 14:49:16 GMT (envelope-from hselasky@FreeBSD.org) Received: (from hselasky@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBDEnG1o033426; Thu, 13 Dec 2018 14:49:16 GMT (envelope-from hselasky@FreeBSD.org) Message-Id: <201812131449.wBDEnG1o033426@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hselasky set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky Date: Thu, 13 Dec 2018 14:49:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487369 - in head/multimedia/webcamd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: hselasky X-SVN-Commit-Paths: in head/multimedia/webcamd: . files X-SVN-Commit-Revision: 487369 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 482328ADE4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-1.45 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.83)[-0.828,0]; NEURAL_HAM_SHORT(-0.63)[-0.625,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2018 14:49:17 -0000 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 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"; +}; +