FreeBSD Bugzilla – Attachment 217748 Details for
Bug 248926
Logitech HD Pro Webcam C920 USB_ERR_TIMEOUT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Working patch for webcamd
patch-webcamd.txt (text/plain), 3.08 KB, created by
Ganael LAPLANCHE
on 2020-09-04 15:19:58 UTC
(
hide
)
Description:
Working patch for webcamd
Filename:
MIME Type:
Creator:
Ganael LAPLANCHE
Created:
2020-09-04 15:19:58 UTC
Size:
3.08 KB
patch
obsolete
>Index: multimedia/webcamd/files/patch-media_tree-drivers-media-usb-gspca-vc032x.c >=================================================================== >--- multimedia/webcamd/files/patch-media_tree-drivers-media-usb-gspca-vc032x.c (nonexistent) >+++ multimedia/webcamd/files/patch-media_tree-drivers-media-usb-gspca-vc032x.c (working copy) >@@ -0,0 +1,20 @@ >+--- ./media_tree/drivers/media/usb/gspca/vc032x.c.orig 2020-09-04 08:48:57.611586000 +0200 >++++ ./media_tree/drivers/media/usb/gspca/vc032x.c 2020-09-04 08:50:51.088046000 +0200 >+@@ -3132,8 +3132,7 @@ >+ sd->bridge = id->driver_info >> 8; >+ sd->flags = id->driver_info & 0xff; >+ >+- if (id->idVendor == 0x046d && >+- (id->idProduct == 0x0892 || id->idProduct == 0x0896)) >++ if (id->idVendor == 0x046d && id->idProduct == 0x0896) >+ sd->sensor = SENSOR_POxxxx; /* no probe */ >+ >+ return 0; >+@@ -3799,7 +3798,6 @@ >+ | (flags) >+ static const struct usb_device_id device_table[] = { >+ {USB_DEVICE(0x041e, 0x405b), BF(VC0323, FL_VFLIP)}, >+- {USB_DEVICE(0x046d, 0x0892), BF(VC0321, 0)}, >+ {USB_DEVICE(0x046d, 0x0896), BF(VC0321, 0)}, >+ {USB_DEVICE(0x046d, 0x0897), BF(VC0321, 0)}, >+ {USB_DEVICE(0x0ac8, 0x0321), BF(VC0321, 0)}, > >Property changes on: multimedia/webcamd/files/patch-media_tree-drivers-media-usb-gspca-vc032x.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: multimedia/webcamd/files/patch-media_tree-drivers-media-usb-uvc-uvc_driver.c >=================================================================== >--- multimedia/webcamd/files/patch-media_tree-drivers-media-usb-uvc-uvc_driver.c (nonexistent) >+++ multimedia/webcamd/files/patch-media_tree-drivers-media-usb-uvc-uvc_driver.c (working copy) >@@ -0,0 +1,18 @@ >+--- media_tree/drivers/media/usb/uvc/uvc_driver.c.orig 2020-09-04 08:46:54.730859000 +0200 >++++ media_tree/drivers/media/usb/uvc/uvc_driver.c 2020-09-04 08:47:38.051154000 +0200 >+@@ -2526,6 +2526,15 @@ >+ .bInterfaceSubClass = 1, >+ .bInterfaceProtocol = 0, >+ .driver_info = UVC_INFO_QUIRK(UVC_QUIRK_RESTORE_CTRLS_ON_INIT) }, >++ /* Logitech HD Pro Webcam C920 (newer) */ >++ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE >++ | USB_DEVICE_ID_MATCH_INT_INFO, >++ .idVendor = 0x046d, >++ .idProduct = 0x0892, >++ .bInterfaceClass = USB_CLASS_VIDEO, >++ .bInterfaceSubClass = 1, >++ .bInterfaceProtocol = 0, >++ .driver_info = UVC_INFO_QUIRK(UVC_QUIRK_RESTORE_CTRLS_ON_INIT) }, >+ /* Chicony CNF7129 (Asus EEE 100HE) */ >+ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE >+ | USB_DEVICE_ID_MATCH_INT_INFO, > >Property changes on: multimedia/webcamd/files/patch-media_tree-drivers-media-usb-uvc-uvc_driver.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248926
:
217550
|
217551
|
217552
|
217553
|
217597
|
217599
|
217643
| 217748