[vdr] [PATCH] S2API for vdr-1.7.0(1.7.1) quick hack

Igor M. Liplianin liplianin at tut.by
Mon Sep 29 20:16:56 CEST 2008


В сообщении от 29 September 2008 00:29:17 gimli написал(а):
> Hi,
>
> I'm on Astra 19.2 and tested the following HD transponders :
> Anixe HD
> Arte HD
> Astra HD+
>
> first test results :
>
> Arte HD tunes ok and plays fine.
>
> On Astra HD+ and Anixe HD im getting an error :
>
> Sep 28 23:27:28 archvdr dvb_frontend_ioctl_properties() FE_SET_PROPERTY
> Sep 28 23:27:28 archvdr dvb_frontend_ioctl_properties() properties.num = 8
> Sep 28 23:27:28 archvdr dvb_frontend_ioctl_properties() properties.props =
> 0000000041b31dc0
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x00000011
> (DTV_DELIVERY_SYSTEM)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x00000005
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x00000003
> (DTV_FREQUENCY)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x00140cd0
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x00000004
> (DTV_MODULATION)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x00000000
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x00000008
> (DTV_SYMBOL_RATE)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x01a39de0
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x00000009
> (DTV_INNER_FEC)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x0000000b
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x00000006
> (DTV_INVERSION)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x00000002
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x0000000d
> (DTV_ROLLOFF)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x00000002
> Sep 28 23:27:28 archvdr dtv_property_process_set()
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.cmd    = 0x00000001
> (DTV_TUNE)
> Sep 28 23:27:28 archvdr dtv_property_dump() tvp.u.data = 0x00000000
> Sep 28 23:27:28 archvdr dtv_property_process_set() Finalised property cache
> Sep 28 23:27:28 archvdr dtv_property_cache_submit()
> Sep 28 23:27:28 archvdr dtv_property_cache_submit() adv, modulation = 0
> Sep 28 23:27:28 archvdr dtv_property_adv_params_sync()
> Sep 28 23:27:28 archvdr dvb_frontend_ioctl_properties() Property cache is
> full, tuning
>
> If you need further informations let me know.
>
> cu
>
> Edgar (gimli) Hucek
>
> > В сообщении от 28 September 2008 17:12:14 Niels Wagenaar написал(а):
> >> Hi Igor,
> >>
> >> Small question. I tried your patch, but it fails a hunk in dvbdevice.c.
> >> I
> >> added this hunk manually but I think something is missing:
> >>
> >> Sep 28 13:56:15 htpc vdr: [19486] ERROR (dvbdevice.c,251): Operation not
> >> supported Sep 28 13:56:15 htpc vdr: [19486] ERROR (dvbdevice.c,252):
> >> Operation not supported Sep 28 13:56:15 htpc vdr: [19486] ERROR:
> >> frontend
> >> 0: Invalid argument
> >>
> >> Those both lines has the following code:
> >>
> >> CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, volt));
> >> CHECK(ioctl(fd_frontend,
> >> FE_SET_TONE, tone));
> >>
> >> The result is, no tuning and no picture.
> >>
> >> And to be honest, I don't really understand why it shouldn't work.
> >> Mainly,
> >> since the same code is used with the Kaffeine patch (I'm comparing that
> >> also).
> >>
> >> Any help is appreciated :) If you need a quick chat, I'm currently in
> >> #linuxtv on irc.freenode.net :)
> >>
> >> Regards,
> >>
> >> Niels Wagenaar
> >>
> >> > -----Oorspronkelijk bericht-----
> >> > Van: Igor M. Liplianin [mailto:liplianin at tut.by]
> >> > Verzonden: zondag 28 september 2008 12:49
> >> > Aan: vdr at linuxtv.org; Niels Wagenaar
> >> > CC: Gregoire Favre; linux-dvb at linuxtv.org
> >> > Onderwerp: [vdr][PATCH] S2API for vdr-1.7.0(1.7.1) quick hack
> >> >
> >> > ? ????????? ?? 24 September 2008 18:34:01 Niels Wagenaar ???????(?):
> >> > > Hello all (and especially Klaus):
> >> > >
> >> > > It's official, the people from V4L have voted for the usage of the
> >> > > S2API proposal to be the future for new DVB API improvements (see
> >> > > the official announcement at the bottom) within the V4L tree.
> >> > > Currently S2API is in a real speed-train and new devices are added
> >> > > very
> >> >
> >> > rapidly.
> >> >
> >> > > Only the devices currently in Multiproto and written by Manu Abraham
> >> >
> >> > are not yet ported.
> >> >
> >> > > Also people are allready busy with patches for Kaffeine (allready
> >> > > done) and MythTV (not seen yet, but it's WIP according to a post on
> >> > > the linux-dvb mailinglist).
> >> > >
> >> > > So, this should mean that VDR 1.7.x should focus on S2API because of
> >> > > the obvious reasons. Has anybody started on a patch of somekind to
> >> > > include S2API in VDR 1.7.0 or 1.7.1? Mainly I was thinking of doing
> >> >
> >> > it
> >> >
> >> > > myself (I have a Hauppauge WinTV-NOVA-HD-S2 which is allready
> >> > > supported in S2API) in the hope to have it working in the next
> >> > > weekend. But if it's allready done or in progress, then I would like
> >> > > to use my time for something else ;)
> >> > >
> >> > > Regards,
> >> > >
> >> > > Niels Wagenaar
> >> >
> >> > Hi Niels
> >> >
> >> > S2API for vdr-1.7.0(1.7.1) quick hack
> >> > Patch is ugly and only supported DVB-S. But it is useful to begin.
> >> > You may modify it like you wish.
> >> >
> >> > Igor
> >>
> >> _______________________________________________
> >> vdr mailing list
> >> vdr at linuxtv.org
> >> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> >
> > V.2
> > Only satellite, as I have not any cable or terrestrial, but it is easy to
> > modify :-)
> > I test it with cx24116 based card (though without ISL chip) and didn't
> > find
> > any troubles.
> >
> > Igor
> > _______________________________________________
> > vdr mailing list
> > vdr at linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

BTW, did you put actual(ones from your actual repository, from wich drivers 
was compiled, for example s2/linux/include/linux/dvb) dvb headers 
in /usr/include/linux/dvb from  before compiling VDR ?
You can see on
http://linuxtv.org/hg/~stoth/s2
that headers was changed 25 Sep

-- 
Igor M. Liplianin



More information about the vdr mailing list