Built-in Webcam Not Working
#11
options are hardware or software
hardware = disabled or broken
software = likely kernel problem

keep at it, my assumption is it is either privacy key, kernel problem, or bad hardware - in that order of likelihood.

have y'all tried to reflash the keyboard firmware?
  Reply
#12
Updated my keyboard firmware. While this did fix the SUPER + arrow keys issue, camera still doesn't work.
  Reply
#13
Same issue here. Got my unit from the latest batch shipped out from HK June 1.

output in terminal:

Code:
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.286132] videodev: Linux video capture interface: v2.00
[    7.532548] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[    7.554681] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    7.555410] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video1
[    7.555538] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video2


Tried the privacy switch - toggled off and on and rebooted. Still the same issue.
  Reply
#14
try to update and pull a new kernel. you might have to change branch to testing or unstable. this would test if the shipped kernel is defective.

the other option would be some devices are shipped with broken/missing webcam...

iirc no one with this problem has fixed it...
  Reply
#15

.txt   sbin_lsmod.txt (Size: 3.24 KB / Downloads: 420)
(06-08-2020, 09:51 AM)xmixahlx Wrote: try to update and pull a new kernel. you might have to change branch to testing or unstable. this would test if the shipped kernel is defective.

the other option would be some devices are shipped with broken/missing webcam...

iirc no one with this problem has fixed it...

Flashed Debian for pbp on external drive and booted the machine with it - same error in Cheese app.
Did a dmesg|grep video in terminal with the following result:

Code:
rock@Debian-Desktop:~$ dmesg|grep video
[    0.000000] Kernel command line: console=ttyS2,1500000n8 rw root=/dev/sda2 rootwait rootfstype=ext4 panic=10 init=/sbin/init coherent_pool=1M ethaddr=ce:11:27:25:82:f0 eth1addr= serial=2ff60e8a5e087bb8 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 zswap.enabled=1 video=HDMI-A-1:1920x1080@60 video=eDP-1:1920x1080@60 quiet loglevel=3 vga=current
[    0.579630] Linux video capture interface: v2.00
[    0.954670] usbcore: registered new interface driver uvcvideo


Sorry, but I'm rather new to Manjaro...How do I pull and update the system to a new kernel?
I did sudo pacman -Syyu an here's the result:

Code:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
error: target not found: update
[ingridientzzz@potsch ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
core                               221.7 KiB   528 KiB/s 00:00 [##################################] 100%
extra                                2.3 MiB  3.25 MiB/s 00:01 [##################################] 100%
community                            5.0 MiB  3.79 MiB/s 00:01 [##################################] 100%
:: Starting full system upgrade...
warning: snapd: local (2.45-3) is newer than community (2.45-1)
there is nothing to do

Still no device found and dmesg|grep video still the same result.

Update:
I also updated my keyboard firmware via this guide: https://forum.manjaro.org/t/how-to-flash.../112366/27

And still no webcam

Here's the output from lusb:

Code:
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 17ef:6039 Lenovo USB2.0 Hub
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 258a:001e Pine64 Pinebook Pro
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Also, attached is dump from /sbin/lsmod: sbin_lsmod.txt

Thanks
  Reply
#16
(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.

For those with working webcams, would you be able to check which modules you have loaded and post on this forums pls?

lsmod

Would be a good starting point to compare outputs.

Thank you so much!
  Reply
#17
Code:
[opvolger@pine64 ~]$ lsmod
Module                  Size  Used by
xt_conntrack           16384  1
xt_MASQUERADE          16384  1
nf_conntrack_netlink    53248  0
nfnetlink              16384  2 nf_conntrack_netlink
xt_addrtype            16384  2
iptable_filter         16384  1
iptable_nat            16384  1
nf_nat                 53248  2 iptable_nat,xt_MASQUERADE
nf_conntrack          159744  4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
bpfilter               28672  0
br_netfilter           28672  0
bridge                221184  1 br_netfilter
stp                    20480  1 bridge
llc                    20480  2 bridge,stp
overlay               118784  0
rfcomm                 57344  16
bnep                   28672  2
zram                   28672  1
uvcvideo              110592  0
joydev                 32768  0
snd_soc_hdmi_codec     16384  0
snd_soc_simple_amplifier    16384  1
hantro_vpu             90112  0
videobuf2_dma_contig    24576  1 hantro_vpu
panfrost               57344  10
gpu_sched              36864  1 panfrost
rockchip_rga           28672  0
dw_wdt                 20480  0
snd_soc_rockchip_i2s    16384  2
videobuf2_dma_sg       20480  1 rockchip_rga
snd_soc_rockchip_pcm    16384  1 snd_soc_rockchip_i2s
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
cw2015_battery         16384  0
hci_uart              114688  0
btqca                  16384  1 hci_uart
btsdio                 20480  0
btbcm                  20480  1 hci_uart
btintel                32768  1 hci_uart
brcmfmac              315392  0
bluetooth             430080  45 btqca,btsdio,btintel,hci_uart,btbcm,bnep,rfcomm
brcmutil               20480  1 brcmfmac
rockchipdrm           143360  26
cfg80211              368640  1 brcmfmac
dw_mipi_dsi            20480  1 rockchipdrm
dw_hdmi                49152  1 rockchipdrm
ecdh_generic           16384  2 bluetooth
analogix_dp            40960  1 rockchipdrm
ecc                    32768  1 ecdh_generic
snd_soc_es8316         40960  1
rockchip_thermal       24576  0
cec                    61440  1 dw_hdmi
rfkill                 40960  9 bluetooth,cfg80211
rc_core                57344  1 cec
rockchip_saradc        16384  0
drm_kms_helper        225280  4 dw_mipi_dsi,rockchipdrm,dw_hdmi,analogix_dp
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
pwm_bl                 16384  0
snd_soc_simple_card    20480  2
snd_soc_simple_card_utils    20480  1 snd_soc_simple_card
panel_simple           77824  0
crypto_user            16384  0
drm                   598016  26 gpu_sched,drm_kms_helper,dw_mipi_dsi,panel_simple,rockchipdrm,dw_hdmi,panfrost,analogix_dp
drm_panel_orientation_quirks    20480  1 drm
gpio_keys              24576  0
hid_multitouch         32768  0
The future is here! ARM laptops!
  Reply
#18
(06-09-2020, 04:29 PM)Opvolger Wrote:
Code:
[opvolger@pine64 ~]$ lsmod
Module                  Size  Used by
xt_conntrack           16384  1
xt_MASQUERADE          16384  1
nf_conntrack_netlink    53248  0
nfnetlink              16384  2 nf_conntrack_netlink
xt_addrtype            16384  2
iptable_filter         16384  1
iptable_nat            16384  1
nf_nat                 53248  2 iptable_nat,xt_MASQUERADE
nf_conntrack          159744  4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
bpfilter               28672  0
br_netfilter           28672  0
bridge                221184  1 br_netfilter
stp                    20480  1 bridge
llc                    20480  2 bridge,stp
overlay               118784  0
rfcomm                 57344  16
bnep                   28672  2
zram                   28672  1
uvcvideo              110592  0
joydev                 32768  0
snd_soc_hdmi_codec     16384  0
snd_soc_simple_amplifier    16384  1
hantro_vpu             90112  0
videobuf2_dma_contig    24576  1 hantro_vpu
panfrost               57344  10
gpu_sched              36864  1 panfrost
rockchip_rga           28672  0
dw_wdt                 20480  0
snd_soc_rockchip_i2s    16384  2
videobuf2_dma_sg       20480  1 rockchip_rga
snd_soc_rockchip_pcm    16384  1 snd_soc_rockchip_i2s
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
cw2015_battery         16384  0
hci_uart              114688  0
btqca                  16384  1 hci_uart
btsdio                 20480  0
btbcm                  20480  1 hci_uart
btintel                32768  1 hci_uart
brcmfmac              315392  0
bluetooth             430080  45 btqca,btsdio,btintel,hci_uart,btbcm,bnep,rfcomm
brcmutil               20480  1 brcmfmac
rockchipdrm           143360  26
cfg80211              368640  1 brcmfmac
dw_mipi_dsi            20480  1 rockchipdrm
dw_hdmi                49152  1 rockchipdrm
ecdh_generic           16384  2 bluetooth
analogix_dp            40960  1 rockchipdrm
ecc                    32768  1 ecdh_generic
snd_soc_es8316         40960  1
rockchip_thermal       24576  0
cec                    61440  1 dw_hdmi
rfkill                 40960  9 bluetooth,cfg80211
rc_core                57344  1 cec
rockchip_saradc        16384  0
drm_kms_helper        225280  4 dw_mipi_dsi,rockchipdrm,dw_hdmi,analogix_dp
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
pwm_bl                 16384  0
snd_soc_simple_card    20480  2
snd_soc_simple_card_utils    20480  1 snd_soc_simple_card
panel_simple           77824  0
crypto_user            16384  0
drm                   598016  26 gpu_sched,drm_kms_helper,dw_mipi_dsi,panel_simple,rockchipdrm,dw_hdmi,panfrost,analogix_dp
drm_panel_orientation_quirks    20480  1 drm
gpio_keys              24576  0
hid_multitouch         32768  0

Thanks!

For reference, this is the lsmod from Pinebook Pro with non working webcam:

Update: uvcvideo is in the output for lsmod working webcam while it's nowhere to be found in that of the non-working webcam pbp..
I've already tried doing an modprobe uvcvideo it seems to add it to usbcore when I do dmesg | grep video but still webcam is not working after that (even after reboot as well) Huh
Code:
lsmod
Module                  Size  Used by
squashfs               53248  0
loop                   40960  0
xt_conntrack           16384  1
xt_MASQUERADE          16384  1
nf_conntrack_netlink    53248  0
nfnetlink              16384  2 nf_conntrack_netlink
xt_addrtype            16384  2
iptable_filter         16384  1
iptable_nat            16384  1
nf_nat                 53248  2 iptable_nat,xt_MASQUERADE
nf_conntrack          159744  4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
bpfilter               28672  0
br_netfilter           28672  0
bridge                221184  1 br_netfilter
stp                    20480  1 bridge
llc                    20480  2 bridge,stp
overlay               118784  0
snd_seq_dummy          16384  0
snd_hrtimer            20480  1
snd_seq                98304  7 snd_seq_dummy
snd_seq_device         20480  1 snd_seq
rfcomm                 57344  20
bnep                   28672  2
joydev                 32768  0
snd_soc_hdmi_codec     16384  0
snd_soc_simple_amplifier    16384  1
panfrost               57344  8
gpu_sched              36864  1 panfrost
snd_soc_rockchip_i2s    16384  2
snd_soc_rockchip_pcm    16384  1 snd_soc_rockchip_i2s
hci_uart              114688  0
rockchip_rga           28672  0
dw_wdt                 20480  0
btqca                  16384  1 hci_uart
hantro_vpu             90112  0
btbcm                  20480  1 hci_uart
btsdio                 20480  0
videobuf2_dma_sg       20480  1 rockchip_rga
btintel                32768  1 hci_uart
videobuf2_dma_contig    24576  1 hantro_vpu
bluetooth             430080  45 btqca,btsdio,btintel,hci_uart,btbcm,bnep,rfcomm
v4l2_mem2mem           45056  2 hantro_vpu,rockchip_rga
videobuf2_vmalloc      20480  1 hantro_vpu
videobuf2_memops       20480  3 videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_dma_sg
cw2015_battery         16384  0
videobuf2_v4l2         36864  3 hantro_vpu,rockchip_rga,v4l2_mem2mem
videobuf2_common       57344  4 videobuf2_v4l2,hantro_vpu,rockchip_rga,v4l2_mem2mem
ecdh_generic           16384  2 bluetooth
brcmfmac              315392  0
ecc                    32768  1 ecdh_generic
brcmutil               20480  1 brcmfmac
cfg80211              368640  1 brcmfmac
rockchipdrm           143360  20
rfkill                 40960  9 bluetooth,cfg80211
rockchip_saradc        16384  0
rockchip_thermal       24576  0
dw_mipi_dsi            20480  1 rockchipdrm
dw_hdmi                49152  1 rockchipdrm
snd_soc_es8316         40960  1
analogix_dp            40960  1 rockchipdrm
cec                    61440  1 dw_hdmi
rc_core                57344  1 cec
drm_kms_helper        225280  4 dw_mipi_dsi,rockchipdrm,dw_hdmi,analogix_dp
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
pwm_bl                 16384  0
snd_soc_simple_card    20480  2
panel_simple           77824  0
snd_soc_simple_card_utils    20480  1 snd_soc_simple_card
crypto_user            16384  0
drm                   598016  24 gpu_sched,drm_kms_helper,dw_mipi_dsi,panel_simple,rockchipdrm,dw_hdmi,panfrost,analogix_dp
drm_panel_orientation_quirks    20480  1 drm
gpio_keys              24576  0
hid_multitouch         32768  0
  Reply
#19
Same problem here. PBP shipped in June. No way to get the webcam to work



compared to others there are no



/dev/video3

/dev/video4



here



From a running webcam PBP:



Code:
v4l2-ctl --list-devices
rockchip,rk3399-vpu-enc (platform: hantro-vpu):
        /dev/video1
        /dev/video2
        /dev/media0

rockchip-rga (platform:rga):
        /dev/video0

USB Camera: USB Camera (usb-fe3c0000.usb-1.2):
        /dev/video3
        /dev/video4
        /dev/media1


From my - no webcam system:

Code:
v4l2-ctl --list-devices
rockchip,rk3399-vpu-enc (platform: hantro-vpu):
        /dev/video1
        /dev/video2
        /dev/media0

rockchip-rga (platform:rga):
        /dev/video0


I have the fear that this is an hardware problem within the latest PBP models delivered in June!


Where can I contact Pine and check this out?
  Reply
#20
(06-16-2020, 09:31 AM)firefox-58 Wrote: Same problem here. PBP shipped in June. No way to get the webcam to work


I have the fear that this is an hardware problem within the latest PBP models delivered in June!


Where can I contact Pine and check this out?

You can try opening a support ticket here, but the response time for their 2nd line of support... Let's just say it isn't great. I created a ticket back on June 7th, they forwarded it to their engineering team on June 9th, and I still haven't heard from them.
  Reply


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,636 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: 4 Guest(s)