[linux-dvb] ASUSTEK P7131 Dual TV dvb mode?

Hartmut Hackmann hartmut.hackmann at t-online.de
Tue Oct 10 23:26:43 CEST 2006


HI, Hermann

hermann pitton wrote:
> Am Montag, den 09.10.2006, 23:36 +0300 schrieb v+dvb at iki.fi:
>> 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 at arcor.de>
> 

<snip>
Ok, I will do so. It was me who introduced the bug, sorry!
I did not follow the discussion in detail: In order to fully support
the variant of the card, do i just need to add its PCI ID and change
the firmware request? This should not be a disadvangate for owners of
the old card since the tda10046 will use the eeprom anyway if it finds
one.
There also was a patch regarding remote control, is this ready for
integration? I remember there was an issue with the RC5? toggle bit?

Best regards
    Hartmut



More information about the linux-dvb mailing list