[linux-dvb] [PATCH] add device node locking possibility to dvbcore
stoth at hauppauge.com
Thu Aug 9 18:33:44 CEST 2007
Markus Rechberger wrote:
> Following patch adds a rather primitive way to temporary lock dvb
> devicenodes, this can be useful for hybrid devices which use the
> video4linux framework for the analogue TV part and the dvb framework for
> digital TV if only one mode can be accessed at a time.
> Signed-off-by: Markus Rechberger <markus.rechberger at amd.com>
Call me dumb but I don't understand how this patch helps v4l devices. :)
Allocation/management of a single card resource doesn't belong inside
the dvb framework, these answers need to come from the bridge-frameworks
(via callbacks from dvb-core or the analog equivalent) who are better
placed to make the decision about hybrid tuners, bus capacity or
allocation, in use devices.
As a working example, I added similar support in my older HVR3000 tree
where two frontends share a single transport bus. The code is old but it
demonstrates a solution, much the my earlier patches for shared
DVB/Blackbird boards also.
I understand how this patch helps the current dvb tree, it stops
multiple people opening a device but that's it. ... Or, maybe I've just
missed to point.
More information about the linux-dvb