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.

USB Camera not working properly on Orange PI PC+

Featured Replies

Hi 
I managed to get my usb camera taking pictures alright on Orange PI PC+ (VERSION=5.37.180112), 

$uname -a

Linux orangepipcplus 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l armv7l armv7l GNU/Linux

And I even got the GC2035 working sort of with:
$sunxi-pio -m "PG11<1><0><1><1>"
$modprobe gc2035
$modprobe vfe_v4l2
But I have no /dev/media0 or /dev/media1. So I cannot re-focus the web camera (that supports it; Logitec C920).

 

I can re-focus my usb camera on my Orange PI Prime (VERSION=5.37.180120)

using  

$uvcdynctrl -v -d /dev/video0 --set='Focus (absolute)' $COUNT. Where i also have the /dev/media0 (or 1 if I plug in 2 cams)

So why does it not work with Orange Pi PC+? I know it is a different kernel & chipset.

Orange PI Prime says

$uname -a

Linux orangepiprime 4.14.14-sunxi64 #61 SMP Sat Jan 20 03:18:42 CET 2018 aarch64 aarch64 aarch64 GNU/Linux

(did not get a /boot/dtb tree for 4.14.15 or 4.14.16 so I hang around with the old one)

(Actually I find Orange PI Prime more mature than Orange PI PC+, with less number of crashes especially after tuning down ram speed.) 

Both are primary used for controlling 3d printers with octoprint, and taking snapshots with fswebcam.

  • Author

Thank you Igor much appreciated. Yes I got /dev/media0 (for the USB camera). 

However I got three small problems left, probably due to this image in naming is for Orange Pi PC, not Orange Pi PC+

1) how do I enable wifi? It was mostly working on the previous kernel (minor hickups a couple of times per day)

2) how do I enable the GC2035 camera? It was working on the previous kernel. Now the module is missing. I haven't compiled kernel since 2.4 but I guess I will have to dive into bitbake/yocto.

3) how do I get my eMMC back? It was working out of the box on the old kernel. (And I got the old kernel on the eMMC)

old kernel gave:

$grep mmcblk1 dmesg.old-kernel
 mmcblk1: mmc2:0001 8WPD3R 7.28 GiB
[    1.315152] mmcblk1boot0: mmc2:0001 8WPD3R partition 1 4.00 MiB
[    1.315384] mmcblk1boot1: mmc2:0001 8WPD3R partition 2 4.00 MiB
[    1.316269]  mmcblk1: p1
[    1.317898]  mmcblk1boot1: unknown partition table
[    1.319265]  mmcblk1boot0: unknown partition table
[    1.319493] mmcblk mmc2:0001: Card claimed for testing.
[    7.509553] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts:                       (null)
[   10.316476] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro
but noting now.

$dmesg|grep mmcblk1

$

 

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.