From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751626AbeCTRp5 (ORCPT ); Tue, 20 Mar 2018 13:45:57 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:45729 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751472AbeCTRpy (ORCPT ); Tue, 20 Mar 2018 13:45:54 -0400 X-Google-Smtp-Source: AG47ELsdgsuAEkg3rQg5kSMCf4WMIoD9Rf0A0byeAUeVJvmGGzaKeZOI3sKbckKUwUr0MamAzImniw== Message-ID: <1521567951.20523.81.camel@ndufresne.ca> Subject: Re: uvcvideo: Unknown video format,00000032-0002-0010-8000-00aa00389b71 From: Nicolas Dufresne To: Paul Menzel , Laurent Pinchart Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, it+linux-media@molgen.mpg.de Date: Tue, 20 Mar 2018 13:45:51 -0400 In-Reply-To: <8f7d4aef-84f7-ae22-8adc-cba4fa881675@molgen.mpg.de> References: <8f7d4aef-84f7-ae22-8adc-cba4fa881675@molgen.mpg.de> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-XxsJtPCcylfXbLgEZfh4" X-Mailer: Evolution 3.26.6 (3.26.6-1.fc27) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-XxsJtPCcylfXbLgEZfh4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mardi 20 mars 2018 =C3=A0 13:20 +0100, Paul Menzel a =C3=A9crit : > Dear Linux folks, >=20 >=20 > On the Dell XPS 13 9370, Linux 4.16-rc6 outputs the messages below. >=20 > ``` > [ 2.338094] calling uvc_init+0x0/0x1000 [uvcvideo] @ 295 > [ 2.338569] calling iTCO_wdt_init_module+0x0/0x1000 [iTCO_wdt] @ 280 > [ 2.338570] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11 > [ 2.338713] iTCO_wdt: Found a Intel PCH TCO device (Version=3D4, > TCOBASE=3D0x0400) > [ 2.338755] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD=20 > (0bda:58f4) > [ 2.338827] iTCO_wdt: initialized. heartbeat=3D30 sec (nowayout=3D0) > [ 2.338851] initcall iTCO_wdt_init_module+0x0/0x1000 [iTCO_wdt]=20 > returned 0 after 271 usecs > [ 2.340669] uvcvideo 1-5:1.0: Entity type for entity Extension 4 was= =20 > not initialized! > [ 2.340670] uvcvideo 1-5:1.0: Entity type for entity Extension 7 was= =20 > not initialized! > [ 2.340672] uvcvideo 1-5:1.0: Entity type for entity Processing 2 was= =20 > not initialized! > [ 2.340673] uvcvideo 1-5:1.0: Entity type for entity Camera 1 was not > initialized! > [ 2.340736] input: Integrated_Webcam_HD: Integrate as > /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input9 > [ 2.341447] uvcvideo: Unknown video format > 00000032-0002-0010-8000-00aa00389b71 While the 0002 is suspicious, this is pretty close to a color format. I've recently come across of similar format using D3DFORMAT instead of GUID. According to the vendor*, this camera module includes an infrared camera (340x340), so I suspect this is to specify the format it outputs. A good guess to start with would be that this is D3DFMT_X8L8V8U8 (0x32). To test it, you could map this V4L2_PIX_FMT_YUV32/xRGB and see if the driver is happy with the buffer size. Then render it to make sure it looks some image of some sort. A new format will need to be defined as this format is in the wrong order, and is ambiguous (it may mean AYUV or xYUV). I'm not sure if we need specific formats to differentiate infrared data from YUV images, need to be discussed. *https://dustinweb.azureedge.net/media/338953/xps-13-9370.pdf > [ 2.341450] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD=20 > (0bda:58f4) > [ 2.343371] uvcvideo: Unable to create debugfs 1-2 directory. > [ 2.343420] uvcvideo 1-5:1.2: Entity type for entity Extension 10 was= =20 > not initialized! > [ 2.343422] uvcvideo 1-5:1.2: Entity type for entity Extension 12 was= =20 > not initialized! > [ 2.343423] uvcvideo 1-5:1.2: Entity type for entity Processing 9 was= =20 > not initialized! > [ 2.343424] uvcvideo 1-5:1.2: Entity type for entity Camera 11 was=20 > not initialized! > [ 2.343472] input: Integrated_Webcam_HD: Integrate as > /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/input/input10 > [ 2.343496] usbcore: registered new interface driver uvcvideo > [ 2.343496] USB Video Class driver (1.1.1) > [ 2.343501] initcall uvc_init+0x0/0x1000 [uvcvideo] returned 0 after= =20 > 5275 usecs > ``` >=20 > Please tell me, what I can do to improve the situation. >=20 >=20 > Kind regards, >=20 > Paul >=20 --=-XxsJtPCcylfXbLgEZfh4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSScpfJiL+hb5vvd45xUwItrAaoHAUCWrFIzwAKCRBxUwItrAao HGHkAJ0dp7XgD4FjP/0lWNevuyBdAPGCHQCgqop+mh7gbX5UtVbU96+i/qEEn94= =BxYR -----END PGP SIGNATURE----- --=-XxsJtPCcylfXbLgEZfh4--