From: Chris Rankin <rankincj@yahoo.com>
To: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: [REGRESSION] Linux 3.3 DVB userspace ABI broken for xine (FE_SET_FRONTEND)
Date: Fri, 06 Apr 2012 21:06:07 +0100 [thread overview]
Message-ID: <4F7F4CAF.4010501@yahoo.com> (raw)
In-Reply-To: <1333580430.41460.YahooMailNeo@web121705.mail.ne1.yahoo.com>
Hi,
The following commit has broken the DVB ABI for xine:
http://git.linuxtv.org/linux-2.6.git/commitdiff/e399ce77e6e8f0ff2e0b8ef808cbb88fc824c610
author: Mauro Carvalho Chehab <mchehab@redhat.com>
Sun, 1 Jan 2012 19:11:16 +0000 (16:11 -0300)
committer: Mauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Jan 2012 19:30:02 +0000 (17:30 -0200)
This var were used during DVBv3 times, in order to keep a copy
of the parameters used by the events. This is not needed anymore,
as the parameters are now dynamically generated from the DVBv5
structure.
So, just get rid of it. That means that a DVBv5 pure call won't
use anymore any DVBv3 parameters.
The problem is that xine is expecting every event after a successful
FE_SET_FRONTEND ioctl to have a non-zero frequency parameter, regardless of
whether the tuning process has LOCKed yet. What used to happen is that the
events inherited the initial tuning parameters from the FE_SET_FRONTEND call.
However, the fepriv->parameters_out struct is now not initialised until the
status contains the FE_HAS_LOCK bit.
You might argue that this behaviour is intentional, except that if an
application other than xine uses the DVB adapter and manages to set the
parameters_out.frequency field to something other than zero, then xine no longer
has any problems until either the adapter is replugged or the kernel modules
reloaded. This can only mean that the fepriv->parameters_out struct still
contains the (stale) tuning information from the previous application.
So can we please restore the original ABI behaviour, and have
fepriv->parameters_out initialised by FE_SET_FRONTEND again?
Cheers,
Chris
next prev parent reply other threads:[~2012-04-06 20:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 23:00 Is xine DVB broken with Linux 3.3.1? Chris Rankin
2012-04-04 23:33 ` Chris Rankin
2012-04-06 10:49 ` DVB ioctl FE_GET_EVENT behaviour broken in 3.3 Chris Rankin
2012-04-06 11:47 ` Antti Palosaari
2012-04-06 12:06 ` Chris Rankin
2012-04-06 14:59 ` Chris Rankin
2012-04-06 20:06 ` Chris Rankin [this message]
2012-04-06 20:21 ` [PATCH] Linux 3.3 DVB userspace ABI broken for xine (FE_SET_FRONTEND) Chris Rankin
2012-04-06 22:38 ` [PATCH v2] " Chris Rankin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F7F4CAF.4010501@yahoo.com \
--to=rankincj@yahoo.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).