Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2608553pxb; Thu, 3 Feb 2022 10:03:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaRL5lt1gSLiGkUbFFsh4E2ujisc62B3DDh7MwyjRMk8U40cqd53mf6kQkPBmjD2Azxtv+ X-Received: by 2002:a17:90b:1d91:: with SMTP id pf17mr15220464pjb.160.1643911417747; Thu, 03 Feb 2022 10:03:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643911417; cv=pass; d=google.com; s=arc-20160816; b=HVHUsJoiO7nye7BgvOLKa5wdIupycX6wO0EFtnJxiKIjfQIeLZltbU4PCYPrKqwmdF ugbhVkFSjMKnmPnmi/5F3jx8Tzif4zTT9+QyfsunZd2tTmf4jZ5ptM5AxO7+lnPlDOep z0TVsgz+ybc8SP+jBGkMOL+aK9VYi1n9hEzd9k/gWYW0YTs4C9IfbypQyFoHf2LatutF cAUwH57unB3cVYCLj6yX2qbRgFLrigJzFkYQsUV03gP6QQbeGUYozxGWpB3l4jF98mnY vTja2CAQbOZENgbGETsqhfznEX+R7cYKMvzlardkJ0qbwh7So8CDlihysXN1RX2N8bSJ ikOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=h2dDJY1lWb+HEpYx2uCJQBMLczC82KiSsXWV81lWEQo=; b=laFHsjdEedWP7CytdgkXIngOk00tXXBtdee0IYr4RuJI3ztvZuVjy4Lc4NW4l6M7+L P8KokptoKkzgTMKc8eUH4oPoN1MftfAlLQ81WcEYcWelmUxDHf1YVGrLD0GjvUPCTiYj CEGhy5YjrODo7JNXNMDCvY4m8jdg61qxY1oauaCdGGCmQh8QRt77qUTmVsEIVdeHNC42 oOJp402M356VquwQ5coPRpeKCCY+Nqv2I0A3fEGMuMe6VmjwuMswrY5RVz0UGztqZBu2 5U1jNK9+sOKPnchv4Zz8KoPqXalL3o70JTFLH9mcQGWpbLL783omdOSva4QkQFUIpKVR XgzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@live.com header.s=selector1 header.b=D8MXrGPS; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=live.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u69si20278771pgd.689.2022.02.03.10.03.25; Thu, 03 Feb 2022 10:03:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@live.com header.s=selector1 header.b=D8MXrGPS; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=live.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350627AbiBCMvm (ORCPT + 99 others); Thu, 3 Feb 2022 07:51:42 -0500 Received: from mail-bmxind01olkn2079.outbound.protection.outlook.com ([40.92.103.79]:21991 "EHLO IND01-BMX-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236476AbiBCMvm (ORCPT ); Thu, 3 Feb 2022 07:51:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vry+epXwNNoo2Wj2IgAEFvfV4y4x5uFwXFZV6HlD1ZHLQkHfcJworPW/q+LkyAaiCoRLdEF9ZGCqZOZkiV+f2Wd3D9DkBCUQ+JMVtQV9kp5NEF6J0gf2bSXVE6au/WbNXl3+HEPzyhErzG7q2eCzyPnC/8vFTd/qHgNEh77q1oyv53YkwspIhKXzQ08D55mM2IfddKlk87mvQ5o0Yy56AMG1u3ZyD3ul2a22gWzOoIk4OJEG1/gcwUbJQx3NV7dhTUD9Io50Z5MgNEBxsdiYMSjZlq2GlQ55yoyXjbhKwwZqr6JjGbEWBy7AibxXcNCp08ZkYenFoThFxqM6i6W96w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h2dDJY1lWb+HEpYx2uCJQBMLczC82KiSsXWV81lWEQo=; b=AgdoIwLrguiZqQSXdBNVkNTmi82/tW1qufAl82MdvygmLTWqq1mOJrKS14JawOvkqqFk96WuPC3wUzNLaxEcPSQETU35hMCiVbhsRTWfST2E2qYiIU2frwVfHHGMuyH+3eYS3u+Cc22WsZZLy411PFZf/XOxMBdTtLauRWvWLgcXAdfL9awp48c4JX2T2RJynkSIoboOToWXgbazr8GhwKZsDiXUHmp/jLnQtaSb0X/YpELtS7VGCQC8Y3ahli9tEcR2b83+6GhmoSm5fyjueeS0QSbb1G4AwNZ0Q/jGm1lWSkivrPr5JQOBZgwXvfrA0WemTcxuC1hcsOEpG+1QWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h2dDJY1lWb+HEpYx2uCJQBMLczC82KiSsXWV81lWEQo=; b=D8MXrGPSv4JNR6LzSM+khqevmSUCaCRaT1NoU2mNB13BWUyc8u8oy1+m9F+1zlimSgQ69mfMG/6x2OCtz1O6nH+MVb2Xkvj6iyFNxS4TCGkuFn9s0yJt/a/DL7X8+KNHlBpfGWXZp4Vgp/qgitV2y18gHDQRtiYXfs5jHIrF1tNeTdU8x0osVN9rZhQTzO9bK0oR0B/Vunydw97clDkog8g4him2siSkhNpWFEu/5uaYZonqtdNtc9s7lWWMXhFJCR/BrxCt3p9Xts+ABuvXJfgEQKaurEefXD6kU3Qt1iF395mza8QB/LZb+lZNJLf5kNsBi82fjSkd1InQGnTpeQ== Received: from PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:1b::13) by MAZPR01MB7588.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:3f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Thu, 3 Feb 2022 12:51:36 +0000 Received: from PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM ([fe80::d19b:7cd1:3760:b055]) by PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM ([fe80::d19b:7cd1:3760:b055%9]) with mapi id 15.20.4951.012; Thu, 3 Feb 2022 12:51:36 +0000 From: Aditya Garg To: Laurent Pinchart CC: "mchehab@kernel.org" , "mchehab+huawei@kernel.org" , "hverkuil@xs4all.nl" , "sergey.senozhatsky@gmail.com" , "ribalda@chromium.org" , Linux Kernel Mailing List , "linux-media@vger.kernel.org" , Orlando Chamberlain , "paul@mrarm.io" , Aun-Ali Zaidi Subject: Re: [PATCH RESEND] media: uvcvideo: Add support for Apple T2-attached FaceTime HD Camera Thread-Topic: [PATCH RESEND] media: uvcvideo: Add support for Apple T2-attached FaceTime HD Camera Thread-Index: AQHYEqCuFa0IUQWRI0uS4fqZrMlb86x/2XiAgAAImYCAARp3AIAA18IA Date: Thu, 3 Feb 2022 12:51:36 +0000 Message-ID: <7A80783B-E8EE-4CEF-A09C-AE71C3072A7C@live.com> References: <527C2E71-12E2-45D1-9B50-5A413B6920A1@live.com> <951C1FB9-9709-4CB3-8DD7-703900FE56FD@live.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [n2Gw1r8zHB8on1WaD7rKJxnVL9i5eWACTPfAiSqi8vYaPM3NSyv87EHI5MInBdF7] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c20ca552-6b76-4128-1a3e-08d9e713e9df x-ms-traffictypediagnostic: MAZPR01MB7588:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pU4JtwoVKIYtAy4GQWRmOKU3CtXXakdtY7fIDxQSpY7Soc5XblYuQLqvm+dVtGT5Txy11/2iTKQlhyYrJf5fUv+u/+yIXShK49j6vqg9Tdd94rcx3ZJ0H1FsPF9/J9vnYWtJHo+qywx+J/LuvGJ9bz5q1CGFHDN5/D9MDj46TDxGiQ9/KkMbxg7L1ieHjita6vXg+FQeTrrEGG/Su+qtG1YHixMVOn0rlOQd4O5Kws68AUtc5H2H4Kyha/P6ooHpnRAOPiFD/Pl/tLTXSa+kbO8dXceh58LmRKOUb3fniZOpHEYuj2czEHQLNZaXAhfs+rCanbNPZK2pOmYCANU7lkgzVsJI/fZm9CtWfGclL/uHJEUtYpePB6jxEirysxRlZFjKD9kNek4+VYHaU3pBg7XRANUmW1dtOJrjKoWxU/ao3IJsmh8+wRnGZzJlX4gFVt9DG4+VoFSIRyPC5o6Gzx0LOoY06HgVxGy1k/TDWOFtqsk8goYSnSjVVBaeOi0tAUkTIlJH+++1FnDcSykM+bbHwrk0GQXDlE8k3if2GcfvAsdf3hVCF0equPUWdDn2q1DHWf3sg26w7gjE+fiVoA== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?T32f9UY5X+wLGepncaf8PpHSVKPnZC5B1fyJrJz1xGUfjcd+3OjTY4SL+a81?= =?us-ascii?Q?HXLI1CPIDVg8yU6HahdSgB2GSDDADI2UVx3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aXMCSpqIc13NuAUyXPlrIkGYa8bilWlffoDKX5kF9/s?= =?us-ascii?Q?XDvK55nY21XNITNGD2sZXErTuA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: <3562BDBD27BD324993598164F2988009@INDPRD01.PROD.OUTLOOK.COM> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-42ed3.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: c20ca552-6b76-4128-1a3e-08d9e713e9df X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2022 12:51:36.3118 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MAZPR01MB7588 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 03-Feb-2022, at 5:29 AM, Laurent Pinchart wrote: >=20 > Hi Aditya, >=20 > On Wed, Feb 02, 2022 at 07:08:21AM +0000, Aditya Garg wrote: >>> On 02-Feb-2022, at 12:07 PM, Laurent Pinchart wrote: >>> On Wed, Jan 26, 2022 at 10:37:13AM +0000, Aditya Garg wrote: >>>> From: Paul Pawlowski >>>>=20 >>>> Adds the requisite device id to support detection of the Apple FaceTim= e >>>> HD webcam exposed over the T2 BCE VHCI interface. >>>>=20 >>>> Tested-by: Aun-Ali Zaidi >>>> Signed-off-by: Paul Pawlowski >>>> Signed-off-by: Aun-Ali Zaidi >>>> Signed-off-by: Aditya Garg >>>> --- >>>> drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++ >>>> 1 file changed, 9 insertions(+) >>>>=20 >>>> diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uv= c/uvc_driver.c >>>> index 7c007426e..88dc9e7aa 100644 >>>> --- a/drivers/media/usb/uvc/uvc_driver.c >>>> +++ b/drivers/media/usb/uvc/uvc_driver.c >>>> @@ -2848,6 +2848,15 @@ static const struct usb_device_id uvc_ids[] =3D= { >>>> .bInterfaceProtocol =3D 0, >>>> .driver_info =3D UVC_INFO_QUIRK(UVC_QUIRK_PROBE_MINMAX >>>> | UVC_QUIRK_BUILTIN_ISIGHT) }, >>>> + /* Apple FaceTime HD Camera (Built-In) */ >>>> + { .match_flags =3D USB_DEVICE_ID_MATCH_DEVICE >>>> + | USB_DEVICE_ID_MATCH_INT_INFO, >>>> + .idVendor =3D 0x05ac, >>>> + .idProduct =3D 0x8514, >>>> + .bInterfaceClass =3D USB_CLASS_VIDEO, >>>> + .bInterfaceSubClass =3D 1, >>>> + .bInterfaceProtocol =3D 0, >>>> + .driver_info =3D (kernel_ulong_t)&uvc_quirk_probe_def }, >>>=20 >>> Have you tested that the device doesn't work without this quirk ? >>=20 >> uvcvideo 1-2:1.1: Failed to query (129) UVC probe control : -110 (exp. 4= 8). >> uvcvideo 1-2:1.1: Failed to initialize the device (-5). >>=20 >> These errors are encountered without this patch >=20 > Thank you for the confirmation. >=20 > Reviewed-by: Laurent Pinchart >=20 > and applied to my tree. Thanks ! >=20 >>>> /* Apple Built-In iSight via iBridge */ >>>> { .match_flags =3D USB_DEVICE_ID_MATCH_DEVICE >>>> | USB_DEVICE_ID_MATCH_INT_INFO, >=20 > --=20 > Regards, >=20 > Laurent Pinchart