All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: anysee e30 suspend->resume causes wrong profiling of card.
  2012-03-14 15:53 anysee e30 suspend->resume causes wrong profiling of card Hans van den Bogert
@ 2010-05-13 21:50 ` Antti Palosaari
  0 siblings, 0 replies; 2+ messages in thread
From: Antti Palosaari @ 2010-05-13 21:50 UTC (permalink / raw)
  To: Hans van den Bogert; +Cc: linux-media

Terve Hans,

On 03/14/2012 05:53 PM, Hans van den Bogert wrote:
> The anysee driver works correctly from cold boot and reinsertion of the device, however, after a suspend resume cycle (S3),  the device suddenly is initated as dvb-t as where it was dvb-c before. Yes this is a combo device, so dvb T and C, but why does the profiling in anysee.c not handle this case? Obviously the following snippet produces a false positive on warm boot and resume:

This is known problem. Actually it is coming from wrong GPIOs / 
demodulator selection logic. I just guessed those in the time driver was 
made. Now I have also correct info. Unfortunately I don't even have this 
device currently... IIRC you can blacklist zl10353 driver as workaround.

regards
Antti
-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* anysee e30 suspend->resume causes wrong profiling of card.
@ 2012-03-14 15:53 Hans van den Bogert
  2010-05-13 21:50 ` Antti Palosaari
  0 siblings, 1 reply; 2+ messages in thread
From: Hans van den Bogert @ 2012-03-14 15:53 UTC (permalink / raw)
  To: linux-media

The anysee driver works correctly from cold boot and reinsertion of the device, however, after a suspend resume cycle (S3),  the device suddenly is initated as dvb-t as where it was dvb-c before. Yes this is a combo device, so dvb T and C, but why does the profiling in anysee.c not handle this case? Obviously the following snippet produces a false positive on warm boot and resume:


/* Zarlink ZL10353 DVB-T demod inside of Samsung DNOS404ZH103A NIM */
        adap->fe = dvb_attach(zl10353_attach, &anysee_zl10353_config,
                              &adap->dev->i2c_adap);
        if (adap->fe != NULL) {
                state->tuner = DVB_PLL_THOMSON_DTT7579;
                info("mine: case 2");
                return 0;
        }

I've looked through the rest of the code and by no means am I a developer but, isn't the problem that on warm boots the register of the anysee device doesn't hold the right value in combination with a combo device? because in all the other cases when profiling for different kind of device like the e30c the register is put in a different state before probing for the demuxer.

In the meantime I have commented out the above snippet, which results in a works-for-me. But it isn't a nice solution for the average/new linux user wanting to build a htpc with a anysee combo device.

Tested with ubuntu-lucid module, further tested/compiled with the HG repo.

ps I'm new with mailing lists, is this the right place to post for the anysee driver?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-13 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14 15:53 anysee e30 suspend->resume causes wrong profiling of card Hans van den Bogert
2010-05-13 21:50 ` Antti Palosaari

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.