Built-in Webcam Not Working
#10
(06-07-2020, 01:55 AM)xmixahlx Wrote: what happens if you use a different OS from sdcard?

I tried Manjaro KDE, Debian and Android images, camera did not work in any of those.
I also tried switching the camera off with SUPER + F12, rebooting, switching it back on and rebooting again. Still no luck.

My dmesg | grep video output:
Code:
[    0.000000] Kernel command line: initrd=/initramfs-linux.img console=tty1 console=ttyS2,1500000 root=LABEL=ROOT_MNJRO rw rootwait video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60 bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash
[    0.316806] videodev: Linux video capture interface: v2.00
[    6.883165] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    6.885306] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video1
[    6.888777] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video0
[    6.895759] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video2

If I try to run smplayer /dev/video1 I'm getting this error:

Code:
/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-80f --msg-level=ffmpeg/demuxer=error --no-fs --hwdec=no --sub-auto=fuzzy --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=77594644 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-margin-y=8 --sub-margin-x=20 --sub-codepage=ISO-8859-1 --sub-pos=100 --volume=55 --cache=auto --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/nick/Pictures/smplayer_screenshots --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-params/aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
--audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /dev/video1

[ffmpeg/demuxer] video4linux2,v4l2: Not a video capture device.
[lavf] avformat_open_input() failed
[ffmpeg/demuxer] video4linux2,v4l2: Not a video capture device.
[lavf] avformat_open_input() failed
Failed to recognize file format.
Exiting... (Errors when loading file)

I also tried Jitsi Meet and Google Hangouts, both in Firefox and Chromium, Kamoso and Cheese, nothing works.

Is there anything else I could do to check if the camera hardware works?

(06-07-2020, 07:09 AM)Opvolger Wrote:
(05-29-2020, 01:13 PM)fozzedout Wrote:
(05-28-2020, 07:49 PM)xmixahlx Wrote: check if your user is added to the video group
dmesg|grep video
if not detected, toggle the privacy hardware disable and reboot
dmesg again

the camera works, but is not great

Yes, my user is added to the video group.

Here is my dmesg output (doesn't change if the privacy switch is enabled or disabled):

$ dmesg|grep video
[    0.000000] Kernel command line: initrd=/initramfs-linux.img console=tty1 console=ttyS2,1500000 root=LABEL=ROOT_MNJRO rw rootwait video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60 bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash
[    0.276266] videodev: Linux video capture interface: v2.00
[    8.459274] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[    8.472188] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    8.472803] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video1
[    8.472906] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video2

As you can see - only video 0, 1 and 2 are detected

Code:
[opvolger@pine64 ~]$ dmesg|grep video
[    0.000000] Kernel command line: initrd=/initramfs-linux.img console=tty1 console=ttyS2,1500000 root=LABEL=ROOT_MNJRO rw rootwait video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60 bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash
[    0.286198] videodev: Linux video capture interface: v2.00
[    6.521834] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[    6.527476] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    6.530597] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video1
[    6.530769] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video2
[    8.693178] uvcvideo: Found UVC 1.00 device USB Camera (0c45:6321)
[    8.729161] uvcvideo 2-1.2:1.0: Entity type for entity Extension 4 was not initialized!
[    8.729175] uvcvideo 2-1.2:1.0: Entity type for entity Processing 3 was not initialized!
[    8.729182] uvcvideo 2-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[    8.730958] usbcore: registered new interface driver uvcvideo
[opvolger@pine64 ~]$
output of a working webcam. (is the same).

I received my laptop this week. Only had problems with WIFI (so was turned off, privacy switch). My webcam works.

https://wiki.pine64.org/index.php/Pinebo...y_Switches <- switches. i had to reboot.

Actually, your output is different. Notice that you have these lines:

Code:
[    8.693178] uvcvideo: Found UVC 1.00 device USB Camera (0c45:6321)
[    8.729161] uvcvideo 2-1.2:1.0: Entity type for entity Extension 4 was not initialized!
[    8.729175] uvcvideo 2-1.2:1.0: Entity type for entity Processing 3 was not initialized!
[    8.729182] uvcvideo 2-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[    8.730958] usbcore: registered new interface driver uvcvideo

I'm not getting those, and it looks like fozzedout is not getting those lines either.
  Reply


Messages In This Thread
Built-in Webcam Not Working - by fozzedout - 05-28-2020, 06:35 PM
RE: Built-in Webcam Not Working - by xmixahlx - 05-28-2020, 07:49 PM
RE: Built-in Webcam Not Working - by fozzedout - 05-29-2020, 01:13 PM
RE: Built-in Webcam Not Working - by Opvolger - 06-07-2020, 07:09 AM
RE: Built-in Webcam Not Working - by lemaurien19 - 06-09-2020, 03:29 AM
RE: Built-in Webcam Not Working - by diodelass - 05-28-2020, 09:25 PM
RE: Built-in Webcam Not Working - by charlespine - 05-28-2020, 10:49 PM
RE: Built-in Webcam Not Working - by Nora No - 05-31-2020, 04:09 AM
RE: Built-in Webcam Not Working - by Jazzband - 06-06-2020, 10:45 PM
RE: Built-in Webcam Not Working - by xmixahlx - 06-07-2020, 01:55 AM
RE: Built-in Webcam Not Working - by Jazzband - 06-07-2020, 11:24 AM
RE: Built-in Webcam Not Working - by xmixahlx - 06-07-2020, 01:43 PM
RE: Built-in Webcam Not Working - by Jazzband - 06-07-2020, 04:27 PM
RE: Built-in Webcam Not Working - by lemaurien19 - 06-08-2020, 07:50 AM
RE: Built-in Webcam Not Working - by xmixahlx - 06-08-2020, 09:51 AM
RE: Built-in Webcam Not Working - by lemaurien19 - 06-08-2020, 11:24 AM
RE: Built-in Webcam Not Working - by Opvolger - 06-09-2020, 04:29 PM
RE: Built-in Webcam Not Working - by lemaurien19 - 06-10-2020, 12:07 PM
RE: Built-in Webcam Not Working - by firefox-58 - 06-16-2020, 09:31 AM
RE: Built-in Webcam Not Working - by Jazzband - 06-16-2020, 02:21 PM
RE: Built-in Webcam Not Working - by firefox-58 - 06-17-2020, 03:44 AM
RE: Built-in Webcam Not Working - by tllim - 06-20-2020, 04:24 PM
RE: Built-in Webcam Not Working - by lemaurien19 - 06-21-2020, 08:12 AM
RE: Built-in Webcam Not Working - by tllim - 06-26-2020, 03:04 PM
RE: Built-in Webcam Not Working - by lemaurien19 - 06-17-2020, 06:52 AM
RE: Built-in Webcam Not Working - by firefox-58 - 06-17-2020, 11:13 AM
RE: Built-in Webcam Not Working - by lemaurien19 - 06-20-2020, 07:52 AM
RE: Built-in Webcam Not Working - by Ecampos - 07-02-2020, 06:33 PM
RE: Built-in Webcam Not Working - by erock22 - 07-13-2020, 09:46 PM
RE: Built-in Webcam Not Working - by Jazzband - 07-14-2020, 09:18 AM
RE: Built-in Webcam Not Working - by erock22 - 07-17-2020, 09:11 PM
RE: Built-in Webcam Not Working - by Jazzband - 07-18-2020, 12:41 PM
RE: Built-in Webcam Not Working - by erock22 - 07-14-2020, 08:44 PM
RE: Built-in Webcam Not Working - by xmixahlx - 07-14-2020, 11:08 PM
RE: Built-in Webcam Not Working - by erock22 - 07-15-2020, 07:50 PM
RE: Built-in Webcam Not Working - by rimaille - 07-15-2020, 03:51 AM
RE: Built-in Webcam Not Working - by lemaurien19 - 02-01-2021, 08:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bliuetooth not working in Armbian 22.11.1 Pinebook Pro River 0 984 12-09-2022, 04:48 PM
Last Post: River
  Mid 2022: what is in your humble opinion the best working OS for the PinePro? walterbe 3 3,165 06-29-2022, 02:00 PM
Last Post: Chief
Sad Webcam not working in pinebook pro with Manjaro jcarball 2 3,599 04-28-2021, 03:23 PM
Last Post: jcarball
  [split] U-Boot with NVMe support, keyboard & display working as400 78 93,635 01-27-2021, 12:48 AM
Last Post: as400
  webcam photo solid gray stozi 0 1,727 01-05-2021, 05:35 PM
Last Post: stozi
  Booting to sdcard stopped working after emmc flash techiedog 3 4,515 12-31-2020, 06:30 PM
Last Post: Anarethos
  Needed basic Info on using Webcam on PBP User 17828 6 7,739 12-18-2020, 07:24 PM
Last Post: Arwen
  Wifi stopped working after updates pineitup 10 12,486 11-07-2020, 02:59 AM
Last Post: wdt
  Working terminal emulator bookguy1 7 10,698 08-04-2020, 02:34 PM
Last Post: mfashby
  Suspend with NVME not working - Default Debian appdev46 5 9,829 07-14-2020, 01:53 PM
Last Post: Jeremiah Cornelius

Forum Jump:


Users browsing this thread: 7 Guest(s)