On 12/13/18 10:31 PM, Rozhuk Ivan wrote:
On Thu, 13 Dec 2018 15:33:06 +0100
Hans Petter Selasky <h...@selasky.org> wrote:

Add devd rule for a Logitech gamepad.

Submitted by:   Rozhuk Ivan <rozhuk...@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";
 };
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to