USB webcam not attaching: proposed patch
José Pérez
fbl at aoek.com
Thu May 21 16:52:49 UTC 2020
El 2020-05-21 15:20, Hans Petter Selasky escribió:
> 1) Match vendor ID, interface class (0xa) and interface subclass
> (0xFF).
>
> There are a dozen of these devices:
>
> drivers/media/usb/pwc/pwc-if.c: { USB_DEVICE(0x046D, 0x08B3) }, /*
> Logitech QuickCam Zoom (old model) */
>
> I think that will suffice. Else the quirk will be too wide!
>
> --HPS
Hi,done, testeded ok.
--- webcamd.conf.orig 2020-05-21 12:41:25.844895000 +0200
+++ webcamd.conf 2020-05-21 18:51:29.715592000 +0200
@@ -64,3 +64,14 @@
action "/usr/local/etc/rc.d/webcamd start $cdev $interface";
};
+# Logitech webcams
+notify 100 {
+ match "system" "USB";
+ match "subsystem" "INTERFACE";
+ match "type" "ATTACH";
+
+ match "vendor" "0x046d";
+ match "intclass" "0x0a";
+ match "intsubclass" "0xff";
+ action "/usr/local/etc/rc.d/webcamd start $cdev";
+};
Regards,
--
José Pérez
More information about the freebsd-multimedia
mailing list