public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: hermann pitton <hermann-pitton@arcor.de>
Cc: video4linux-list@redhat.com, mkrufky@linuxtv.org,
	gert.vervoort@hccnet.nl, linux-dvb@linuxtv.org
Subject: Re: Hauppauge WinTV regreession from 2.6.24 to 2.6.25
Date: Mon, 28 Apr 2008 11:14:31 -0300	[thread overview]
Message-ID: <20080428111431.6c12081f@gaivota> (raw)
In-Reply-To: <1209327322.2661.26.camel@pc10.localdom.local>

On Sun, 27 Apr 2008 22:15:22 +0200
hermann pitton <hermann-pitton@arcor.de> wrote:

> Hi,
> 
> Am Samstag, den 26.04.2008, 20:19 -0300 schrieb Mauro Carvalho Chehab:
> > On Sun, 27 Apr 2008 00:10:21 +0200
> > hermann pitton <hermann-pitton@arcor.de> wrote:
> > > Cool stuff!
> > > 
> > > Works immediately for all tuners again. Analog TV, radio and DVB-T on
> > > that machine is tested.
> > > 
> > > Reviewed-by: Hermann Pitton <hermann-pitton@arcor.de>
> > 
> > Thanks. I'll add it to the patch.
> > 
> > > Maybe Hartmut can help too, but I will test also on the triple stuff and
> > > the FMD1216ME/I MK3 hybrid tomorrow.
> > 
> > Thanks.
> > 
> > It would be helpful if tda9887 conf could also be validated. I didn't touch at
> > the logic, but I saw some weird things:
> > 
> > For example, SAA7134_BOARD_PHILIPS_EUROPA defines this:
> > 	.tda9887_conf   = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE
> > 
> > And SAA7134_BOARD_PHILIPS_SNAKE keep the default values.
> > 
> > However, there's an autodetection code that changes from EUROPA to SNAKE,
> > without cleaning tda9887_conf:
> > 
> >         case SAA7134_BOARD_PHILIPS_EUROPA:
> >                 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
> >                         /* Reconfigure board as Snake reference design */
> >                         dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
> >                         dev->tuner_type = saa7134_boards[dev->board].tuner_type;
> >                         printk(KERN_INFO "%s: Reconfigured board as %s\n",
> >                                 dev->name, saa7134_boards[dev->board].name);
> >                         break;
> > 
> > I'm not sure if .tda9887_conf is missing at SNAKE board entry, or if the above
> > code should be doing, instead:
> > 
> > 	dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
> > 
> > If the right thing to do is to initialize SNAKE with the same tda9887
> > parameters as EUROPE, the better would be to add the .tda9887_conf to SNAKE
> > entry.
> > 
> > Cheers,
> > Mauro
> 
> Hartmut has the board and knows better, but it looks like it only has
> DVB-S and external analog video inputs. There is TUNER_ABSENT set, no
> analog tuner, no tda9887 and also no DVB-T, but it unfortunately shares
> the subsystem with the Philips Europa.

In this case, it would be better to do:
	dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;

for SNAKE. This won't produce any effect, but will avoid the overhead of
sending tda9887 config commands for a device that doesn't have it.

Later, maybe we can just move the above to the setup tuner subroutine.

> I notice some unwanted behavior when testing md7134 FMD1216ME hybrid
> boards.
> 
> Unchanged is that the tda9887 is not up for analog after boot.
> Previously one did reload "tuner" just once and was done.

We need to fix this. The previous "hacks" like this now stops working.

Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  parent reply	other threads:[~2008-04-28 14:16 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 20:57 Hauppauge WinTV regreession from 2.6.24 to 2.6.25 Ian Pickworth
2008-04-20  0:47 ` hermann pitton
2008-04-20  9:15   ` Ian Pickworth
2008-04-20 11:20 ` Gert Vervoort
2008-04-20 12:26   ` Ian Pickworth
2008-04-20 13:06     ` hermann pitton
2008-04-20 16:18       ` Gert Vervoort
2008-04-20 21:16         ` hermann pitton
2008-04-24  3:55           ` hermann pitton
2008-04-25 13:56             ` Mauro Carvalho Chehab
2008-04-25 14:40               ` Michael Krufky
2008-04-25 14:45                 ` Mauro Carvalho Chehab
2008-04-25 15:06                   ` mkrufky
2008-04-25 21:48                     ` hermann pitton
2008-04-25 23:41                       ` hermann pitton
2008-04-26 11:59                     ` Mauro Carvalho Chehab
2008-04-26 12:58                       ` Ian Pickworth
2008-04-26 14:06                         ` Mauro Carvalho Chehab
2008-04-26 22:10                           ` hermann pitton
2008-04-26 23:19                             ` Mauro Carvalho Chehab
2008-04-27 20:15                               ` hermann pitton
2008-04-27 21:18                                 ` [linux-dvb] " Hartmut Hackmann
2008-04-28  1:01                                   ` hermann pitton
2008-04-28 14:21                                   ` Mauro Carvalho Chehab
2008-04-28 14:14                                 ` Mauro Carvalho Chehab [this message]
2008-04-25 15:03                 ` Mauro Carvalho Chehab
2008-04-25 16:55                   ` Gert Vervoort
2008-04-25 17:02                     ` Gert Vervoort
     [not found]                     ` <20080426090725.4a0fdcd4@gaivota>
2008-04-26 14:23                       ` Gert Vervoort
2008-04-26 15:38                         ` Mauro Carvalho Chehab
2008-04-26 16:59                           ` Gert Vervoort

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=20080428111431.6c12081f@gaivota \
    --to=mchehab@infradead.org \
    --cc=gert.vervoort@hccnet.nl \
    --cc=hermann-pitton@arcor.de \
    --cc=linux-dvb@linuxtv.org \
    --cc=mkrufky@linuxtv.org \
    --cc=video4linux-list@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