For anyone who is still having this problem, hopefully this will help
you get your webcam working. I was able to get my webcam working and I
am using a Dell Precision 7510 Laptop running Ubuntu 18.04.3.

1.) I issued "$dmesg | grep -i camera" in a terminal window and received
"uvcvideo 1-11:1.0: Entity type for entity Camera 1 was not
initialized!" which landed me here at this website (FYI I am still
receiving that message and my camera works... as laurent.pinchart
+bugzilla-kernel pointed out already it is a harmless warning).

2) I did a search for "ubuntu uvcvideo" in google and landed on
"https://help.ubuntu.com/community/UVC"; which then pointed me to
"https://www.berlios.de/software/linux-uvc/#download"; which then pointed
me to "http://www.ideasonboard.org/uvc/";.

3) From "http://www.ideasonboard.org/uvc/";, if you scroll down to the
bottom of it you will see a Downlaod section. Navigate to the
"https://www.linuxtv.org/wiki/index.php/How_to_Obtain"; webpage and
follow the "Basic" User's Approach instructions.

4) You may be asked to install pre-requisites during the build process.
I had to issue the following command "$sudo apt install libproc-
processtable-perl".

5) Once build is complete, run "$sudo make install".

6) I installed uvcdynctrl as floe suggested. I don't know if this helped
or not sorry...

7) I then found and example file to test if the camera was working from
"https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/v4l2grab.c.html";. I
saved this file and tried to compile it "$gcc -o v4l2grab v4l2grab.c"
and received an error that it couldn't find the libv4l2.h header file.
So i searched for it using $sudo find / -name "libv4l2.h" and didn't
find it. This led me to believe that I didn't have the v4l2 development
library installed so I installed it $sudo apt install libv4l-dev.

8) I searched again and found it! I then set C include environment path
variable to point to the directory containing the header file $export
C_INCLUDE_PATH=/usr/include/ and changed #include
"../libv4l/include/libv4l2.h" to just #include "libv4l2.h"

9) Tried to recompile and got a linking error, so I issued $gcc -o
v4l2grab v4l2grab.c -lv4l1 -lv4l2 and waula, it compiled. Changed its
permssions to be executable $chmod +755 v4l2grab (using octal format
where 7 in binary is 111 corresponding to rwx for owner and 5 or 110 rw-
for group and other) and ran it ./v4l2grab where then I saw the .ppm
files in the directory where the executable was ran from, but this was
not good enough I want live feed.

10) I then installed v4l-utils and ran $v4l2-ctl -d /dev/video0 --list-
formats-ext. This gave me the parameters that are compatible with my
webcam for video capture (width=1280, height=720, format=MJPG, and
device index=0).

11) As a final death blow I ran the following

v4l2-ctl -V --set-fmt-video=width=1280,height=720,pixelformat=MJPG
--stream-mmap --stream-count=-1 --stream-to=test.jpg -d /dev/video0

but only got a single image. I think you need to incude OpenCV. Anyways,
I hope this helps you atleast get images off of the webcam.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1626731

Title:
  uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not
  initialized!

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed
Status in ubuntu-drivers-common package in Ubuntu:
  Confirmed

Bug description:
  [    6.453850] uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not 
initialized!
  [    6.453858] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was 
not initialized!
  [    6.453862] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not 
initialized!

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: linux-image-4.8.0-14-generic 4.8.0-14.15
  ProcVersionSignature: Ubuntu 4.8.0-14.15-generic 4.8.0-rc7
  Uname: Linux 4.8.0-14-generic x86_64
  ApportVersion: 2.20.3-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0p:   caravena   2032 F...m pulseaudio
   /dev/snd/controlC0:  caravena   2032 F.... pulseaudio
  CurrentDesktop: GNOME
  Date: Thu Sep 22 17:20:51 2016
  HibernationDevice: RESUME=UUID=360bd2d2-4f44-4311-86d6-4781ac81ee87
  InstallationDate: Installed on 2015-07-26 (424 days ago)
  InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Alpha amd64 (20150723)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.8.0-14-generic 
root=UUID=4f4435ca-b877-47a5-9065-3dd624c0514e ro rootflags=subvol=@ quiet 
splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.8.0-14-generic N/A
   linux-backports-modules-4.8.0-14-generic  N/A
   linux-firmware                            1.161
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/15/2013
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: P14AAJ
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: SAMSUNG_NP1234567890
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: FAB1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: 0.1
  dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
  dmi.product.name: 530U3C/530U4C
  dmi.product.version: 0.1
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1626731/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to