All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Rune Petersen <rune@megahurts.dk>,
	Russel Winder <russel@itzinteractive.com>,
	DVB_Linux_Media <linux-media@vger.kernel.org>
Subject: Re: PCTV 292e weirdness
Date: Sun, 7 Feb 2016 23:26:50 +0200	[thread overview]
Message-ID: <56B7B69A.4070306@iki.fi> (raw)
In-Reply-To: <56B46E25.7070405@megahurts.dk>

Moikka!
Sounds like device is loosing warm up power during suspend. On USB there 
is two callbacks to resume - resume() and reset_resume(). reset_resume() 
is called when power is lost and on normal case where power has not lost 
resume() is called.

I am not sure what kind of info there is available on I2C 
power-management - but it is one thing to check if there is also that 
same info available.

On power lost chip is reset to default - all registers and firmware also 
is lost. You have to catch that somehow. If I2C power management cannot 
provide that info you could use knowledge registers are set to some 
default value and make decision based of that.

regards
Antti


On 02/05/2016 11:40 AM, Rune Petersen wrote:
> (sent email again since I managed to reply only to Russel)
>
> I have the same issue - haven't had time to look into it much.
>
> the problem is that si2157 & si2168 doesn't resume properly from suspend.
>
> I have attached 2 patches that disable suspend.
>
> What i have found out:
> I can resume the si2157 from suspend by replacing "goto warm" with "goto
> skip_fw_download" in si2157_init()
>
> I can 'resume' the si2168 from suspend if I set "dev->fw_loaded = 0" in
> si2168_sleep()
>
>
> Rune
>
>
> On 04/02/16 20:06, Russel Winder wrote:
>> On Thu, 2016-02-04 at 18:14 +0200, Antti Palosaari wrote:
>> […]
>>>
>>> Are you using DVB-T, T2 or C? I quickly tested T and T2 with dvbv5-
>>> zap
>>> and it worked (kernel media 4.5.0-rc1+).
>>
>> Definitely T and T2. I had been assuming dvbv5-zap switched mode based
>> on the entry in the virtual channel file. In this case "BBC NEWS" is in
>> a T multiplex.
>>
>>> PCTV 282e seems to be dibcom based DVB-T only device, so you are
>>> using
>>> DVB-T?
>>
>> Yes, 282e is T only, ditto Terratec XXS. I haven't been able to get
>> anything working with WinTVSoloHD or WinTVdualHD as yet.
>>
>

-- 
http://palosaari.fi/

  parent reply	other threads:[~2016-02-07 21:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-03 18:17 PCTV 292e weirdness Russel Winder
2016-02-04 16:14 ` Antti Palosaari
2016-02-04 19:06   ` Russel Winder
2016-02-05  9:40     ` Rune Petersen
2016-02-05 19:07       ` Torbjorn Jansson
2016-02-07 21:26       ` Antti Palosaari [this message]
2016-02-08  8:46       ` Russel Winder
2016-02-13 11:04 ` Russel Winder
2016-02-14 17:10   ` Antti Palosaari

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=56B7B69A.4070306@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=rune@megahurts.dk \
    --cc=russel@itzinteractive.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.