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

Niels Wagenaar n.wagenaar at xs4all.nl
Sun Sep 28 16:12:14 CEST 2008

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

Any help is appreciated :) If you need a quick chat, I'm currently in
#linuxtv on irc.freenode.net :)


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

More information about the vdr mailing list