[mythtv] [mythtv-commits] Ticket #1945: DVB-S/diseqc patch

Mark Buechler mark.buechler at gmail.com
Wed Jul 12 18:46:53 UTC 2006


I'm testing this branch now but I think there are some bugs relating to
polarity/voltage. Here's an excerpt from my backend log:

2006-07-12 13:59:26.122 DVBChan(0): Opening DVB channel
2006-07-12 13:59:26.123 DVBChan(0): SetChannelByString(1):
2006-07-12 13:59:26.125 ChannelBase(4): Failed to find channel(1) on current
input (DiSEqC v1.3 Input 2) of card (4).
2006-07-12 13:59:26.126 ChannelBase(4): Found channel(1) on another input
(DiSEqC v1.3 Input 7) of card (4).
2006-07-12 13:59:26.133 DVBChan(0) Warning: Your frequency setting (555000)
is out of range. (min/max:950000/2150000)
2006-07-12 13:59:26.133 DVBChan(0): Frequency: 11805000 Symbol Rate: 4580000
Pol: h Inv: Auto Mod: QPSK
2006-07-12 13:59:26.135 DiSEqCDevTree: Changing LNB voltage to 18V
2006-07-12 13:59:26.153 DiSEqCDevTree: USALS Rotor - Goto -123 (Azimuth -
50.1675)
2006-07-12 13:59:26.154 DiSEqCDevTree: Sending DiSEqC Command: e0 31 6e d3
22
2006-07-12 13:59:26.455 DiSEqCDevTree: Changing to DiSEqC switch port 2/4
2006-07-12 13:59:26.455 DiSEqCDevTree: Sending DiSEqC Command: e0 10 38 f6
2006-07-12 13:59:26.717 DVBChan(0): Old Params: Frequency: 12369800 Symbol
Rate: 20000000 Pol: v Inv: Auto Mod: QPSK
                        DVBChan(0): New Params: Frequency: 11805000 Symbol
Rate: 4580000 Pol: h Inv: Auto Mod: QPSK
2006-07-12 13:59:26.717 DVBChan(0): Tune(): Tuning to 1055000kHz
2006-07-12 13:59:27.521 dvbchannel.cpp:wait_for_backend: Status:
2006-07-12 13:59:27.521 DVBChan(0): Tune(): Frequency tuning successful.
2006-07-12 13:59:27.521 DVBChan(0): SetChannelByString(1): Tuned to
frequency.
2006-07-12 13:59:27.619 Finished recording This Week at NASA;
Gallery/History: channel 3213
2006-07-12 13:59:27.641 DVBChan(0): Opening DVB channel
2006-07-12 13:59:27.643 SM(0)::AddFlags: Seen() Match()
Wait(Sig,SNR,BER,UB,)
2006-07-12 13:59:27.644 DVBSM(0)::constructor(): initial flags 0x7400000
0: start_time: 3511.638 duration: 1.051
1: start_time: 3511.573 duration: 1.050
stream: start_time: 39017.477 duration: 12.400 bitrate"40 kb/s
2006-07-12 13:59:27.681 AFD: Opened codec 0xaef56e10, id(MPEG2VIDEO)
type(Video)
2006-07-12 13:59:27.715 AFD: Opened codec 0xaef6a860, id(MP3) type(Audio)
[mpeg2video @ 0xb7324084]ac-tex damaged at 5 15
[mpeg2video @ 0xb7324084]ac-tex damaged at 12 16
[mpeg2video @ 0xb7324084]mb incr damaged
[mpeg2video @ 0xb7324084]ac-tex damaged at 0 18
[mpeg2video @ 0xb7324084]ac-tex damaged at 9 19
[mpeg2video @ 0xb7324084]ac-tex damaged at 20 21
[mpeg2video @ 0xb7324084]ac-tex damaged at 19 21
[mpeg2video @ 0xb7324084]invalid mb type in P Frame at 2 24
[mpeg2video @ 0xb7324084]ac-tex damaged at 22 23
[mpeg2video @ 0xb7324084]ac-tex damaged at 0 24
[mpeg2video @ 0xb7324084]invalid mb type in P Frame at 18 25
[mpeg2video @ 0xb7324084]invalid mb type in P Frame at 8 27
[mpeg2video @ 0xb7324084]ac-tex damaged at 19 29
[mpeg2video @ 0xb7324084]invalid mb type in P Frame at 1 28
[mpeg2video @ 0xb7324084]mb incr damaged
2006-07-12 13:59:27.948 DTVSM(0)::SetProgramNumber(1):
2006-07-12 13:59:27.948 SM(0)::RemoveFlags: Seen(PMT,) Match(PMT,) Wait()
2006-07-12 13:59:27.949 SM(0)::AddFlags: Seen() Match() Wait(PMT,)
2006-07-12 13:59:27.949 SM(0)::AddFlags: Seen() Match() Wait(PAT,PMT,)
2006-07-12 13:59:27.949 SM(0)::AddFlags: Seen() Match() Wait()
2006-07-12 13:59:27.950 SM(0)::Start: begin
2006-07-12 13:59:27.952 SM(0)::Start: end
2006-07-12 13:59:27.952 DTVSM(0)::GetStatusList: WaitForPMT seen(0)
matching(0)
2006-07-12 14:00:01.194 DVBSM(0)::UpdateValues: Retuning for rotor
completion
2006-07-12 14:00:01.194 DiSEqCDevTree: Changing LNB voltage to 13V
2006-07-12 14:00:01.195 DiSEqCDevTree: Changing to DiSEqC switch port 2/4
2006-07-12 14:00:01.195 DiSEqCDevTree: Sending DiSEqC Command: e0 10 38 f4
2006-07-12 14:00:01.456 DVBChan(0): Old Params: Frequency: 11805000 Symbol
Rate: 4580000 Pol: v Inv: Auto Mod: QPSK
                        DVBChan(0): New Params: Frequency: 11805000 Symbol
Rate: 4580000 Pol: v Inv: Auto Mod: QPSK
2006-07-12 14:00:01.456 DVBChan(0): Tune(): Tuning to 1055000kHz
2006-07-12 14:00:02.260 dvbchannel.cpp:wait_for_backend: Status:
2006-07-12 14:00:02.260 DVBChan(0): Tune(): Frequency tuning successful.
2006-07-12 14:00:02.261 DVBSM(0)::UpdateValues: Signal Lost
2006-07-12 14:00:06.257 DVBSM(0)::UpdateValues: Retuning for lock loss
2006-07-12 14:00:06.257 DiSEqCDevTree: Changing to DiSEqC switch port 2/4
2006-07-12 14:00:06.258 DiSEqCDevTree: Sending DiSEqC Command: e0 10 38 f4
2006-07-12 14:00:06.518 DVBChan(0): Old Params: Frequency: 11805000 Symbol
Rate: 4580000 Pol: v Inv: Auto Mod: QPSK
                        DVBChan(0): New Params: Frequency: 11805000 Symbol
Rate: 4580000 Pol: v Inv: Auto Mod: QPSK
2006-07-12 14:00:06.518 DVBChan(0): Tune(): Tuning to 1055000kHz
2006-07-12 14:00:07.322 dvbchannel.cpp:wait_for_backend: Status:
2006-07-12 14:00:07.322 DVBChan(0): Tune(): Frequency tuning successful.
2006-07-12 14:00:11.291 TVRec(4): Changing from WatchingLiveTV to None
2006-07-12 14:00:11.291 DVBSM(0)::Stop: begin
2006-07-12 14:00:11.291 SM(0)::Stop: begin
2006-07-12 14:00:11.313 SM(0)::Stop: end
2006-07-12 14:00:11.314 DVBSM(0)::Stop: end
2006-07-12 14:00:11.323 Finished recording Unknown: channel 131365

The correct polarity is horizontal for channel 1 and the initial tuning uses
this. Somehow along the line after the rotor move completes the polarity
switches to verticle which kills the channel lock. Furthermore, upon looking
at the code I see the following in DiSEqCDevLNB::GetVoltage:

voltage 
If I reverse that, I can lock this particular channel but none on verticle
transponders. I don't know how the tuning information is getting the
polarity reversed. Can anyone enlighten me?

Thanks, Mark.

On 7/10/06, MythTV <mythtv at cvs.mythtv.org> wrote:
>
> #1945: DVB-S/diseqc patch
>
> --------------------------------+-------------------------------------------
> Reporter:  yeasah at schwide.net  |        Owner:  danielk
>      Type:  enhancement         |       Status:  new
> Priority:  minor               |    Milestone:  0.20
> Component:  dvb                 |      Version:  head
> Severity:  medium              |   Resolution:
>
> --------------------------------+-------------------------------------------
> Comment (by danielk):
>
> (In [10466]) Refs #1945. Merges r10399:10465 from svn head to diseqc
> branch.
>
> --
> Ticket URL: <http://cvs.mythtv.org/trac/ticket/1945>
> MythTV <http://www.mythtv.org/>
> MythTV
> _______________________________________________
> mythtv-commits mailing list
> mythtv-commits at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060712/e961657c/attachment.htm 


More information about the mythtv-dev mailing list