AnsweredAssumed Answered

i.mx sabrelite (BD-SL-I.MX6) video devices on ubuntu

Question asked by ssinfod on Feb 1, 2016
Latest reply on Feb 1, 2016 by igorpadykov

Hello, I have an i.mx6 sabrelite (BD-SL-I.MX6).

I'm using this ubuntu 14.04 trusty image. (https://boundarydevices.com/ubuntu-trusty-for-i-mx6-boards-june-2015-kernel-3-10-53/)

I have some questions about video devices. (/dev/video)

 

Q1) If I type "ls /dev/video*", I see 5 devices:

/dev/video0

/dev/video1

/dev/video2

/dev/video16

/dev/video17

 

Why is there so many video devices ?

What are these devices corresponding to on the board ?

Why is there a gap between 2 and 16 ?

 

Also, I tried to read the video format but I have the following answer:

v4l2-ctl -d /dev/video0 --list-formats-ext

Failed to open /dev/video0: Resource temporarily unavailable

v4l2-ctl -d /dev/video1 --list-formats-ext

Failed to open /dev/video1: Resource temporarily unavailable

v4l2-ctl -d /dev/video2 --list-formats-ext

Failed to open /dev/video2: Resource temporarily unavailable

v4l2-ctl -d /dev/video16 --list-formats-ext

ioctl: VIDIOC_ENUM_FMT

v4l2-ctl -d /dev/video17 --list-formats-ext

ioctl: VIDIOC_ENUM_FMT

 

Are they devices working OK ?

 

Q2) I also have another question about a USB Frame Grabber. (Also know as Easycap with a Syntek 1160 chip)

(See this link: https://linuxtv.org/wiki/index.php/Easycap)

 

I know that this driver is supported in the mainline kernel.

https://github.com/torvalds/linux/tree/master/drivers/media/usb/stk1160

 

Also, when I plug the Easycap device in the USB of the Sabrelite I see the device correctly with lsusb.

Bus 001 Device 013: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device

 

However, it does not appear under /dev/video3 as it normally do with other computer.

 

Any idea what is wrong ?

Is the stk1160 module supported in this image ?

Should I recompile the stk1160 module and insert it ?

 

ssinfod

Outcomes