From: Carl Karsten <carl@personnelware.com>
To: video4linux-list@redhat.com
Subject: Re: minimum v4l2 api - framework
Date: Sat, 15 Nov 2008 14:59:44 -0600 [thread overview]
Message-ID: <491F3840.4030301@personnelware.com> (raw)
In-Reply-To: <491CB0A6.9080509@personnelware.com>
Tomorrow (Nov 16) I will be at a Linuxfest, where I am going to try to find
someone up for writing this driver.
I am assuming there is some code they should use as a starting point.
Either
A) "This is the generic/abstract code that can be extended to make a
specific/concrete driver" (what I would call a framework)
B) "driver foo.c is a good example of how a V4L2 driver should be written; copy
it and swap out the hardware specific code."
C) "vivi.c is close enough. you should really just work on fixing it."
I am hoping the correct answer is:
http://linuxtv.org/hg/~hverkuil/v4l-dvb-media2/file/6292505ca617/linux/Documentation/video4linux/v4l2-framework.txt
If someone can give me a rough stub to start with, that would make tomorrow's
work more promising.
Carl K
Carl Karsten wrote:
> Apparently vivi is messed up enough that maybe it makes sense to write a new
> test driver.
>
> What is the minimum interface a v4l2 driver could have?
>
> Something like: it registers itself as /dev/videoN, and
> QueryCaps returns nothing.
> It does not return any image. (yeah ?)
> It can be unloaded.
>
> and anything else that someone thinks is required for a well behaved driver that
> follows the spec.
>
> The plan is to start with that, get it and my tester working in harmony, then
> start adding things to both sides of the fence. I am thinking additional
> features will be enabled via module parameters, so that it can always be dumbed
> down back to it's minimum.
>
> Carl K
>
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-11-15 20:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 22:56 minimum v4l2 api Carl Karsten
2008-11-15 20:59 ` Carl Karsten [this message]
2008-11-15 22:07 ` minimum v4l2 api - framework Hans Verkuil
2008-11-15 22:45 ` Carl Karsten
[not found] ` <200811302207.24073.hverkuil@xs4all.nl>
[not found] ` <49334CA0.4070100@personnelware.com>
[not found] ` <200812011429.44616.hverkuil@xs4all.nl>
2008-12-01 17:30 ` Carl Karsten
2008-12-01 22:24 ` CityK
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=491F3840.4030301@personnelware.com \
--to=carl@personnelware.com \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox