You are Here:
2023 - The Year of the Linux Lite Desktop



integrated/external webcam not working

Author (Read 930 times)

0 Members and 3 Guests are viewing this topic.

Re: integrated/external webcam not working
« Reply #2 on: January 14, 2023, 01:22:05 PM »
 

kamui

  • New to Forums
  • *
  • 6
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • CPU: Quad Core AMD A10-5757M APU with Radeon HD

  • MEMORY: 6Gb

  • VIDEO CARD: AMD Richland [Radeon HD 8650G]
EDIT:
The integrated camera was fixed with help from here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2000947.
But the external one still isn't working.

(I couldn't edit my post. Click save redirected me to page that said that I'm blocked from this website)
 

integrated/external webcam not working
« Reply #1 on: November 26, 2022, 07:44:48 AM »
 

kamui

  • New to Forums
  • *
  • 6
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • CPU: Quad Core AMD A10-5757M APU with Radeon HD

  • MEMORY: 6Gb

  • VIDEO CARD: AMD Richland [Radeon HD 8650G]
Hello!

The integrated webcam is not shown at all in skypeforlinux/discord/cheese/chrome. The external webcam is shown, but the content is just black.
I have dual boot with Windows 10. The integrated webcam works there and the external one (Genius Eye 312) started to work after I installed its driver.
My laptop is ACER Nitro 5 AN515-58-789C and I found no keyboard shortcut in the user manual.

The system report: https://www68.zippyshare.com/v/Vf6ljuUW/file.html
I figured that the internal webcam is 0408:4035 Quanta Computer, Inc. ACER HD User Facing in lsusb.

cat /dev/video0 shows No such file or directory


sudo dmesg | grep -ni "uvc|facing":
Code: [Select]
988:[    2.822775] usb 3-6: Product: ACER HD User Facing
1115:[    5.023136] usb 3-6: Found UVC 1.50 device ACER HD User Facing (0408:4035)
1143:[    5.065102] usb 3-6: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
1145:[    5.068252] uvcvideo 3-6:1.1: Failed to query (129) UVC probe control : 26 (exp. 48).
1146:[    5.068255] uvcvideo 3-6:1.1: Failed to initialize the device (-5).
1147:[    5.068301] usbcore: registered new interface driver uvcvideo

The lines with "Failed to query" and "Failed to initialize" are with red.


guvcview output:
Code: [Select]
GUVCVIEW: version 2.0.7
V4L2_CORE: ERROR opening V4L interface: No such file or directory
GUVCVIEW (1): Guvcview error
no video device (/dev/video0) found
(guvcview:11537): Gtk-WARNING **: 14:22:13.768: Theme parsing error: <data>:1:17: not a number

(guvcview:11537): Gtk-WARNING **: 14:22:13.768: Theme parsing error: <data>:1:31: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(guvcview:11537): Gtk-WARNING **: 14:22:13.768: Theme parsing error: <data>:1:17: not a number

(guvcview:11537): Gtk-WARNING **: 14:22:13.768: Theme parsing error: <data>:1:32: Using Pango syntax for the font: style property is deprecated; please use CSS syntax


dmesg output for sudo rmmod uvcvideo && sudo modprobe uvcvideo:
Code: [Select]
[  595.311323] usbcore: deregistering interface driver uvcvideo
[  595.359025] usb 3-6: Found UVC 1.50 device ACER HD User Facing (0408:4035)
[  595.390062] usb 3-6: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[  595.393101] uvcvideo 3-6:1.1: Failed to query (129) UVC probe control : 26 (exp. 48).
[  595.393116] uvcvideo 3-6:1.1: Failed to initialize the device (-5).
[  595.393253] usbcore: registered new interface driver uvcvideo


dmesg output for plugging the external webcam:
Code: [Select]
[  732.172423] usb 3-1: new full-speed USB device number 5 using xhci_hcd
[  732.322341] usb 3-1: config 1 interface 0 altsetting 1 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322352] usb 3-1: config 1 interface 0 altsetting 2 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322356] usb 3-1: config 1 interface 0 altsetting 3 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322359] usb 3-1: config 1 interface 0 altsetting 4 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322362] usb 3-1: config 1 interface 0 altsetting 5 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322365] usb 3-1: config 1 interface 0 altsetting 6 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322368] usb 3-1: config 1 interface 0 altsetting 7 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322371] usb 3-1: config 1 interface 0 altsetting 8 endpoint 0x6 has invalid wMaxPacketSize 0
[  732.322381] usb 3-1: New USB device found, idVendor=093a, idProduct=2622, bcdDevice= 1.00
[  732.322387] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  732.346929] gspca_main: v2.14.0 registered
[  732.349691] gspca_main: gspca_pac7302-2.14.0 probing 093a:2622
[  732.350299] input: gspca_pac7302 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/input/input24
[  732.350614] usbcore: registered new interface driver gspca_pac7302
[  732.361560] usbcore: registered new interface driver snd-usb-audio


guvcview output with the external webcam plugged in:
Code: [Select]
GUVCVIEW: version 2.0.7
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: failed to subscribe events for control 0x0098090c: Invalid argument
V4L2_CORE: failed to subscribe events for control 0x00980910: Invalid argument
ALSA lib pcm_dsnoop.c:601:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
V4L2_CORE: V4L2_CAP_TIMEPERFRAME not supported
control[0]:(unknown - 0x6) 0x980001 'User Controls'
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: V4L2_CAP_TIMEPERFRAME not supported
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
^CGUVCVIEW Caught signal 2
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable


dmesg output of doing that:
Code: [Select]
[  971.161367] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  971.161380] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22
[  971.161387]  Digital Playback and Capture: soc_pcm_open() failed (-22)
[  971.161391]  HDA Digital: ASoC: dpcm_be_dai_startup() failed at Digital Playback and Capture (-22)
[  971.161395]  HDA Digital: dpcm_fe_dai_startup() failed (-22)
[  971.161481] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  971.161485] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22
[  971.161488]  Digital Playback and Capture: soc_pcm_open() failed (-22)
[  971.161491]  HDA Digital: ASoC: dpcm_be_dai_startup() failed at Digital Playback and Capture (-22)
[  971.161494]  HDA Digital: dpcm_fe_dai_startup() failed (-22)


The external webcam is listed in lsusb as Bus 003 Device 005: ID 093a:2622 Pixart Imaging, Inc. Webcam Genius.

If you need any other information, let me know.
Thanks!
« Last Edit: November 28, 2022, 06:49:03 AM by kamui »
 

 

-->
X Close Ad

2023 - The Year of the Linux Lite Desktop