Re: TDA10086 (TT S-1401) DiSEqC problem

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

 



Andrew de Quincey schrieb:
> On Monday 18 September 2006 10:29, Yuri Elizarov wrote:
>> Good day to Everyone.
>>
>> I have a problem with the TT S-1401 card. It seems, it cannot talk to
>> diseqc switch correctly under Linux. I am sure the problem is local to
>> Linux code, for i have it working in XP.
>>
>> I have the card connected to LNB0: Eutelsat-21.5E and LNB1:Hotbird.
>> Scanning of LNB0:
>> # scan -s 0 Eutelsat-21.5E
>> is successful.
>>
>> When I try to scan Hotbird, i get
>> # scan -s 1 Hotburd-13.0E
>> scanning Hotburd-13.0E
>> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
>> initial transponder 12597000 V 27500000 3
>>
>>>>> tune to: 12597:v:1:27500
>> WARNING: >>> tuning failed!!!
>>
>>>>> tune to: 12597:v:1:27500 (tuning failed)
>> WARNING: >>> tuning failed!!!
>> ERROR: initial tuning failed
>> dumping lists (0 services)
>> Done.
>>
>> I am sure that the signal from HB is OK, because i tried to scan it while
>> connected directly (w/o diseqc), and it was all right.
>>
>> I have Mercurial drivers 15d2ed3a6af2 installed.
>>
>> My dmesg:
>> PCI: Enabling device 0000:00:0b.0 (0004 -> 0006)
>> ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 169
>> saa7146: found saa7146 @ mem f8884000 (revision 1, irq 169)
>> (0x13c2,0x1018). saa7146 (0): dma buffer size 192512
>> DVB: registering new adapter (TT-Budget-S-1401 PCI).
>> adapter has MAC addr = XX:XX:XX:XX:XX:XX
>> DVB: registering frontend 0 (Philips TDA10086 DVB-S)...
>>
>> lsmod on this subject:
>> tda826x                 3332  1
>> tda10086                8388  1
>> budget                 11264  0
>> budget_core            10116  1 budget
>> saa7146                16392  2 budget,budget_core
>> ttpci_eeprom            2176  1 budget_core
>> dvb_core               71400  2 budget,budget_core
>> i2c_core               19536  13 lirc_i2c,eeprom,asb100,
>> 				i2c_viapro,lnbp21,tda826x,tda10086,
>> 				tuner,budget,budget_core,ttpci_eeprom,
>> 				saa7134,ir_kbd_i2c
>>
>> Can somebody help? Appreciate any suggestions.
> 
> Hi -- the problem is I dont actually have any DISEQC devices to test against, 
> so I was kinda guessing when I develloped the DISEQC code for that card.

Hi Yuri,

does the attached patch solve the problem?

Signed-off-by: Andreas Oberritter <obi@xxxxxxxxxxx>
diff -r 490926d27eda linux/drivers/media/dvb/frontends/tda10086.c
--- a/linux/drivers/media/dvb/frontends/tda10086.c	Fri Nov 17 12:59:22 2006 -0200
+++ b/linux/drivers/media/dvb/frontends/tda10086.c	Fri Nov 17 18:13:52 2006 +0100
@@ -212,7 +212,7 @@ static int tda10086_send_master_cmd (str
 	for(i=0; i< cmd->msg_len; i++) {
 		tda10086_write_byte(state, 0x48+i, cmd->msg[i]);
 	}
-	tda10086_write_byte(state, 0x36, 0x08 | ((cmd->msg_len + 1) << 4));
+	tda10086_write_byte(state, 0x36, 0x08 | ((cmd->msg_len - 1) << 4));
 
 	tda10086_diseqc_wait(state);
 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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