Hi,

I was recently working on a project which adds support for DVB-T, DVB-C,
analog TV and FM Radio to Linux [1]
The actual driver consists of a kernel bridge which acts as a databridge to
userland for the USB endpoints,
and the main configuration which is done by a daemon in userland which runs
as root and submits the control 
codes to the i2c components as well as to the usb bridge using raw USB
commands (usbdevfs).
There's a userspace library available which intercepts the Linux
video4linux2 and linux DVB calls and forwards
them through a unix domain socket to the daemon which has access to the raw
USB control interface.
(the library can run as normal unprivileged user and forwards the data to
the privileged user who runs the daemon).

The main question for opensolaris is, is there any interest in such a
framework?

The USB Endpoints will deliver either a valid MPEG-TS (for DVB-T or DVB-C)
or raw YUY2 frames for analog TV
and/or raw PCM for radio/analog TV

The configuration part was entirely implemented in userland, so what would
be expected by opensolaris would be:
1.) a userland USB Control Message interface to the kernel for a privileged
user
2.) some nodes which just pipe the USB data from the endpoints to userland

this system might also be adoptable for PCI devices.

The userland framework is supposed to intercept the native Linux DVB or
V4L2 calls either by using LD_PRELOAD
or by implementing an available user library directly into the target
application

best regards,
Markus

[1] http://mcentral.de/wiki/index.php5/Terratec_HTC_XS?SL



Reply via email to