Full Version: Camera is working on Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
The camera module is working on Linux 3.10.102.
Have a look here:
kewl including guvcview into the next debian image release (Mate and XFCE)
PKernel 3.10.102 longsleep, get
My modified guvcview
@lex, this?
updated to include pine64 yet?
btw, thanks. now i just need a camera.
nice... now i just need my camera to get here...
(06-22-2016, 10:47 PM)dkryder Wrote: [ -> ]@lex, this?
updated to include pine64 yet?
btw, thanks. now i just need a camera.

Yes, updated to compile on pine64+. 

BTW, if someone has hm5065 module should update to 3.10.102 and compile DTB and give it a try, maybe this can work (only if the module works on Android).
Nice! I should order a camera module, but I still got two USB cams sitting around...
On (up to date) Ubuntu I get:

$ guvcview
GUVCVIEW: version 2.0.2
GUVCVIEW: couldn't open /home/ubuntu/.config/guvcview2/video0 for read: No such file or directory
V4L2_CORE: ERROR opening V4L interface: No such file or directory

(process:8056): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

$ uname -a

Linux localhost.localdomain 3.10.102-0-pine64-longsleep #7 SMP PREEMPT Fri Jun 17 21:30:48 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux

There is no /dev/video* and no /dev/v4l*

How do I fix this or go about finding the cause?

sudo -i

STEP 2 (After Reboot)
sudo -i

sudo -i
apt-get -f install
apt-get install v4l-utils
That doesn't help for me. I'm running Debian, uboot and kernel are updated to newest. It seems that system just doesn't see the camera at all. There's no /dev/video and dmesg shows v4l-modules loaded with "device as (null)". Full dmesg here.
There have been different information about the required kernel module. Some say it's hm5065, others ov6650 or s5k4ec. I've tried them all and several others with modprobe with no luck. At the moment my lsmod says
[email protected]:~# lsmod
Module                  Size  Used by
ov6650                 17419  0
soc_camera             23007  1 ov6650
soc_mediabus           12729  1 soc_camera
videobuf_core          21858  1 soc_camera
hm5065                 25664  0
s5k4ec                 33771  0
vfe_v4l2              747618  0
vfe_io                 34085  3 vfe_v4l2,hm5065,s5k4ec
mali                  199851  0
ir_lirc_codec          12756  0
lirc_dev               17032  1 ir_lirc_codec
ir_jvc_decoder         12487  0
ir_sanyo_decoder       12491  0
ir_sony_decoder        12489  0
ir_rc6_decoder         12520  0
ir_nec_decoder         12487  0
ir_rc5_decoder         12487  0
ir_mce_kbd_decoder     12628  0
ss                     33083  0
videobuf2_dma_contig    17668  1 vfe_v4l2
videobuf2_memops       12546  1 videobuf2_dma_contig
sunxi_ir_rx            12902  0
videobuf2_core         30952  2 vfe_v4l2,soc_camera
cedar_ve               17368  0
8723bs               1365012  0
cfg80211              374207  1 8723bs
Still no /dev/video, which I think should be there if v4l-device is working. The program suggested here (guvcview) does nothing because it can't find the video device.
Could someone with the soc camera working post their lsmod? Or dmesg? I have no idea where to continue now.
Pages: 1 2 3 4 5 6