|
Hello,
I am trying to use camera in Ubuntu Mate / Debian 8 (laboris img). However my cam is not working.
Maybe someone could share knowledge?
P.S. I was trying to read other posts, however same result :/
My USBs, LAN, GPIO are working fine. Except camera...
I am connecting CAM to OPI PC with extension board.
Some logs:
- root@OrangePI:~# ls /media/boot/
- lib OPI_GPIO.txt orange_pi_pc.fex script.bin uImage
Copy code- root@OrangePI:~# modprobe -f vfe_v4l2
- ...
- [ 72.562400] cci: module_layout: kernel tainted.
- [ 72.562433] Disabling lock debugging due to kernel taint
- [ 72.564892] [VFE]cci probe start cci_sel = 0!
- [ 72.564976] [VFE]cci probe end cci_sel = 0!
- [ 72.565157] [VFE]cci_init end
- [ 72.680818] [VFE]Welcome to Video Front End driver
- [ 72.681167] [VFE]pdev->id = 0
- [ 72.681177] [VFE]dev->mipi_sel = 0
- [ 72.681184] [VFE]dev->vip_sel = 0
- [ 72.681191] [VFE]dev->isp_sel = 0
- [ 72.687314] [VFE_WARN]vfe vpu clock is null
- [ 72.694887] [VFE]..........................vfe clk open!.......................
- [ 72.694919] [ISP] isp platform_id = 5!
- [ 72.695057] [VFE]vfe_init end
- [ 72.700064] [VFE]probe_work_handle start!
- [ 72.700088] [VFE]v4l2 subdev register input_num = 0
- [ 72.700100] [VFE]vfe sensor detect start! input_num = 0
- [ 72.700114] [VFE]Find sensor name is "gc2035", i2c address is 78, type is "YUV" !
- [ 72.700126] [VFE]Sub device register "gc2035" i2c_addr = 0x78 start!
- [ 72.700138] [VFE_ERR]Error registering v4l2 subdevice No such device!
- [ 72.700148] [VFE_ERR]vfe sensor register check error at input_num = 0
- [ 72.700428] [VFE]V4L2 device registered as video0
- [ 72.700460] [VFE]..........................vfe clk close!.......................
- [ 72.700483] [VFE]probe_work_handle end!
- [ 72.710907] [VFE]vfe_open
- [ 72.710926] [VFE]..........................vfe clk open!.......................
- [ 72.710958] [VFE]vfe_open ok
- [ 72.711134] [VFE]vfe_close
- [ 72.711146] [VFE]vfe select input flag = 0, s_input have not be used .
- [ 72.711163] [VFE]..........................vfe clk close!.......................
- [ 72.711192] [VFE]vfe_close end
Copy code Moreover, i2cdump do not detect my CAM too :/
- root@OrangePI:~# i2cdetect -y 1
- 0 1 2 3 4 5 6 7 8 9 a b c d e f
- 00: -- -- -- -- -- -- -- -- -- -- -- -- --
- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 70: -- -- -- -- -- -- -- --
- root@OrangePI:~# i2cdetect -y 0
- 0 1 2 3 4 5 6 7 8 9 a b c d e f
- 00: -- -- -- -- -- -- -- -- -- -- -- -- --
- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 70: -- -- -- -- -- -- -- --
Copy code When trying fswebcam, I get:
- root@OrangePI:~# fswebcam
- --- Opening /dev/video0...
- Trying source module v4l2...
- /dev/video0 opened.
- No input was specified, using the first.
- Unable to query input 0.
- VIDIOC_ENUMINPUT: Invalid argument
Copy code Moreover, I think that something must be made with .fex. But I do not know what.
Any ideas what is wrong?
|
|