From owner-freebsd-ports@freebsd.org Thu Dec 13 21:34:55 2018 Return-Path: Delivered-To: freebsd-ports@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 09A2E13353A1 for ; Thu, 13 Dec 2018 21:34:55 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF5B7363F for ; Thu, 13 Dec 2018 21:34:54 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3F87513353A0; Thu, 13 Dec 2018 21:34:54 +0000 (UTC) Delivered-To: ports@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 2DCA8133539F for ; Thu, 13 Dec 2018 21:34:54 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BAE1A7363E for ; Thu, 13 Dec 2018 21:34:53 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 2338D26019D; Thu, 13 Dec 2018 22:34:52 +0100 (CET) Subject: Re: Request for commit approval (multimedia/webcamd) To: Rozhuk Ivan Cc: ports@FreeBSD.org References: <63be9b29-755e-5db5-e37b-16e8f651bc37@selasky.org> <20181214003143.44a34637@gmail.com> From: Hans Petter Selasky Message-ID: <50036681-e6a8-8bc7-1db3-087d175fe159@selasky.org> Date: Thu, 13 Dec 2018 22:32:57 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <20181214003143.44a34637@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: BAE1A7363E X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-5.83 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.83)[-0.834,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2018 21:34:55 -0000 On 12/13/18 10:31 PM, Rozhuk Ivan wrote: > On Thu, 13 Dec 2018 15:33:06 +0100 > Hans Petter Selasky wrote: > >> Add devd rule for a Logitech gamepad. >> >> Submitted by: Rozhuk Ivan >> Approved by: >> >> --HPS > > Mine last version: > > # Gamepad Logitech > notify 100 { > match "system" "USB"; > match "subsystem" "INTERFACE"; > match "type" "ATTACH"; > match "vendor" "0x046d"; > match "product" "0xc216|0xc219"; > action "/usr/local/etc/rc.d/webcamd start $cdev $interface"; > }; Hi, Can you submit this patch? Or do you want me to? --HPS Index: files/webcamd.conf.in =================================================================== --- files/webcamd.conf.in (revision 487369) +++ files/webcamd.conf.in (working copy) @@ -59,12 +59,8 @@ match "type" "ATTACH"; match "vendor" "0x046d"; - match "product" "0xc216"; + match "product" "0xc216|0xc219"; - match "intclass" "0x03"; - match "intsubclass" "0x00"; - match "intprotocol" "0x00"; - action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface"; };