From: Gerd Knorr <kraxel@bytesex.org>
To: volodya@mindspring.com
Cc: video4linux-list@redhat.com, livid-gatos@linuxvideo.org,
linux-kernel@vger.kernel.org
Subject: Re: [V4L] Re: [RFC] alternative kernel multimedia API
Date: Tue, 6 Nov 2001 17:45:13 +0100 [thread overview]
Message-ID: <20011106174513.A7462@bytesex.org> (raw)
In-Reply-To: <20011105225201.A17854@bytesex.org> <Pine.LNX.4.20.0111061033150.4730-100000@node2.localnet.net>
In-Reply-To: <Pine.LNX.4.20.0111061033150.4730-100000@node2.localnet.net>
> > drivers to ask for specific minor numbers (so you can give your devices
> > fixed minor numbers using insmod options). And this has _NOTHING_ to do
> > with the API visible to the applications.
>
> It has to do with the API visible to the driver.
Yes. Why do you mix the two? These are completely separate issues.
> > Such clashes shouldn't happen as v4l has ioctl number ranges for driver
> > private stuff which can be used for such tests and shouldn't cause
> > clashes with new, official ioctls.
>
> I did not know that - thanks. Where do I find notes on this ?
BASE_VIDIOCPRIVATE is defined in videodev.h and used by various drivers
in drivers/media/video
> > Beside that I don't see why breaking applications is a problem for
> > _experimental_ interfaces. On the one hand you want to have the
>
> It is a problem because I want as many people as possible to try them.
> This is the only way to work out installation dependent bugs. There is a
> lot of variety out there: Redhat, Mandrake, Slackware, Suse, ix86,
> PowerPC, Alpha, Sparc.. Each is a little different.
And how installation issues are related to API design / testing?
> > flexibility to change interfaces easily to test them, on the other hand
> > you care alot about compatibility and stuff. You can't get both, I
> > don't see a way to do that without making either the drivers or the
> > applications (or both) very complex.
>
> Now here you are wrong. C have not changed in a while and you can still
> write any programs in it ;) As for complexity.. I don't mind 10000 line
> file if it is backed up by good algorithm. The good news is that with this
> approach we separate interface stuff from driver dependent stuff - and,
> hence, the most complex part can be easily tested.
I doubt this. IMHO the complex part isn't the read/write interface and
the string parsing (I'd expect this can easily separated out into some
kind of library / kernel module / whatever). The complex part is to
keep the backward compatibility while changing/improving the interfaces
(which is one of your goals with the new approach, right?), and I don't
see a way to handle that in generic, driver-independant code ...
Gerd
--
Netscape is unable to locate the server localhost:8000.
Please check the server name and try again.
next prev parent reply other threads:[~2001-11-06 16:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <slrn9tiq3v.69j.kraxel@bytesex.org>
2001-10-26 15:19 ` [V4L] Re: [RFC] alternative kernel multimedia API volodya
2001-10-26 17:52 ` Gerd Knorr
2001-10-26 21:28 ` volodya
2001-10-29 12:40 ` Gerd Knorr
2001-10-29 13:21 ` volodya
2001-10-30 9:51 ` Gerd Knorr
2001-11-02 15:10 ` volodya
2001-11-05 8:52 ` Gerd Knorr
2001-11-05 20:56 ` volodya
2001-11-05 21:52 ` Gerd Knorr
2001-11-06 15:41 ` volodya
2001-11-06 16:45 ` Gerd Knorr [this message]
2001-10-30 11:43 ` Mark McClelland
2001-11-04 8:39 ` Albert D. Cahalan
2001-11-04 17:44 ` volodya
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=20011106174513.A7462@bytesex.org \
--to=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
--cc=livid-gatos@linuxvideo.org \
--cc=video4linux-list@redhat.com \
--cc=volodya@mindspring.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.