Project

General

Profile

Bug #3081

Tune before Diseqc does not affect EN50494 behavior

Added by Heinrich Lech over 9 years ago. Updated over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
-
Start date:
2015-09-15
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-385~gf4c6817
Affected Versions:

Description

Hi!

By struggling with the other bug that annoys me I noticed that "Tune before Diseqc" does not change the way tvheadend behaves when tuning a channel.

The log looks like this:

2015-09-07 18:38:32.002 [   INFO]:mpegts: 11719.5H in Astra - tuning on STV090x Multistandard : DVB-S #0
2015-09-07 18:38:32.002 [  TRACE]:diseqc: set voltage 18V
2015-09-07 18:38:32.022 [  DEBUG]:en50494: lnb=0 id=0 freq=1068 pin=256 v/h=1 l/u=1 f=1119500, data=0x0CC5
2015-09-07 18:38:32.022 [  TRACE]:diseqc: sending diseqc (len 5) E0 10 5A 0C C5 
2015-09-07 18:38:32.124 [  TRACE]:diseqc: set voltage 13V
2015-09-07 18:38:32.139 [  DEBUG]:linuxdvb: STV090x Multistandard : DVB-S #0 - starting 11719.5H in Astra
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: STV090x Multistandard : DVB-S #0 - tuning
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: tuner STV090x Multistandard : DVB-S #0 tunning to DVBS 19.2E freq 11719500 H sym 27500000 fec 3/4 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0 (freq 1068500)
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 17 => 5
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 03 => 1068500
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 06 => 2
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 08 => 27500000
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 09 => 3
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 04 => 0
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 13 => 0
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 01 => 0
2015-09-07 18:38:32.140 [   INFO]:subscription: 0003: "scan" subscribing to mux "11719.5H", weight: 6, adapter: "STV090x Multistandard : DVB-S #0", network: "Astra", service: "Raw PID Subscription" 

What it IMHO should look like:

2015-09-07 18:38:32.002 [   INFO]:mpegts: 11719.5H in Astra - tuning on STV090x Multistandard : DVB-S #0
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: tuner STV090x Multistandard : DVB-S #0 tunning to DVBS 19.2E freq 11719500 H sym 27500000 fec 3/4 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0 (freq 1068500)
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 17 => 5
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 03 => 1068500
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 06 => 2
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 08 => 27500000
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 09 => 3
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 04 => 0
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 13 => 0
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 01 => 0
2015-09-07 18:38:32.002 [  TRACE]:diseqc: set voltage 18V
2015-09-07 18:38:32.022 [  DEBUG]:en50494: lnb=0 id=0 freq=1068 pin=256 v/h=1 l/u=1 f=1119500, data=0x0CC5
2015-09-07 18:38:32.022 [  TRACE]:diseqc: sending diseqc (len 5) E0 10 5A 0C C5 
2015-09-07 18:38:32.124 [  TRACE]:diseqc: set voltage 13V
2015-09-07 18:38:32.139 [  DEBUG]:linuxdvb: STV090x Multistandard : DVB-S #0 - starting 11719.5H in Astra
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: STV090x Multistandard : DVB-S #0 - tuning
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: tuner STV090x Multistandard : DVB-S #0 tunning to DVBS 19.2E freq 11719500 H sym 27500000 fec 3/4 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0 (freq 1068500)
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 17 => 5
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 03 => 1068500
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 06 => 2
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 08 => 27500000
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 09 => 3
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 04 => 0
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 13 => 0
2015-09-07 18:38:32.139 [  TRACE]:linuxdvb: S2CMD 01 => 0
2015-09-07 18:38:32.140 [   INFO]:subscription: 0003: "scan" subscribing to mux "11719.5H", weight: 6, adapter: "STV090x Multistandard : DVB-S #0", network: "Astra", service: "Raw PID Subscription" 

Hope that helps.


Files

0001-Early-tune-for-EN50494.patch (800 Bytes) 0001-Early-tune-for-EN50494.patch Maybe that's all Heinrich Lech, 2015-09-16 21:51
0001-Added-frequency-calculation-for-early-tuning-EN50494.patch (1.47 KB) 0001-Added-frequency-calculation-for-early-tuning-EN50494.patch Frequency calculation for EN50494 early tune Heinrich Lech, 2015-09-17 18:23
en50494_tune_before_diseqc.patch (1.69 KB) en50494_tune_before_diseqc.patch works Heinrich Lech, 2015-09-18 17:30

History

#1

Updated by Heinrich Lech over 9 years ago

I included a patch- but I haven't tested it yet.

#3

Updated by Heinrich Lech over 9 years ago

Here is the final working patch

#4

Updated by Heinrich Lech over 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|8f8aa9705df90dccda899710671e83e3acb3c8d6.

#6

Updated by Heinrich Lech over 9 years ago

Optimized "a bit" ;)
Good work!

#8

Updated by Heinrich Lech over 9 years ago

I must apologize that I only used my code yet.

But yes, that was much code for writing r = f ;D

Also available in: Atom PDF