New Nexus FF Ver 2.3 cards

Message ID 200503212327.44462@orion.escape-edv.de
State New
Headers

Commit Message

Oliver Endriss March 21, 2005, 10:27 p.m. UTC
  Martin Spears wrote:
> without the use of diseqc the card does work. I can recieve from several
> sats as long as I do not use diseqc switching. If I were to go direct then
> everything works perfect.

Ok, let's assume that the DiSEqC code in the stv0299 driver is buggy.
Try the attached patch. Does it work now?

If not, try to load the stv0299 driver with parameter 'debug=1' and post
the output when tuning. Please post your diseqc.conf file.

Oliver
  

Comments

Martin Spears March 23, 2005, 7:24 p.m. UTC | #1
here is my diseqc.conf

# DiSEqC configuration for VDR
#
# Format:
#
# satellite slof polarization lof command...
#
# satellite:      one of the 'S' codes defined in sources.conf
# slof:           switch frequency of LNB; the first entry with
#                 an slof greater than the actual transponder
#                 frequency will be used
# polarization:   V = vertical, H = horizontal
# lof:            the local oscillator frequency to subtract from
#                 the actual transponder frequency
# command:
#   t         tone off
#   T         tone on
#   v         voltage low (13V)
#   V         voltage high (18V)
#   A         mini A
#   B         mini B
#   Wnn       wait nn milliseconds (nn may be any positive integer number)
#   [xx ...]  hex code sequence (max. 6)
#
# The 'command...' part is optional.
#
# Examples:

# Full DiSEqC sequence:

S119W  11250 V 99999  t v W15 [E0 10 38 F0] W15 A W15 t
S119W  99999 V 11250  t v W15 [E0 10 38 F1] W15 A W15 T
S119W  11250 H 99999  t V W15 [E0 10 38 F2] W15 A W15 t
S119W  99999 H 11250  t V W15 [E0 10 38 F3] W15 A W15 T

S110W  11250 V 99999  t v W15 [E0 10 38 F4] W15 B W15 t
S110W  99999 V 11250  t v W15 [E0 10 38 F5] W15 B W15 T
S110W  11250 H 99999  t V W15 [E0 10 38 F6] W15 B W15 t
S110W  99999 H 11250  t V W15 [E0 10 38 F7] W15 B W15 T

and what happens when I cahnge channels


softcam 0: setting new SID 118, source 84a6, transponder 33e06
softcam 0: logger stopped
ecmcache: from cache: system Nagra (1800) id 0000 with ecm 24
softcam 0: try system Nagra (1800) id 0000 with ecm 24 (cached) (pri=-10)
softcam 0: started logger sys=0x1800 id=0x0
system: using key N 101 00 B3E1DF3753758AB5
softcam 0: correct key found
softcam 0: started logger sys=0x1800 id=0x0
softcam 0: check ProvidesCa: 1810 1801 1800 -> n=1
softcam 0: ignoring new SID 118, source 84a6, transponder 33e06
softcam 0: check ProvidesCa: 1810 1801 1800 -> n=1
softcam 0: setting new SID 506, source 844c, transponder 33e98
softcam 0: logger stopped
ecmcache: from cache: system Nagra (1800) id 0000 with ecm 26
softcam 0: try system Nagra (1800) id 0000 with ecm 26 (cached) (pri=-10)
softcam 0: started logger sys=0x1800 id=0x0
system: using key N 101 00 B3E1DF3753758AB5
softcam 0: correct key found
softcam 0: started logger sys=0x1800 id=0x0

but when I change channels to this other sat, there is nothing but a blank
screen. if I disconnect the switch and go direct then the system works
perfect
this happens with both vdr 1.3.22 and 1.3.23

any ideas

-----Original Message-----
From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org]On Behalf Of
Oliver Endriss
Sent: Monday, March 21, 2005 5:28 PM
To: vdr@linuxtv.org
Subject: Re: [vdr] New Nexus FF Ver 2.3 cards


Martin Spears wrote:
> without the use of diseqc the card does work. I can recieve from several
> sats as long as I do not use diseqc switching. If I were to go direct then
> everything works perfect.

Ok, let's assume that the DiSEqC code in the stv0299 driver is buggy.
Try the attached patch. Does it work now?

If not, try to load the stv0299 driver with parameter 'debug=1' and post
the output when tuning. Please post your diseqc.conf file.

Oliver

--
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.0 - Release Date: 3/21/2005
  
Dominique Simon March 23, 2005, 9:23 p.m. UTC | #2
Am 23.03.2005 um 20:24 schrieb Martin Spears:

> softcam 0: correct key found
>

Ouch...

You should try with a plain/vanilla VDR.

Ciao
  
Martin Spears March 23, 2005, 9:26 p.m. UTC | #3
what is wrong with that. my problem is that the card will not switch through
the diseqc.

-----Original Message-----
From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org]On Behalf Of
Dominique Simon
Sent: Wednesday, March 23, 2005 4:23 PM
To: Klaus Schmidinger's VDR
Subject: Re: [vdr] New Nexus FF Ver 2.3 cards



Am 23.03.2005 um 20:24 schrieb Martin Spears:

> softcam 0: correct key found
>

Ouch...

You should try with a plain/vanilla VDR.

Ciao


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.0 - Release Date: 3/21/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.0 - Release Date: 3/21/2005
  
Kenneth Aafløy March 23, 2005, 9:36 p.m. UTC | #4
On Wednesday 23 March 2005 22:26, Martin Spears wrote:
> what is wrong with that. my problem is that the card will not switch through
> the diseqc.

Support for this card has just been added to dvb-kernel cvs, so you should
direct you inquiries there instead!

This was already mentioned in this thread by Oliver Endriss,
please follow what advise is given.

Subscribing to the dvb-kernel mailing list can be done here:
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

So there should be no more posts on this here, untill the diseqc
stuff on the 2.3 revision of the nexus board is confirmed on the
linux-dvb list. I added linux-dvb to CC list..

Kenneth
  
Martin Spears March 23, 2005, 9:49 p.m. UTC | #5
ok I subsrcibed to the mailing list

-----Original Message-----
From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org]On Behalf Of
Kenneth Aafl?y
Sent: Wednesday, March 23, 2005 4:37 PM
To: Klaus Schmidinger's VDR; linux-dvb@linuxtv.org
Subject: [vdr] Diseqc on Nexus rev 2.3 (was: New Nexus FF Ver 2.3 cards)


On Wednesday 23 March 2005 22:26, Martin Spears wrote:
> what is wrong with that. my problem is that the card will not switch
through
> the diseqc.

Support for this card has just been added to dvb-kernel cvs, so you should
direct you inquiries there instead!

This was already mentioned in this thread by Oliver Endriss,
please follow what advise is given.

Subscribing to the dvb-kernel mailing list can be done here:
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

So there should be no more posts on this here, untill the diseqc
stuff on the 2.3 revision of the nexus board is confirmed on the
linux-dvb list. I added linux-dvb to CC list..

Kenneth
  
Kenneth Aafløy March 23, 2005, 9:56 p.m. UTC | #6
On Wednesday 23 March 2005 22:49, Martin Spears wrote:
Kenneth Aafløy wrote:
> > So there should be no more posts on this here, untill the diseqc
> > stuff on the 2.3 revision of the nexus board is confirmed on the
> > linux-dvb list. I added linux-dvb to CC list..
> 
> ok I subsrcibed to the mailing list

You enjoyed that, ah? :)

Another advise for those outlook users out there is to keep their eyes
out for those quoting bugs that are present in every version of outlook.

Kenneth
  
Dominique Simon March 24, 2005, 7:53 a.m. UTC | #7
Am 23.03.2005 um 22:26 schrieb Martin Spears:

> what is wrong with that. my problem is that the card will not switch 
> through
> the diseqc.
>

Just do it. I experienced the weirdest things with plugins (VDR not 
tuning right to a channel for example), besides that, you posted 
softcam output with keys...

Ciao
  
M Racine March 24, 2005, 11:21 p.m. UTC | #8
> S119W  11250 V 99999  t v W15 [E0 10 38 F0] W15 A W15 t
> S119W  99999 V 11250  t v W15 [E0 10 38 F1] W15 A W15 T
> S119W  11250 H 99999  t V W15 [E0 10 38 F2] W15 A W15 t
> S119W  99999 H 11250  t V W15 [E0 10 38 F3] W15 A W15 T
> 
> S110W  11250 V 99999  t v W15 [E0 10 38 F4] W15 B W15 t
> S110W  99999 V 11250  t v W15 [E0 10 38 F5] W15 B W15 T
> S110W  11250 H 99999  t V W15 [E0 10 38 F6] W15 B W15 t
> S110W  99999 H 11250  t V W15 [E0 10 38 F7] W15 B W15 T

I think your diseqc.conf is wrong, I am using Circular DBS LNB with 4X1 diseqc.
it looks like this. Your values after the polarity (99999) I think is no good.

#LNB1
S119W  99999 V 11250  t v W15 [E0 10 38 F0]         
S119W  99999 H 11250  t V W15 [E0 10 38 F0]       
#LNB2
S110W  99999 V 11250  t v W15 [E0 10 38 F4]        
S110W  99999 H 11250  t V W15 [E0 10 38 F4]       
#                         ^^^^^^^ LOF frequency, never seen 99999
#LNB3 = F8                  
#LNB4 = FC
  

Patch

Index: stv0299.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/frontends/stv0299.c,v
retrieving revision 1.65
diff -p -u -r1.65 stv0299.c
--- stv0299.c	9 Mar 2005 15:52:00 -0000	1.65
+++ stv0299.c	21 Mar 2005 22:22:25 -0000
@@ -309,11 +309,19 @@  static int stv0299_send_diseqc_burst (st
 
 	val = stv0299_readreg (state, 0x08);
 
-	if (stv0299_writeregI (state, 0x08, (val & ~0x7) | 0x2))	/* burst mode */
-		return -EREMOTEIO;
-
-	if (stv0299_writeregI (state, 0x09, burst == SEC_MINI_A ? 0x00 : 0xff))
-		return -EREMOTEIO;
+	if (burst == SEC_MINI_A) {
+		/* unmodulated '0' tone burst */
+		if (stv0299_writeregI (state, 0x08, (val & ~0x7) | 0x2))
+			return -EREMOTEIO;
+		if (stv0299_writeregI (state, 0x09, 0x00))
+			return -EREMOTEIO;
+	} else {
+		/* modulated '1' tone burst */
+		if (stv0299_writeregI (state, 0x08, (val & ~0x7) | 0x6))
+			return -EREMOTEIO;
+		if (stv0299_writeregI (state, 0x09, 0xff))
+			return -EREMOTEIO;
+	}
 
 	if (stv0299_wait_diseqc_idle (state, 100) < 0)
 		return -ETIMEDOUT;