Received: by 10.213.65.68 with SMTP id h4csp610935imn; Tue, 20 Mar 2018 10:47:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELsz9rsb0eHKxvAMIteqL3P/zHnTO0zMf3TX9xcgIEK/jwWnnKBtF8SPCHTgp9SgTdRdkXT7 X-Received: by 2002:a17:902:b43:: with SMTP id 61-v6mr17283107plq.270.1521568036862; Tue, 20 Mar 2018 10:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521568036; cv=none; d=google.com; s=arc-20160816; b=BCbGIadCXqqTyR0pJZ/cIqbjqZHEpldWUI8azDK8/yxXHMwIQbgtNwSTPUEAg5rTPB XZIj5sP//gsKiTY8jv4zHq4JWFMjb81TJolJT2OgzE13rK1hXsoqKwQpr3BsoDkQC+02 WpLIHfRRRc/bHJey+5+2fWQtHc2Ak/kC+32WdH0wG36IadfymO14wxXy/UVOkweURXmV Jhp1m7q6W/8YnS4RkXLG55MlCqzy3u7dFvoiuMWVFBOJA98nJD1maSdAVrvPeGOhmH1z viOHYRTacGvXQQOUAin3GbZQSllsQxkKrPx9tIBMbHZNbySgq91AYG8PisTHRNqrymVa /umQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature :arc-authentication-results; bh=gNlSTABfq1FzPKwd2Wp8KJdaZOAMPOdl9GY3LoNs598=; b=Rx8p8Y91gFqkYUFOb4MGWx4jULlNi0+RZ8lc4GIwCAAozmWLsmgREEFLEl3DL1Zdgg EjlcBxrxPHYwJw13xoiTUce2EuI8BvYwHoxRL7Yj/Iv+Ce88u2NcIyF0/JCw0ngEaXv7 xXY9+UlA9SvzkzndLI1+6xRlVeyOTmV0y/SimE0XWc1r3V6RHBXNz5zigICpEPhzF/yU NYFgXHL/I7czHC1FguEgGSH8SiasT6f6EGHpwK1gwpyFPK8y2oNYVlDCNbay7Z1de/YE NNx0gL7yOTs6Ue9zjvc0vUci7yRJXu9FK47GGJiiUzO0xj32g+AjVzgKxZZufBxCZD43 IXGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ndufresne-ca.20150623.gappssmtp.com header.s=20150623 header.b=O2g+1+3a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2-v6si2022063pll.94.2018.03.20.10.47.00; Tue, 20 Mar 2018 10:47:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ndufresne-ca.20150623.gappssmtp.com header.s=20150623 header.b=O2g+1+3a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751594AbeCTRp5 (ORCPT + 99 others); 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 Received: by mail-qk0-f194.google.com with SMTP id s9so2575056qke.12 for ; Tue, 20 Mar 2018 10:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndufresne-ca.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version; bh=gNlSTABfq1FzPKwd2Wp8KJdaZOAMPOdl9GY3LoNs598=; b=O2g+1+3an2zT0j1bOyPwP3bcOD/tr8wqvAprMc0gVQzTDa5w0lv67jykn8uV4WcdY7 WoKHG5j5THjMyAcxrOgBD4HlhSmTVNRmOS8whXoFuT0VRAfJMGOpHM7DyMeQFjp+etKA vZk32IeVSWmGcRZVcnOmwBlGxHWVB1VB8GVgbHHJOhyjMJL0Xf2JfeRzRTKGfw7dqXG9 yv7o+EYHL0Cf5OzsvXW20lckpICdhnw4VRuENKaCRmVQJAp3qxJYQRncsHf9rN/8QgcE S9VcF4Zr8XBtwcF6+2MJ28FKpMI6tNp5/PeqvkHWzkrcaZEHdvy/d27rEVZB3nFthd5l O1LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version; bh=gNlSTABfq1FzPKwd2Wp8KJdaZOAMPOdl9GY3LoNs598=; b=BAa1wzfqPZm0YXB9TULFJDJcm4fo8VVZwIjalqpfI5G/8WLR+Fc7GQWBzMvKttcpvI RVI5NwNKGw0ZQjNgExgOGmHSRLlv81ixH4Cj7AWb+zROesn3YXvTDeF/29emL0v0QVZS vAs83b01vDv3aaxiCaFjxhPWdBrD5ml1LshqnT4b7BPdT1cFDNKtrQ32uNVLpF1e1YD/ NUq7Kv4Adet7J3UvFCCDzlbOw+i02UBlI3hZ3wFR7lUyhGcBcFQFwmsjh1QJRgSdYlgX E6r4/Hw58ToydAGs8aQS6FnMA1heNXBmsFPsf8ySA7upuodktJ2EalLGF5WTluNdWCfW 3xPQ== X-Gm-Message-State: AElRT7EfgsYq9NumDLjbvE++llCYLgySm7pL6sGNSRRCOzBaaOtlP9px VSsQWlmNQnRFAY+9jWmhG68kfg== X-Received: by 10.55.27.20 with SMTP id b20mr24504823qkb.253.1521567953997; Tue, 20 Mar 2018 10:45:53 -0700 (PDT) Received: from tpx230-nicolas (modemcable154.55-37-24.static.videotron.ca. [24.37.55.154]) by smtp.gmail.com with ESMTPSA id x31sm1642586qtc.55.2018.03.20.10.45.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Mar 2018 10:45:52 -0700 (PDT) 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 Precedence: bulk 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--