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.

Orange pi câmera gc2035 works fine with v4l2 applications

Featured Replies

Hi, i discovered and solved incompatible gc2035 driver with some v4l2 applications.

 

I made some modifications to the 3.4.39-02 kernel-lobo:

 

gc2035: of 8fps to ~20fps eand improvements in the matter of light.

The original driver accepts only 800×600, added the following resolutions: 800×600/640×480/320×240

sunxi_wdt: builtin to module (greater flexibility to change the module options) / pr_info some functions, causing flood in kern.log (switched to pr_debug)

CONFIG_CMDLINE=â€earlyprintk=ttyS0,115200 loglevel=5 initcall_debug=0 console=ttyS0,115200 console=tty0 fsck.mode=force fsck.repair=yes init=/init ipv6.disable=1

kernel size: ~59mb

 

For more informations:

http://www.sistemasembarcados.org/2016/04/orange-pi-camera-with-v4l2loopback-vidcopy.html

hello Leonardo :)

i have an orange pi pc and gc2035 camera and  i want to program with python using picamera package is that possible please ?

and for the OrangePI-Kernel i can't build it and i have always this message 

Error: KERNEL NOT BUILT

Thank you, for your input.

I have tried to make v42loopback, but it fails during make operation pointing to sun8i.110 kernel, with missing build folder. (As far as I understood correct one shold be 112 version, but don't know how to change symlink to it)

 

(I tried to deploy it on armbian 5.05)

Hi my friend!!

 

I will make a kernel fork and apply the changes, basically just change the gc2035.c by https://github.com/lhelontra/OrangePI-Kernel/commit/cecec660a3af2f44b39791660f48df2b4367bef7

 

:D

Leonardo,

 

I'm excited to try your patch. Have you had an opportunity to submit a pull request to the armbian project? i saw a a gc2035 patch in the unresolved folder but it didnt look like your changes

 

Sent from my SM-G920V using Tapatalk

The sources repository show the inclusion of a patched gc2035 kernel module submitted on June 11.  Is there a way I can verify if this patch in included in my recently updated 5.16 system running on an orange pi one?  My csi cam on an external dongle is still causing problems and I'm not sure if I'm running this patch. How long do changes in the repository take to make into downstream systems on the street, and is there a way I can "check"?

Is there a way I can verify if this patch in included in my recently updated 5.16 system running on an orange pi one?

 

Sure, use uname and modinfo:

root@orangepipcplus:~# uname -a
Linux orangepipcplus 3.4.112-sun8i #2 SMP PREEMPT Wed Jul 13 16:38:07 CEST 2016 armv7l armv7l armv7l GNU/Linux
root@orangepipcplus:~# modinfo gc2035
filename:       /lib/modules/3.4.112-sun8i/kernel/drivers/media/video/sunxi-vfe/device/gc2035.ko
license:        GPL
description:    A low-level driver for GalaxyCore gc2035 sensors
author:         @lex
author:         leonardo lontra
author:         raymonxiu
alias:          i2c:gc2035
depends:        cci,vfe_subdev
intree:         Y
vermagic:       3.4.112-sun8i SMP preempt mod_unload modversions ARMv7 p2v8 
parm:           hres:hres=0 (640x480|1280x720|1600x1200 - 15 FPS), hres=1 (800x600|1600x1200 - 10 FPS), hres=2 (320x240|640x480|800x600 - 20 FPS), hres=3 (320x240|352x288|640x480 - 15 FPS) (default=0) (uint)
parm:           mclk:mclk override (default=0) (uint)
parm:           frate:frate override (default=0) (uint)
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.