Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Camera problem: /dev/video0 not present

Featured Replies

Could you give some more information, run:

 

lsusb

 

dmesg | grep usb

 

sudo apt-get install v4l-utils, after that run v4l2-ctl --all

 

 

 ... /dev/video0 is not present ...

 

v4l2-ctl won't help as there is no video4linux device

IMHO: A problem in the vfe_v4l2 module.

I created a topic with a similar problem (OS Armbian5.25), the solution isn't found yet

  • Author

I have downgraded (via cmd apt-get install linux-image-sun8i=5.20)to 3.4.112 as suggested by some ppl suggested

 

root@orangepilite:~# uname -a
Linux orangepilite 3.4.112-sun8i #14 SMP PREEMPT Wed Sep 14 20:29:31 CEST 2016

 

Now /dev/video0 is present however, altough camera is connected I' getting sensor error:

 

root@orangepilite:~# dmesg | grep GC2035
[   44.418232] [CSI_ERR][GC2035]sensor_read err at sensor_detect!
[   44.418241] [CSI_ERR][GC2035]chip found is not an target chip.

 

  • Author

Maybe it's not a fix. but solved my problem:

1. download https://dl.armbian.com/orangepilite/archive/Armbian_5.20_Orangepilite_Debian_jessie_3.4.112.7z

2. add WiFI connection: wpa_passphrase "ssid" "wirelesskey" >/etc/wpa_supplicant.conf

3. make autconnect on start-up:

   - nano /etc/rc.local

   - add line before "exit 0": sudo wpa_supplicant -B -D nl80211 -i wlan0 -c wpa_supplicant.conf
   - add line before "exit 0": sudo dhclient wlan0

4. reboot

5. after login run: apt-get update

6. reboot

7. after login install drivers:

- sudo modprobe gc2035
- sudo modprobe vfe_v4l2
8. instal your camera program, ie: sudo apt-get install fswebcam
9. grab the pic, ie: fswebcam -r 1280x720 --no-banner image.jpg
 
Enjoy!
 
 

 

Maybe it's not a fix. but solved my problem:

1. download https://dl.armbian.com/orangepilite/archive/Armbian_5.20_Orangepilite_Debian_jessie_3.4.112.7z

2. add WiFI connection: wpa_passphrase "ssid" "wirelesskey" >/etc/wpa_supplicant.conf

3. make autconnect on start-up:

   - nano /etc/rc.local

   - add line before "exit 0": sudo wpa_supplicant -B -D nl80211 -i wlan0 -c wpa_supplicant.conf

   - add line before "exit 0": sudo dhclient wlan0

4. reboot

5. after login run: apt-get update

6. reboot

7. after login install drivers:

- sudo modprobe gc2035
- sudo modprobe vfe_v4l2
8. instal your camera program, ie: sudo apt-get install fswebcam
9. grab the pic, ie: fswebcam -r 1280x720 --no-banner image.jpg
 
Enjoy!
 
 

 

The camera ceased to work from the Armbian 5.25 version. Now I will try the 5.26 version collected from source codes  

In version 5.26 same problem. The camera doesn't work.

root@orangepipc:~# modprobe gc2035

root@orangepipc:~# modprobe vfe_v4l2

root@orangepipc:~# dmesg

...SKIP...

[  157.331945] [iSP] isp platform_id = 5!

[  157.408206] [CSI_ERR][GC2035]sensor_read err at sensor_detect!
[  157.408223] [CSI_ERR][GC2035]chip found is not an target chip.
 

root@orangepipc:~# uname -a

Linux orangepipc 3.4.113-sun8i #16 SMP PREEMPT Sat Feb 25 18:46:40 +07 2017 armv7l armv7l armv7l GNU/Linux
 
root@orangepipc:~# cat /etc/armbian-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=orangepipc
BOARD_NAME="Orange Pi PC"
VERSION=5.26
LINUXFAMILY=sun8i
BRANCH=default
ARCH=arm
IMAGE_TYPE=stable
 
  • Author

UPDATE:

autoconnect unfortunattely does not work as I thought it will. So either you need to type the lines everytime after boot or use a network manager:

http://forum.odroid.com/viewtopic.php?f=52&t=25472&

 

in terms of camera:

I found that although images/photos are taken, in fact they are blank (or actually solid black)...

 

Solution of the black image is the file format. the command can capture a good image:

fswebcam -r 1600x1200 -p YUV420P --jpeg 100 --save image.jpg

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.