Caglar,

The state of those two files is such that they are not ready to be
used.  V4L2 has changed enough that you will need to dig in and
understand the drivers enough to make the changes.  For example, the
videobuf code underwent an overhaul such that videobuf_init now needs to
be changed to videobuf_queue_sg_init.  There doesn't need to be too many
changes to these files to get them to work, but to make the changes, you
will need to understand these at a level that you probably didn't expect to.

I would suggest:

1) Turn on debug in those files.
2) Look in the git repository for the videobuf changes that were made
(first commit of the present davinci tree).
3) Avoid making changes just to get it to build.  I did just as you did
and found out the hard way that most changes required something more
than a quick fix.  (SA_INTERRUPT being the exception).

Good luck.

Steve

Yusuf Caglar AKYUZ wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to make tvp5146 capture interface work in 2.6.28 with DVEVM.
There were some build errors related with davinci_vpfe.c, I fixed them.
Current situation is that a simple application can open video device,
query capabilities and perform some IOCTLs. It can even detect my PAL
analog camera. However, capturing/streaming is not working due to some
bugs in the driver, and my kernel crashes.

I had to make some functional changes in the driver to fix build errors,
 and I suspect I need to do more. But I'm not sure if I'm on the correct
route or not.

Am I missing something or video capture interface at the moment is
broken with 2.6.28? [1]

Thanks,
Caglar

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkl4VcwACgkQ/nL+S5dojejmWQCfW5/CiAdh9ppNUWl+gey5nPe4
8J8An3A5j1d4wcf7/fgMyreOq/Z7qSiP
=52Mw
-----END PGP SIGNATURE-----

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source




_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to