Bug 111291 - uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not initialized!
Summary: uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not initialized!
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-25 19:46 UTC by Cristian Aravena Romero
Modified: 2019-03-30 02:05 UTC (History)
13 users (show)

See Also:
Kernel Version: 4.5rc1
Tree: Mainline
Regression: No


Attachments
dmesg_4.5.0-040500rc1-generic.txt (57.13 KB, text/plain)
2016-01-25 19:46 UTC, Cristian Aravena Romero
Details
lspci_-vvnn.txt (8.69 KB, text/plain)
2016-01-25 19:46 UTC, Cristian Aravena Romero
Details
dmesg_4.5.0-040500rc2-generic.txt (63.22 KB, text/plain)
2016-02-01 18:01 UTC, Cristian Aravena Romero
Details
Complete kernel log (61.42 KB, text/plain)
2016-04-15 06:09 UTC, Arthur Borsboom
Details
Information about the USB webcam causing the warning (51.05 KB, text/plain)
2016-04-15 06:10 UTC, Arthur Borsboom
Details
dmesg_4.9.0-040900-generic (56.89 KB, text/plain)
2016-12-11 23:27 UTC, Cristian Aravena Romero
Details
dmesg_4.15.1-041501-generic.txt (58.79 KB, text/plain)
2018-02-08 12:48 UTC, Cristian Aravena Romero
Details

Description Cristian Aravena Romero 2016-01-25 19:46:19 UTC
Created attachment 201651 [details]
dmesg_4.5.0-040500rc1-generic.txt

[    6.362067] uvcvideo: Found UVC 1.00 device WebCam SC-13HDL12131N (2232:1035)
[    6.388720] uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not initialized!
[    6.388729] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
[    6.388734] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
Comment 1 Cristian Aravena Romero 2016-01-25 19:46:49 UTC
Created attachment 201671 [details]
lspci_-vvnn.txt
Comment 2 Jani Nikula 2016-01-29 18:47:26 UTC
This is about USB Video Class, not Intel graphics. Not sure where to reassign really, setting Video(Other) and adding some Cc's.
Comment 3 Cristian Aravena Romero 2016-02-01 18:01:19 UTC
Created attachment 202651 [details]
dmesg_4.5.0-040500rc2-generic.txt
Comment 4 Arthur Borsboom 2016-04-15 06:01:12 UTC
After upgrading from kernel 4.4.5 to 4.5.0 the following kernel messages appeared on my system too.

[    2.517311] usbcore: registered new interface driver snd-usb-audio
[    2.517340] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0807)
[    2.532997] uvcvideo 3-10:1.0: Entity type for entity Extension 4 was not initialized!
[    2.532999] uvcvideo 3-10:1.0: Entity type for entity Extension 8 was not initialized!
[    2.533000] uvcvideo 3-10:1.0: Entity type for entity Extension 10 was not initialized!
[    2.533002] uvcvideo 3-10:1.0: Entity type for entity Extension 12 was not initialized!
[    2.533003] uvcvideo 3-10:1.0: Entity type for entity Extension 11 was not initialized!
[    2.533004] uvcvideo 3-10:1.0: Entity type for entity Processing 2 was not initialized!
[    2.533005] uvcvideo 3-10:1.0: Entity type for entity Extension 13 was not initialized!
[    2.533006] uvcvideo 3-10:1.0: Entity type for entity Camera 1 was not initialized!
[    2.533007] uvcvideo 3-10:1.0: Entity type for entity Extension 14 was not initialized!
[    2.533088] input: UVC Camera (046d:0807) as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/input/input20
[    2.533156] usbcore: registered new interface driver uvcvideo

The webcam does work in an application i have tested.
Comment 5 Arthur Borsboom 2016-04-15 06:09:27 UTC
Created attachment 212791 [details]
Complete kernel log
Comment 6 Arthur Borsboom 2016-04-15 06:10:30 UTC
Created attachment 212801 [details]
Information about the USB webcam causing the warning
Comment 7 mattia.b89 2016-09-11 09:47:45 UTC
I have this issue too! The webcam affected is the integrated one in my laptop, a Dell XPS 13 (9343).
If you need any other information, just ask
Comment 8 Cristian Aravena Romero 2016-09-22 20:41:15 UTC
4.8.0-14-generic:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1626731
Comment 9 Laurent Pinchart 2016-09-30 10:45:38 UTC
This is a known issue, caused by

commit b50bde4e476dede4a28e9c8fdcd134da2f34ef2e
Author: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Date:   Thu May 7 22:12:38 2015 -0300

    [media] v4l2-subdev: use MEDIA_ENT_T_UNKNOWN for new subdevs
    
    Instead of abusing MEDIA_ENT_T_V4L2_SUBDEV, initialize
    new subdev entities as MEDIA_ENT_T_UNKNOWN.
    
    Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

that added a warning to media controller core code without updating drivers to comply with the new requirements.

The warning is harmless, drivers will eventually be updated.
Comment 10 Cristian Aravena Romero 2016-12-11 23:27:40 UTC
Created attachment 247431 [details]
dmesg_4.9.0-040900-generic

[    6.730682] uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not initialized!
[    6.730688] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
[    6.730693] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
Comment 11 Arthur Borsboom 2017-06-13 13:10:39 UTC
Hi Laurant,

1,5 year later this warning still exists in kernel 4.11.

[    2.398176] uvcvideo: Found UVC 1.00 device USB2.0 HD UVC WebCam (04f2:b3fd)
[    2.399184] uvcvideo 3-7:1.0: Entity type for entity Extension 4 was not initialized!
[    2.399185] uvcvideo 3-7:1.0: Entity type for entity Processing 2 was not initialized!
[    2.399186] uvcvideo 3-7:1.0: Entity type for entity Camera 1 was not initialized!

Do you have any guess when this will be fixed?
Can I do anything to help (I am a developer, but not a kernel/driver developer)?
Comment 12 Florian Echtler 2017-10-03 19:08:58 UTC
This is causing a regression with the Logitech Quickcam Sphere. In particular, the the pan/tilt controls do not work anymore - in fact, they are completely gone from "v4l2-ctl -L".
Comment 13 Colin Stark 2017-10-28 02:37:39 UTC
Issue replicated on Raspbian Stretch 4.9.58:

```
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.58+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1046 Tue Oct 24 16:57:45 BST 2017
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
...
[ 1786.101640] usb 1-1.2.4: new full-speed USB device number 5 using dwc_otg
[ 1786.250929] usb 1-1.2.4: New USB device found, idVendor=1e4e, idProduct=0100
[ 1786.250947] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1786.250955] usb 1-1.2.4: Product: PureThermal 1
[ 1786.250962] usb 1-1.2.4: Manufacturer: GroupGets
[ 1786.250969] usb 1-1.2.4: SerialNumber: v0.99.2
[ 1786.400170] media: Linux media interface: v0.10
[ 1786.438621] Linux video capture interface: v2.00
[ 1786.494307] uvcvideo: Found UVC 1.00 device PureThermal 1 (1e4e:0100)
[ 1786.501315] uvcvideo 1-1.2.4:1.0: Entity type for entity Extension 3 was not initialized!
[ 1786.501352] uvcvideo 1-1.2.4:1.0: Entity type for entity Processing 2 was not initialized!
[ 1786.501366] uvcvideo 1-1.2.4:1.0: Entity type for entity Extension 4 was not initialized!
[ 1786.501379] uvcvideo 1-1.2.4:1.0: Entity type for entity Extension 5 was not initialized!
[ 1786.501391] uvcvideo 1-1.2.4:1.0: Entity type for entity Extension 6 was not initialized!
[ 1786.501402] uvcvideo 1-1.2.4:1.0: Entity type for entity Extension 7 was not initialized!
[ 1786.501413] uvcvideo 1-1.2.4:1.0: Entity type for entity Camera 1 was not initialized!
[ 1786.513107] input: PureThermal 1 as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4:1.0/input/input0
```
Comment 14 Osip Fatkullin 2018-02-07 21:17:57 UTC
Same problem with HP TrueVision FHD RGB-IR on HP Spectre x360 13-w013dx
Comment 15 Florian Echtler 2018-02-08 09:32:55 UTC
Just as a comment, at least in my case this was fixed by the "uvcdynctrl"  package which installs suitable udev rules to initialize the missing controls from userspace.
Comment 16 Arthur Borsboom 2018-02-08 12:26:53 UTC
Thanks Florian for the possible workaround. Unfortunately I cannot find a package within Arch Linux providing this uvc userspace tool.

I do notice however that the warnings in Kernel 4.15.1 are still not fixed.
Is this a kernel space (driver) issue or a user space issue ?

arthur@z97:~$ dmesg | grep uvc
[    3.541859] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0807)
[    3.557496] uvcvideo 3-5:1.0: Entity type for entity Extension 4 was not initialized!
[    3.557498] uvcvideo 3-5:1.0: Entity type for entity Extension 8 was not initialized!
[    3.557499] uvcvideo 3-5:1.0: Entity type for entity Extension 10 was not initialized!
[    3.557500] uvcvideo 3-5:1.0: Entity type for entity Extension 12 was not initialized!
[    3.557501] uvcvideo 3-5:1.0: Entity type for entity Extension 11 was not initialized!
[    3.557503] uvcvideo 3-5:1.0: Entity type for entity Processing 2 was not initialized!
[    3.557504] uvcvideo 3-5:1.0: Entity type for entity Extension 13 was not initialized!
[    3.557505] uvcvideo 3-5:1.0: Entity type for entity Camera 1 was not initialized!
[    3.557506] uvcvideo 3-5:1.0: Entity type for entity Extension 14 was not initialized!
[    3.557666] usbcore: registered new interface driver uvcvideo
Comment 17 Cristian Aravena Romero 2018-02-08 12:48:55 UTC
Created attachment 274067 [details]
dmesg_4.15.1-041501-generic.txt
Comment 18 Florian Echtler 2018-02-09 08:42:02 UTC
I think what happened here is that responsibility for initializing the extensions has been shifted from the kernel to userspace. I'd suggest to try and build uvcdynctrl from source and see if that helps...
Comment 19 Artem S. Tashkinov 2019-03-30 02:05:15 UTC
Happening to me as well on HP Pavilion 13 x360 s128nr:

[   10.883555] uvcvideo: Found UVC 1.00 device HP Truevision HD (04f2:b50d)
[   10.909532] uvcvideo 1-4:1.0: Entity type for entity Extension 4 was not initialized!
[   10.909535] uvcvideo 1-4:1.0: Entity type for entity Processing 2 was not initialized!
[   10.909537] uvcvideo 1-4:1.0: Entity type for entity Camera 1 was not initialized!
[   10.909739] usbcore: registered new interface driver uvcvideo

Note You need to log in before you can comment on or make changes to this bug.