[linux-dvb] dib0700 and analog broadcasting

Albert Comerma albert.comerma at gmail.com
Thu Aug 21 22:44:55 CEST 2008

I already discussed this dibcom + analog with Michael and Pattrick and I
ended with the conclusion that was better to wait a little for Michael (or
somebody) integrate the standard stuff with the dvb-usb api. Seeing there's
more people interested that what we thought initialy I just send the answer
from Pattrick which give good guides on the dibcom stuff. I'm not going to
start anything, as I said I think is better to wait a little.


Here's Pattrick answer for the interested (again thanks for your kind help);

Analog and DiBCom, *sigh*, it works, but it is a baby nobody really wants.
OK, let me tell you, what I had once in mind: The analog and DVB hardware
abstraction in the driver is signifacantly different. That's why it was
possible for me to create something like dvb-usb, but not so easy to have
something like v4l-usb, which abstracts the streaming and other common
Mainly the frontend-architecture is it, which makes DVB more powerful that
v4l hardware abstraction. But OK.
If there would be a generic streaming mechanism which works similar to the
one in dvb-usb, I think it would be relatively easy to add analog-support
for dvb-usb or to add a analog-support to a dvb-usb-based device (function
pointer which is called each time a URB is returned instead of directly
passing it to the dvb-demuxer).
For the dib0700-driver you need some things to set up in order to receive
analog audio and video (see attached):
First you need to configure the streaming interface on the
dib0700-usb-bridge. This is done with a USB request from the host and
depends on the video format.
Then the streaming needs to be enabled in a different way then in DVB.
That's it. If I understand everything correctly, there are no special
settings for the cx2584x, but time will tell. Also it is important to know,
that the audio is coming in on endpoint3 and the video on endpoint2, which
might give some AV async.


2008/8/21 Michael Krufky <mkrufky at linuxtv.org>

> On Thu, Aug 21, 2008 at 4:25 PM, Devin Heitmueller
> <devin.heitmueller at gmail.com> wrote:
> > On Thu, Aug 21, 2008 at 4:21 PM, Michael Krufky <mkrufky at linuxtv.org>
> wrote:
> >> On Thu, Aug 21, 2008 at 4:13 PM, gothic nafik <nafik at nafik.cz> wrote:
> >>> One more question - what about radio and remote control via lirc? Can i
> >>> receive radio signal via antenna (for digital tv) i got in box with
> >>> notebook? Is today's version of dib0700 module able to create
> /dev/radio?
> >>
> >> The driver supports IR, but does not require LIRC, afaik -- try it
> >> yourself and find out if your device is supported.
> >>
> >> Radio is analog, thus, not supported by this driver.
> >
> > FWIW:  Working on CX25843 analog support for the dib0700 based
> > Pinnnacle PCTV HD Pro was next on my list once I get the ATSC support
> > working.
> Devin,
> Lets sync up when you get to that point -- I have a good chunk of code
> written that will add analog support to the dvb-usb framework as an
> optional additional adapter type.
> Hopefully I'll get more work done on it before then, but if not, this
> is at least a good starting point.
> The idea is to add support to the framework so that the sub-drivers
> (such as dib0700, cxusb et al) can all use the common code.
> CX25843 is already supported, just the dvb-usb framework currently
> lacks a v4l2 interface.
> Regards,
> Mike
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080821/c71221b3/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dib0700_analog.c
Type: text/x-csrc
Size: 7707 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080821/c71221b3/attachment-0001.c 

More information about the linux-dvb mailing list