Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 22:32:57 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Rozhuk Ivan <rozhuk.im@gmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: Request for commit approval (multimedia/webcamd)
Message-ID:  <50036681-e6a8-8bc7-1db3-087d175fe159@selasky.org>
In-Reply-To: <20181214003143.44a34637@gmail.com>
References:  <63be9b29-755e-5db5-e37b-16e8f651bc37@selasky.org> <20181214003143.44a34637@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/13/18 10:31 PM, Rozhuk Ivan wrote:
> On Thu, 13 Dec 2018 15:33:06 +0100
> Hans Petter Selasky <hps@selasky.org> wrote:
> 
>> Add devd rule for a Logitech gamepad.
>>
>> Submitted by:	Rozhuk Ivan <rozhuk.im@gmail.com>
>> 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";
  };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50036681-e6a8-8bc7-1db3-087d175fe159>