Re: ASUSTEK P7131 Dual TV dvb mode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Montag, den 09.10.2006, 23:36 +0300 schrieb v+dvb@xxxxxx:
> On Mon, Oct 09, 2006 at 01:50:15AM +0200, you [hermann pitton] wrote:
[...] 

> > 
> > That the gpio triggered antenna switch on DVB-T doesn't work intrigues
> > me more, but don't have that card variant.
> 
> It can be that I haven't quite grasped how it _should_ work.
> 
> I now have the same antenna cable signal connected to both inputs (the cable
> signal carries dvb-t, analog tv and fm radio). Albeit identical in theory,
> the other input signal is weaker, since I have a splitter in between. Right
> now, I have the weaker connected to the analog tv input in the card (the one
> closer to the motherboard) and the stronger into the dvb-t/fm.

The one closer to the motherboard is marked CATV-IN on mine. (1043:4862)

> The only way I've gotten dvb to work is to
>  - have the stronger signal cable on the fm/dvb connector
>  - use the fm tuning trick to switch the gpio to that input

The upper one is marked RF/FM-IN here.

> If I connect the stronger signal cable to the analog tv input and do not
> invoke the fm tuning trick, dvb does not work.

With the patch in mercurial master now this is correct. It won't work
anymore on the analog/CATV at all. So it seems that the same switch on
your card (1043:4876) happens too.

> If I connect the stronger signal cable to the 'fm/dvb-t' connector but do
> not use the fm tuning trick, dvb doesn't work.

That's the confusing part for me on your card. For what I found on mine
using radio once does exactly the same as the gpio21 switch now in
asus_p7131_dual_tuner_init in saa7134-dvb.c. Every time a dvb app uses
the tuner the antenna switch happens. Also adding a .mute section
with .gpio 0x0200000 did the trick from the analog side previously.

> Analog tv works with both weaker and stronger cable (albeit better with the
> stronger signal, obviously).
> 
> Should the dvb functionality be able to use either input of the card or just
> the 'fm/dvb-t' labeled one?

Previously both were possible, the one marked here RF/FM-IN only after
using radio first. Now with the patch in mercurial master and 2.6.19
DVB-T on mine is always and only at the RF/FM-IN.

> I'm sorry for being a bit confused about this. I may have given you unclear
> picture on what works and what doesn't.

No problem. Maybe something is different and within the ongoing changes
it is easily confusing anyway. Sorry.

I was up to test again, but after a while realized that DVB-T on the
card is broken currently ...

Also in your case note the new function name introduced with the
Pinnacle 310i patch to get the firmware.

static int philips_tda1004x_request_firmware(struct dvb_frontend *fe,
					   const struct firmware **fw, char *name)
{
	struct saa7134_dev *dev = fe->dvb->priv;
	return request_firmware(fw, name, &dev->pci->dev);
}

But first we need to have the card working again. Patch attached.
Hartmut, would you please pick it up?
BTW, thanks for the radio signal and stereo detection!

Cheers,
Hermann


- add the Asus P7131 Dual hybrid to
  the new tda8290_i2c_gate_ctrl

Signed-off-by: Hermann Pitton <hermann-pitton@xxxxxxxx>



diff -r eda4ace17bb2 linux/drivers/media/video/saa7134/saa7134-dvb.c
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c	Mon Oct  9 19:27:05 2006
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c	Tue Oct 10 17:13:28 2006
@@ -1209,6 +1209,7 @@
 					       &philips_tiger_config,
 					       &dev->i2c_adap);
 		if (dev->dvb.frontend) {
+			dev->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl;
 			dev->dvb.frontend->ops.tuner_ops.init = asus_p7131_dual_tuner_init;
 			dev->dvb.frontend->ops.tuner_ops.sleep = asus_p7131_dual_tuner_sleep;
 			dev->dvb.frontend->ops.tuner_ops.set_params = philips_tiger_tuner_set_params;
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux