OS08A10 camera doesn't work on VIM3

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

Tried to access the camera on android 9 clear AOSP build with default app and on vim3-ubuntu-20.04-gnome-linux-4.9-fenix-1.4-221229-emmc.img with guvcview.

Please describe your issue below:

I’m not sure, but I think I burned the camera. I read about this super ability of the camera only after tried to connect it, then I found out that it didn’t work, disconnected it from device and read docs. Still, I hope that something is wrong with the firmware. Connecting the camera, it clicks once or twice. There are no logs from android, but the logs from guvcview on ubuntu are full of errors related to V4L2_CORE.

Post a console log of your issue below:

guvcview: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libSDL2-2.0.so.0)
guvcview: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libSDL2-2.0.so.0)
guvcview: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libportaudio.so.2)
guvcview: /lib/aarch64-linux-gnu/libasound.so.2: no version information available (required by /lib/aarch64-linux-gnu/libportaudio.so.2)
V4L2_CORE: Unable to find parent usb device.V4L2_CORE: ERROR opening V4L2 interface for /dev/video12
Failed to query video capabilities: Operation not permitted
libv4l2: error getting capabilities: Operation not permitted
V4L2_CORE: ERROR opening V4L2 interface for /dev/v4l-subdev0
Failed to query video capabilities: Operation not permitted
libv4l2: error getting capabilities: Operation not permitted
V4L2_CORE: ERROR opening V4L2 interface for /dev/v4l-subdev1
Failed to query video capabilities: Operation not permitted
libv4l2: error getting capabilities: Operation not permitted
V4L2_CORE: ERROR opening V4L2 interface for /dev/v4l-subdev2
Using mplane plugin for capture 
V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.GUVCVIEW: version 2.0.6
Using mplane plugin for capture 
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
V4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervals
V4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA libpcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Expression 'ioctl( devHandle, SNDCTL_DSP_SPEED, &sr )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 421
Expression 'ioctl( devHandle, SNDCTL_DSP_SPEED, &sr )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 421
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
V4L2_CORE: (VIDIOC_G_PARM) error: Inappropriate ioctl for device
V4L2_CORE: Unable to set 1/25 fps
V4L2_CORE: (VIDIOC_G_PARM) error: Inappropriate ioctl for device
control[0]:(unknown - 0x6) 0x980001 'User Controls'
control[13]:(unknown - 0x6) 0x9a0001 'Camera Controls'
control[20]:(unknown - 0x6) 0xf00001 'ARM ISP Controls'
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: (VIDIOC_G_PARM) error: Inappropriate ioctl for device
V4L2_CORE: Unable to set 1/1 fps
V4L2_CORE: Could not grab image (select timeout): Inappropriate ioctl for device
V4L2_CORE: Could not grab image (select timeout): Inappropriate ioctl for device
V4L2_CORE: Could not grab image (select timeout): Inappropriate ioctl for device

the last one repeats until I force quit from the app.
I already fixed few first errors by reinstalling libasound.

@numbqq, did I burned my camera? :slight_smile:

What you did with the camera?
You tried both Android and Ubuntu it all doesn’t work?

Nothing special, I hope. As I said before, I connected it, disconnected because it didn’t worked, read docs about the camera.
Now I don’t remember how I connected it the first time. How can I check if the camera burned or not?

You are right. Btw I connected my old usb camera, works perfect with guvcview on Ubuntu.

@numbqq so what do you say? how to find out that the camera is burnt?

Hello @AllCach

If you connected the the camera in the wrong way it may be burnt, you can contact out after-sales service.