[mythtv] [PATCH] Experimental full DVB-T scan

John Pullan jmp at tarantella.com
Thu Mar 31 21:39:19 UTC 2005


All,
	The attached patch attempts to do a full scan for channels, i.e no
entering of tuning parameters. I've got it working for the UK, on my box
using a Nova-T :). I've also tried to enter some information for Finland
and Sweden, but I'm looking for information/feedback for more countries.

If you feel like entering more/fixing scanning information the places
you need to look at are ScanCountry in scanwizard.h for country chooser
widget, and the the top of siscan.cpp for the frequency/parameter
tables. (I hope the comments next to the structure are enough for you)

You're allowed more than one frequency band in a country spec. And for
each band you may also specify up to two offsets from the main centre
frequency (used in the UK and maybe Aus'). 

so

FrequencyTable frequenciesUK[]=
{

{474000000,850000000,8000000,INVERSION_OFF,BANDWIDTH_8_MHZ,FEC_AUTO,FEC_AUTO,QAM_AUTO,TRANSMISSION_MODE_2K,GUARD_INTERVAL_1_32,HIERARCHY_NONE,166670,-166670},
//Temination   
{0,0,0,INVERSION_AUTO,BANDWIDTH_AUTO,FEC_AUTO,FEC_AUTO,QAM_AUTO,TRANSMISSION_MODE_AUTO,GUARD_INTERVAL_AUTO,HIERARCHY_AUTO,0,0},
};
 
specifies a band between 474000000Hz and 850000000Hx stepped in
8000000Hz steps with two offsets (166670,-166670) to each frequency.
(All the other params are for the tuning options)

Please try this out, give me your feedback and include details of your
hardware, drivers etc.

P.S the code isn't quite production level, and I may have broken the
ATSC scan :)

Thanks
-- 
John Pullan <jmp at tarantella.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fullscan.patch
Type: text/x-patch
Size: 35571 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050331/632f521d/fullscan.bin


More information about the mythtv-dev mailing list