This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Issues with Empia + saa7115 on BBB

Hi all,

I'm having trouble to make an SAA7115 (Actually it's the generic
GM7113 version) video capture board to work on a beagle board running
Android (4.0.3).
For some reason I cannot capture any image, it always output a green image file.
The kernel is Linux-3.2.0

My current approach is the simplest I have found so far, to avoid any
issues with other sw layers. I'm forcing a 'dd' from the /dev/video
device.

dd if=/dev/video0 of=ImageOut.raw bs=10065748 count=1

And then I open the raw image file converting it on an image editor.

In my ubuntu PC (kernel 3.13.0) it works fine. however on the Beagle
Bone with android it fails to get an image.

I have now tried with a Linux (angstron) on beagle bone with 3.8
kernel and this time is even worse, the 'dd' command does not result
on any byte written on the output file.

The v4l2-ctl works fine on the 3 environments. I can even set values
as standard, input etc...

I have attached the dmesg of the environments here:

* Android - dmesg http://pastebin.com/AFdB9N9c

* Linux Angstron - dmesg http://pastebin.com/s3S3iCph
* Linux Angstron - lsmod http://pastebin.com/vh89TBKQ

* Desktop PC - dmesg http://pastebin.com/HXzHwnUJ

I have one restriction on the kernel of android due the HAL drivers
for BBB. So changing kernel is not a choice, however I have tried with a newer kernel (3.14) and I can't even get a stream from /dev/video0. The file is always empty.

Here is the dmesg of it:
http://pastebin.com/pm720UnR

It is correctly identifying the device, however it cannot grab any
bytes from the dd command as below:
dd if=/dev/video0 of=ImageOut.raw bs=10065748 count=1

Any tips on how to investigate it further?


Thanks in advance