PineBook PRO Webcam does not work

Please supply this information when submitting a bug report.

  • What device are you using?
    PineBook PRO

  • What edition of Manjaro-ARM is installed? (eg minimal, server, etc.)
    20.0.6

  • When did you last run updates and reboot?
    Today

  • What package contains the bug?
    N.A.

  • Describe the bug the best you can. What where you doing when the bug happened?
    with dmesg I can see that cvcvideo is loaded and found UVC

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.286726] videodev: Linux video capture interface: v2.00
[    7.422240] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[    7.433258] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    7.435104] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video1
[    7.440141] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video2
[ 2135.898122] uvcvideo: Found UVC 1.00 device USB Camera (0c45:6321)
[ 2135.931855] uvcvideo 2-1.2:1.0: Entity type for entity Extension 4 was not initialized!
[ 2135.931870] uvcvideo 2-1.2:1.0: Entity type for entity Processing 3 was not initialized!
[ 2135.931878] uvcvideo 2-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[ 2135.935626] usbcore: registered new interface driver uvcvideo
  • Any workarounds or known fixes?
    No, I think this could be a kernel problem? VLC and other apps cannot open the webcam

Not all applications are able to find the webcam.

I had success with Cheese in the past. Can you check if that can see it?

Installed Cheese:

Kein Gerät gefunden - device not found

In cheese there is no possibility to browse for cam-devices?

Of course the webcam is enabled via the privacy switch

Perhaps test it with a browser and use Jitsi?
https://meet.jit.si/PinebookProTest (or replace that last part with whatever you like)

Does not work:

You can select as camera

rockchip-rga
rockchip-rk,3399-vpu-enc
rockchip-rk,3399-vpu-dec

None of selecting them gets a picture from the webcam

Try the V4L2 video capture utility

Empty windows after start.

Have opened video0 / video1 /video2

I hope that is what You wanted?

I have tested the cam in the past but not lately. One of the programs mentioned in this thread worked; but things were slugglish.

Can Pine have changed the hardware of the latest badge? My PBP is brand new
On all laptops I know until now the webcam is available via USB. And on the PBP the USB tree shows no webcam ??

That would be a @Strit @spikerguy question. I am mainly about raspberry pi. I would test but would have to burn the latest image and I am going to have to go to town to get an estimate for my insurance company on my new truck my boy wrecked. :hot_face:

I just tested this.

I installed Cheese (from the repo) and launched it, and it shows my webcam. It's not good by any means, but it's there.

Of course there can be a defect, but in dmesg it looked like Linux discovered the webcam

[ 2135.898122] uvcvideo: Found UVC 1.00 device USB Camera (0c45:6321)

It's not a solution, but maybe helpful. I have a 2020 Pinebook Pro and the camera worked out of the box. It works with cheese and works with the jitsi link above. (Again, not a great camera and slow, but works)

Here's my dmesg output with a working camera:

[xxxxxxxx@pinebookpro ~]$ 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.276091] videodev: Linux video capture interface: v2.00
[    6.748878] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[    6.750780] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    6.757326] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video1
[    6.757553] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video2
[    9.522403] uvcvideo: Found UVC 1.00 device USB Camera (0c45:6321)
[    9.554996] uvcvideo 2-1.2:1.0: Entity type for entity Extension 4 was not initialized!
[    9.555006] uvcvideo 2-1.2:1.0: Entity type for entity Processing 3 was not initialized!
[    9.555011] uvcvideo 2-1.2:1.0: Entity type for entity Camera 1 was not initialized!
[    9.555427] usbcore: registered new interface driver uvcvideo

Some other maybe useful output:

[xxxxxx@pinebookpro ~]$ uname -a 
Linux pinebookpro 5.7.0-1-MANJARO-ARM #1 SMP Sun Jun 7 22:17:22 +03 2020 aarch64 GNU/Linux

[xxxxxx@pinebookpro ~]$ cat /etc/lsb-release 
DISTRIB_ID=Manjaro-ARM
DISTRIB_RELEASE=20.06
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION="Manjaro ARM Linux"

1 Like
[xxx@munin ~]$ uname -a
Linux munin 5.7.0-1-MANJARO-ARM #1 SMP Sun Jun 7 22:17:22 +03 2020 aarch64 GNU/Linux
[xxx@munin ~]$ cat /etc/lsb-release 
DISTRIB_ID=Manjaro-ARM
DISTRIB_RELEASE=20.06
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION="Manjaro ARM Linux"



Seems to be same kernel, release and dmesg output

And not alone with this issue:

https://forum.pine64.org/showthread.php?tid=9978

This reminds me. Have you checked the privacy switches?

Software (dmesg too) shouldn't be able to see it if they are enabled, but you never know.

Yes, tested after 3 blinks and after 2 blinks of "PINE + F12". Always after an reboot

Has the "uvcvideo" kernel module to be loaded on boot time? Mine was NOT
it doesnt appear with lsmod | grep uvcvideo

On my system there is missing "uvcvideo" . Can load it manual via modprobe or via /etc/modules-load.d

Then looks like Yours, but no input from webcam

I did a quick test.

  1. Pine-F12 and got the 3 flashes (disabled)
  2. Rebooted
  3. lsmod did not show the uvcvideo module
  4. Pine-F12 and got the 2 flashes (enabled)
  5. lsmod still did not show the uvcvideo module
  6. rebooted
  7. all is well again on mine.

After loading uvcvideo by hand:

lsmod
Module                  Size  Used by
uvcvideo              110592  0
rfcomm                 61440  16
bnep                   28672  2
lz4                    16384  6
lz4_compress           45056  1 lz4
zram                   28672  1
joydev                 32768  0
snd_soc_hdmi_codec     16384  0
snd_soc_simple_amplifier    16384  1
panfrost               65536  16
hci_uart              118784  0
btqca                  16384  1 hci_uart
dw_wdt                 20480  0
btbcm                  24576  1 hci_uart
btsdio                 20480  0
btintel                32768  1 hci_uart
gpu_sched              32768  1 panfrost
bluetooth             454656  45 btqca,btsdio,btintel,hci_uart,btbcm,bnep,rfcomm
cw2015_battery         16384  0
snd_soc_rockchip_i2s    16384  2
snd_soc_rockchip_pcm    16384  1 snd_soc_rockchip_i2s
snd_soc_es8316         40960  1
rockchip_thermal       24576  0
rockchip_rga           28672  0
videobuf2_dma_sg       24576  1 rockchip_rga
hantro_vpu             90112  0
videobuf2_dma_contig    24576  1 hantro_vpu
rockchip_saradc        16384  0
v4l2_mem2mem           45056  2 hantro_vpu,rockchip_rga
videobuf2_vmalloc      20480  2 hantro_vpu,uvcvideo
videobuf2_memops       20480  3 videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_dma_sg
videobuf2_v4l2         36864  4 hantro_vpu,rockchip_rga,uvcvideo,v4l2_mem2mem
videobuf2_common       57344  5 videobuf2_v4l2,hantro_vpu,rockchip_rga,uvcvideo,v4l2_mem2mem
ecdh_generic           16384  2 bluetooth
ecc                    32768  1 ecdh_generic
brcmfmac              327680  0
rockchipdrm           147456  36
dw_mipi_dsi            20480  1 rockchipdrm
dw_hdmi                53248  1 rockchipdrm
analogix_dp            45056  1 rockchipdrm
brcmutil               20480  1 brcmfmac
cec                    61440  1 dw_hdmi
rc_core                57344  1 cec
drm_kms_helper        241664  4 dw_mipi_dsi,rockchipdrm,dw_hdmi,analogix_dp
cfg80211              389120  1 brcmfmac
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
snd_soc_simple_card    20480  2
sysimgblt              16384  1 drm_kms_helper
snd_soc_simple_card_utils    24576  1 snd_soc_simple_card
pwm_bl                 16384  0
fb_sys_fops            16384  1 drm_kms_helper
rfkill                 40960  9 bluetooth,cfg80211
panel_simple           81920  0
crypto_user            16384  0
drm                   622592  40 gpu_sched,drm_kms_helper,dw_mipi_dsi,panel_simple,rockchipdrm,dw_hdmi,panfrost,analogix_dp
drm_panel_orientation_quirks    20480  1 drm
hid_logitech_hidpp     45056  0
hid_logitech_dj        32768  0
hid_multitouch         32768  0
gpio_keys              24576  0

Forum kindly sponsored by