public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Devin Heitmueller <dheitmueller@kernellabs.com>,
	Connor Behan <connor.behan@gmail.com>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>,
	Frederik Himpe <fhimpe@telenet.be>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19
Date: Tue, 17 Dec 2013 23:09:06 +0200	[thread overview]
Message-ID: <52B0BD72.9000804@iki.fi> (raw)
In-Reply-To: <CAGoCfiztzv-QFjmKXdiJreTPCYN1RTe5bPTO0awx5a-ER161qQ@mail.gmail.com>

Off-topic, Cc:s dropped, related to DVB / V4L2 tuner communication problems.

On 17.12.2013 07:39, Devin Heitmueller wrote:
> Hi Connor,
>
> On Tue, Dec 17, 2013 at 12:28 AM, Connor Behan <connor.behan@gmail.com> wrote:
>> Thanks for the detailed answer. I have tried your patch and updated the
>> wiki page. Would a 950 or 950Q be safer to buy next time?
>
> The 950 has long since been obsoleted.  You cannot buy them anymore.
> The 950q though is well supported and doesn't have this issue as it
> uses a different chip.
>
>> On 14/12/13 05:17 PM, Devin Heitmueller wrote:
>>> I had a patch kicking around which fixed part of the issue, but it
>>> didn't completely work because of the lgdt3305 having AGC enabled at
>>> chip powerup (which interferes with analog tuning on the shared
>>> tuner), and the internal v4l-dvb APIs don't provide any easy way to
>>> reset the AGC from the analog side of the device.
>>
>> By this do you mean that the functions exist but they aren't part of the
>> public API? Maybe this problem can be addressed if there is ever "v4l3"
>> or some other reason to break compatibility.
>
> No, these are internal APIs that dictate how the various driver
> components talk to each other.  Because the V4L and DVB subsystems
> were developed independently of each other, they do a really crappy
> job of communicating between them (a problem which manifests itself in
> particular when sharing hardware resources such as tuners).
>
> The problem *can* be fixed, but it would likely require
> extensions/changes to the basic frameworks used to communicate between
> the different drivers.

That shared DVB / V4L2 tuner is one problem that I have also currently 
(SDR is on V4L2 API and DTV is provided via DVB API). I have decided to 
try model where I separate RF tuner totally independent used DVB / V4L2 
APIs, just to plain I2C driver model. Idea is here to provide needed set 
of general callbacks and communication and device binding is done via 
I2C driver model.
I am not sure though if there is any big caveats I haven't realized yet...

regards
Antti

-- 
http://palosaari.fi/

  reply	other threads:[~2013-12-17 21:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 21:19 stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19 Frederik Himpe
2013-12-14  2:22 ` Mauro Carvalho Chehab
2013-12-14 11:24 ` Mauro Carvalho Chehab
2013-12-14 13:38   ` Robin Becker
2013-12-14 23:21   ` Connor Behan
2013-12-15  1:17     ` Devin Heitmueller
2013-12-17  5:28       ` Connor Behan
2013-12-17  5:39         ` Devin Heitmueller
2013-12-17 21:09           ` Antti Palosaari [this message]
2013-12-17 21:25             ` Devin Heitmueller
2013-12-16 19:57   ` Frederik Himpe
2013-12-19 14:22     ` Luis Henriques

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=52B0BD72.9000804@iki.fi \
    --to=crope@iki.fi \
    --cc=connor.behan@gmail.com \
    --cc=dheitmueller@kernellabs.com \
    --cc=fhimpe@telenet.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.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