Opened 18 years ago

Closed 18 years ago

#927 closed enhancement (fixed)

Support for DiSEqC switch + rotor control / incremental retuning

Reported by: Mark.Buechler@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: dvb Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

I have a switch behind a rotor which Myth doesn't current support. I've added in hacks to support this for myself but it would be nice to have official support in Myth.

Also, my tuner card fails to tune most of the time if the rotor is moving. I also hacked around this by adding an incremental re-tune while DummyDTVRecorder::StartRecording?() is running (within dvbrecorder.cpp since I need channel tuning information) which doesn't work on initial tunes (since DVBRecorder::StartRecording?() doesn't get run on an initial tune). It would also be nice to have offical support for this as well. This problem effects Twinhan 102G/1020a cards (and probably more).

Attachments (3)

patch2.diff.gz (1.4 KB) - added by Mark.Buechler@… 18 years ago.
A quick diff outlining the changes - works but not implemented well.
tuning_patch.diff (11.4 KB) - added by Mark.Buechler@… 18 years ago.
Much better patch
tuning1.diff (7.1 KB) - added by Mark.Buechler@… 18 years ago.
The patch

Download all attachments as: .zip

Change History (8)

Changed 18 years ago by Mark.Buechler@…

Attachment: patch2.diff.gz added

A quick diff outlining the changes - works but not implemented well.

comment:1 Changed 18 years ago by danielk

Milestone: unknown0.20

Changed 18 years ago by Mark.Buechler@…

Attachment: tuning_patch.diff added

Much better patch

comment:2 Changed 18 years ago by danielk

Resolution: invalid
Status: newclosed

Mark, this patch does not want to apply at all to current SVN.

Can you update this to work with SVN and add it to #1552, I believe your patch implements portions 5 & 6 of Marcus Metzler's DVB tuning suggestions and should help greatly with DVB-S tuning in MythTV.

BTW If you use MythTimer? rather than QTime you don't need to worry about the 24 hour wrap around in QTime.

comment:3 Changed 18 years ago by Mark.Buechler@…

Resolution: invalid
Status: closedreopened

Added patch against 9481. Since my last tuning patch I tried MythTimer? and found it to elapse too fast so I created my own which is a bit more configurable.

  • Mark.

Changed 18 years ago by Mark.Buechler@…

Attachment: tuning1.diff added

The patch

comment:4 Changed 18 years ago by danielk

(In [9564]) Refs #927, Refs #1552. Adds Retune() call to dvbchannel.

comment:5 Changed 18 years ago by danielk

Resolution: fixed
Status: reopenedclosed

(In [9565]) Fixes #927, refs #1049, refs #1552. Retunes when we fail to see video after a while (for DVB-S).

This is mainly intended to help DVB-S, where sometimes tuning fails due to DiSEqC and other hardware and driver issues.

This should be backed out and moved to DVBSignalMonitor once #1049 is addressed. At the moment we never know if we are on the right transport, which is especially problematic when there is a rotor involved. Once #1049 is implemented we will know, and then we can safely move this code to the signal monitor which also means the UI won't freeze up while tuning DVB-S channels.

Note: See TracTickets for help on using tickets.