(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
output of a working webcam. (is the same).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 ~]$
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.