All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Quirk for webcam in MacBook Pro 2016
@ 2017-03-18 21:02 Daniel Roschka
  2017-04-09 17:43 ` Daniel Roschka
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Roschka @ 2017-03-18 21:02 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-media

Add the probe def quirk for the webcam found in the Apple MacBook Pro 2016,
to get it working out of the box.

Signed-off-by: Daniel Roschka <danielroschka@phoenitydawn.de>
---
 drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/
uvc_driver.c
index 04bf35063c4c..4d05be1c1053 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -2426,6 +2426,15 @@ static struct usb_device_id uvc_ids[] = {
          .bInterfaceProtocol   = 0,
          .driver_info          = UVC_QUIRK_PROBE_MINMAX
                                | UVC_QUIRK_BUILTIN_ISIGHT },
+       /* Apple Built-In iSight via iBridge */
+       { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
+                               | USB_DEVICE_ID_MATCH_INT_INFO,
+         .idVendor             = 0x05ac,
+         .idProduct            = 0x8600,
+         .bInterfaceClass      = USB_CLASS_VIDEO,
+         .bInterfaceSubClass   = 1,
+         .bInterfaceProtocol   = 0,
+         .driver_info          = UVC_QUIRK_PROBE_DEF },
        /* Foxlink ("HP Webcam" on HP Mini 5103) */
        { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
                                | USB_DEVICE_ID_MATCH_INT_INFO,
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-11  5:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-18 21:02 [PATCH] Quirk for webcam in MacBook Pro 2016 Daniel Roschka
2017-04-09 17:43 ` Daniel Roschka
2017-04-10 10:52   ` Laurent Pinchart
2017-04-10 18:01     ` Daniel Roschka
2017-04-11  5:07       ` Laurent Pinchart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.