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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,099 Views
ssinfod
Contributor IV

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

0 Kudos
1 Reply

555 Views
igorpadykov
NXP Employee
NXP Employee

Hi ssinfod

for video numbering one can look at V4L2 documentation and check

https://boundarydevices.com/i-mx6-frequently-asked-questions-and-answers/

for usb suggest to create new thread

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos