[linux-dvb] [vdr] [PATCH] S2API for vdr-1.7.0 (05-10-2008 - quickhack for DVB-S(2), DVB-T and DVB-C)

Darron Broad darron at kewl.org
Sun Oct 5 14:45:25 CEST 2008


In message <Pine.LNX.4.64.0810051425330.28540 at shogun.pilppa.org>, Mika Laitio wrote:

LO.

>>>> Enclosed are two patches. The clean patch is for a clean VDR 1.7.0 source tree patched with Reinhard's
>>>> vdr-1.7.0-h264-syncearly-framespersec-audioindexer-fielddetection-speedup.diff.bz2 patch. The patched patch is for
>>>> those who have used the patch from 04-10-2008.
>>>
>>> I'm about to begin setting up my new VDR with DVB-S2 support, so I was wondering
>>>
>>> - where is the ultimate S2API driver source?
>>
>> http://linuxtv.org/hg/v4l-dvb/
>> http://linuxtv.org/hg/~stoth/s2/
>> http://linuxtv.org/hg/~stoth/s2-mfe/ - s2api with multifrontend support
>
>Steve can you comment the differences between s2 and s2-mfe trees and 
>whether those are planned to be compined in near future?

s2-mfe is work in progress. in fact there are a number of patches here:
http://dev.kewl.org/v4l-dvb/patches/

Some are specific to your card and some are related to s2api and
some are multi-frontend only.

mfe has been tested on cx88 cards but adds support for others
which has not been tested extensively and needs evaluation.

>To my understanding the only difference between s2 and s2-mfe branches 
>is the support for hvr-4000 style of devices. So:

The only difference from an end-user perspective is how you describe.

>- s2:
> 	--> would support only 1 frontend for 1 card at a time. Therefore 
>one would need to select during the driver loading time whether to want to use 
>hvr-4000 in DVB-S/S2 mode or in DVB-T mode.
>
>So in dev-tree following are available:
>
>[root at tinka vdr-1.7.0]# ls -la /dev/dvb/adapter0/
>total 0
>drwxr-xr-x  2 root   root     120 2008-10-05 10:56 ./
>drwxr-xr-x  4 root   root      80 2008-10-05 10:56 ../
>crw-rw----+ 1 lamikr video 212, 4 2008-10-05 10:56 demux0
>crw-rw----+ 1 lamikr video 212, 5 2008-10-05 10:56 dvr0
>crw-rw----+ 1 lamikr video 212, 3 2008-10-05 10:56 frontend0
>crw-rw----+ 1 lamikr video 212, 7 2008-10-05 10:56 net0
>
>- s2-mfe:
> 	--> can create multiple fronends for single card eventhoughg only 
>one of those can in reality to be used simultaneously. Thus one 
>does not need to select between DVB-S/S2 mode and DVB-T mode 
>during the driver load time. So following nodes are available:
>
>[root at tinka vdr-1.7.0]# ls -la /dev/dvb/adapter0/
>total 0
>drwxr-xr-x  2 root   root      200 2008-10-05 10:56 ./
>drwxr-xr-x  4 root   root       80 2008-10-05 10:56 ../
>crw-rw----+ 1 lamikr video 212, 68 2008-10-05 10:56 demux0
>crw-rw----+ 1 lamikr video 212, 84 2008-10-05 10:56 demux1
>crw-rw----+ 1 lamikr video 212, 69 2008-10-05 10:56 dvr0
>crw-rw----+ 1 lamikr video 212, 85 2008-10-05 10:56 dvr1
>crw-rw----+ 1 lamikr video 212, 67 2008-10-05 10:56 frontend0
>crw-rw----+ 1 lamikr video 212, 83 2008-10-05 10:56 frontend1
>crw-rw----+ 1 lamikr video 212, 71 2008-10-05 10:56 net0
>crw-rw----+ 1 lamikr video 212, 87 2008-10-05 10:56 net1

If you want to rename/re-order your frontends then refer to udev
rules/script here: http://dev.kewl.org/v4l-dvb/udev/

Plus, if you use an application that can make use of both frontends
then you should apply this patch:
	http://dev.kewl.org/v4l-dvb/patches/s2-mfe-shared-retry-9036.diff

Success or failure reports when using this patch are very welcome.

Cya!

--

 // /
{:)==={ Darron Broad <darron at kewl.org>
 \\ \ 




More information about the linux-dvb mailing list