All of lore.kernel.org
 help / color / mirror / Atom feed
From: hermann pitton <hermann-pitton@arcor.de>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Hans Verkuil <hverkuil@xs4all.nl>, CityK <cityk@rogers.com>,
	Michael Krufky <mkrufky@linuxtv.org>,
	Josh Borke <joshborke@gmail.com>,
	David Lonie <loniedavid@gmail.com>,
	linux-media@vger.kernel.org
Subject: Re: KWorld ATSC 115 all static
Date: Mon, 19 Jan 2009 18:16:21 +0100	[thread overview]
Message-ID: <1232385381.3238.23.camel@pc10.localdom.local> (raw)
In-Reply-To: <20090119090819.3f4a1656@pedra.chehab.org>

Hi,

Am Montag, den 19.01.2009, 09:08 -0200 schrieb Mauro Carvalho Chehab: 
> On Mon, 19 Jan 2009 08:53:19 +0100
> Hans Verkuil <hverkuil@xs4all.nl> wrote:
> 
> > On Monday 19 January 2009 00:36:35 CityK wrote:
> > > Hans Verkuil wrote:
> > > > On Sunday 18 January 2009 22:20:30 CityK wrote:
> > > >> The output of dmesg is interesting (two times tuner simple
> > > >> initiating):
> > > >
> > > > Shouldn't there be a tda9887 as well? It's what the card config says,
> > > > but I'm not sure whether that is correct.
> > > >
> > > >> Would you like to see the results of after enabling 12c_scan to see
> > > >> what is going on, or is this the behaviour you expected?
> > > >
> > > > It seems to be OK, although I find it a bit peculiar that the tuner
> > > > type is set twice. Or does that have to do with it being a hybrid
> > > > tuner, perhaps?
> > >
> > > The Philips TUV1236D NIM does indeed use a tda9887  (I know, because I
> > > was the one who discovered this some four years ago (pats self on
> > > head)).  But the module is not loading.  I can make it load, just as
> > > Hermann demonstrated to Mike in one of the recent messages for this
> > > thread.
> > 
> > I have no idea why the tda9887 isn't loading. 
> 
> Probably, it has something to do with the i2c gate control.

in my case on the md7134 cards it happens only after cold boot.
Analog of course doesn't work then.

To reload the saa7134 with "modprobe" then is also enough to get it
loaded and analog functional, likely what Mike meant.

On warm reboots it is present and functional. Some eeprom readout
corruption mostly on the first card occurs and I must force card=12.

The tda9887 is by default not visible on the FMD1216ME MK3 hybrid.

The init from Hartmut in tuner-core.c in set_tuner_type for analog.

	case TUNER_PHILIPS_FMD1216ME_MK3:
		buffer[0] = 0x0b;
		buffer[1] = 0xdc;
		buffer[2] = 0x9c;
		buffer[3] = 0x60;
		i2c_master_send(c, buffer, 4);
		mdelay(1);
		buffer[2] = 0x86;
		buffer[3] = 0x54;
		i2c_master_send(c, buffer, 4);
		if (!dvb_attach(simple_tuner_attach, &t->fe,
				t->i2c->adapter, t->i2c->addr, t->type))
			goto attach_failed;
		break;

from dmesg.

dmesg |grep "< c2"
saa7133[1]: i2c xfer: < c2 30 90 >
saa7134[3]: i2c xfer: < c2 >
saa7134[3]: i2c xfer: < c2 0b dc 9c 60 >
saa7134[3]: i2c xfer: < c2 0b dc 86 54 >

Exactly here, when the buffers are sent the second time the tda9887
becomes the first time visible on the bus. According to Hartmut the
modification of buffer[3] from 0x60 to 0x54 is that hidden switch,
IIRC. 

saa7134[3]: i2c xfer: < c2 1b 6f 86 52 >
saa7134[3]: i2c xfer: < c2 1b 6f 86 52 >
saa7134[3]: i2c xfer: < c2 1b 6f 86 52 >
saa7134[3]: i2c xfer: < c2 9c 60 85 54 >
saa7134[0]: i2c xfer: < c2 9c 60 85 54 >
saa7133[1]: i2c xfer: < c2 30 90 >
saa7134[3]: i2c xfer: < c2 9c 60 85 54 >

> > Note that Mauro merged my saa7134 changes, so these are now in the master 
> > repository.
> 
> Yes. We need to fix it asap, to avoid regressions. It is time to review also
> the other codes that are touching on i2c gates at _init2().

My other cards with tda8275a, tda8290, tda10046 and/or tda826x and
tda10086 still work and the FMD1216ME init broken is old. 

There is an old issue, maybe not reported yet, that after suspend to RAM
it seems the AGC control for DVB-T is lost, lots of artifacts. After
using analog TV or reload the saa7134 it is fixed.
Just to mention it.

Cheers,
Hermann

> Cheers,
> Mauro



  reply	other threads:[~2009-01-19 17:16 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 14:01 KWorld ATSC 115 all static Hans Verkuil
2009-01-15 14:30 ` Michael Krufky
2009-01-15 17:29   ` Mauro Carvalho Chehab
2009-01-15 18:33     ` Trent Piepho
2009-01-16  2:02       ` Mauro Carvalho Chehab
     [not found]         ` <20090116110700.584ec052@hyperion.delvare>
     [not found]           ` <Pine.LNX.4.58.0901160424350.11165@shell2.speakeasy.net>
     [not found]             ` <20090116153257.0bd1c90f@hyperion.delvare>
2009-01-17 19:45               ` Trent Piepho
2009-01-18 10:08                 ` Jean Delvare
2009-01-15 23:11     ` hermann pitton
2009-01-16  1:39 ` CityK
2009-01-16  3:20   ` CityK
2009-01-16  3:38     ` Mauro Carvalho Chehab
2009-01-17 16:20     ` Hans Verkuil
2009-01-17 17:42       ` hermann pitton
2009-01-17 18:44         ` Michael Krufky
2009-01-17 19:16           ` hermann pitton
2009-01-18 18:10       ` CityK
     [not found]         ` <200901182011.11960.hverkuil@xs4all.nl>
2009-01-18 21:20           ` CityK
     [not found]             ` <200901182241.10047.hverkuil@xs4all.nl>
2009-01-18 23:36               ` CityK
2009-01-19 11:01                 ` Mauro Carvalho Chehab
     [not found]                 ` <200901190853.19327.hverkuil@xs4all.nl>
2009-01-19 11:08                   ` Mauro Carvalho Chehab
2009-01-19 17:16                     ` hermann pitton [this message]
2009-01-25 18:10                   ` CityK
2009-01-25 18:32                     ` CityK
2009-01-25 21:49                     ` Trent Piepho
2009-01-25 23:08                       ` hermann pitton
2009-01-25 23:35                       ` CityK
2009-01-26  0:45                         ` hermann pitton
2009-01-28  2:23                         ` Mauro Carvalho Chehab
2009-01-28  3:29                           ` hermann pitton
2009-01-29 23:44             ` CityK
2009-01-30  3:00               ` Mauro Carvalho Chehab
2009-01-19  0:38           ` Trent Piepho
2009-02-02 23:58         ` David Engel
2009-02-03  6:03           ` CityK
2009-02-03 14:02             ` Michael Krufky
2009-02-04  3:56               ` KWorld ATSC 115 all static ... Mike's clarification CityK
2009-02-03 17:22             ` KWorld ATSC 115 all static David Engel
2009-02-04  4:07               ` CityK
2009-02-05  2:55                 ` David Engel
2009-02-04  2:31             ` hermann pitton
2009-02-04  5:26               ` CityK
2009-02-05  1:22                 ` hermann pitton
2009-02-08 10:07                 ` Mauro Carvalho Chehab
2009-02-08 12:39                   ` Mauro Carvalho Chehab
2009-02-09  2:43             ` Mauro Carvalho Chehab
2009-02-09  2:43             ` Mauro Carvalho Chehab
2009-02-10  0:37               ` hermann pitton
2009-02-10  0:54                 ` hermann pitton
2009-02-10  1:31                   ` hermann pitton
2009-02-10  2:35                     ` Mauro Carvalho Chehab
2009-02-10  3:14                       ` hermann pitton
2009-02-10  3:43                         ` hermann pitton
2009-02-10  6:15                           ` Mauro Carvalho Chehab
2009-02-10 12:07                             ` Jonathan Isom
2009-02-10 12:27                               ` Mauro Carvalho Chehab
2009-02-10 12:48                                 ` Jonathan Isom
2009-02-10 19:02                                   ` Mauro Carvalho Chehab
2009-02-11  3:50                                 ` David Engel
2009-02-11  4:34                                   ` hermann pitton
2009-02-11  7:43                                   ` Mauro Carvalho Chehab
2009-02-11 23:21                                     ` David Engel
2009-02-13  3:07                                       ` David Engel
2009-02-13 11:04                                         ` Mauro Carvalho Chehab
2009-02-13 11:28                                           ` Mauro Carvalho Chehab
2009-02-13 20:28                                             ` David Engel
2009-02-13 20:35                                               ` Mauro Carvalho Chehab
2009-02-17 15:53                                               ` David Engel
2009-02-18  7:45                                                 ` Hans Verkuil
2009-02-18 15:26                                                   ` David Engel
2009-02-10  6:19                         ` Mauro Carvalho Chehab
2009-02-11  1:30                           ` hermann pitton
  -- strict thread matches above, loose matches on Subject: below --
2009-01-12  0:53 Josh Borke
2009-01-12  3:08 ` CityK
2009-01-12  5:19   ` Mauro Carvalho Chehab
2009-01-12  7:40     ` Hans Verkuil
2009-01-13  2:10       ` CityK
2009-01-13  3:17         ` hermann pitton
2009-01-14  4:41           ` CityK
2009-01-14  7:37             ` Hans Verkuil
2009-01-14 18:24               ` Hans Verkuil
2009-01-15  1:43                 ` hermann pitton
2009-01-15  5:01                 ` CityK
2009-01-15  7:27                   ` Hans Verkuil
2009-01-15 13:45                     ` Michael Krufky
2009-01-15  2:32             ` hermann pitton
2009-01-15  2:54               ` Mauro Carvalho Chehab
2009-01-15  3:15                 ` hermann pitton
2009-01-12  3:13 ` CityK

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=1232385381.3238.23.camel@pc10.localdom.local \
    --to=hermann-pitton@arcor.de \
    --cc=cityk@rogers.com \
    --cc=hverkuil@xs4all.nl \
    --cc=joshborke@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=loniedavid@gmail.com \
    --cc=mchehab@infradead.org \
    --cc=mkrufky@linuxtv.org \
    /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.