Canadian TV, Computing and Home Theatre Forums - View Single Post - Evga InDTube ATSC tuner in Linux, Solved!
View Single Post
post #7 of (permalink) Old 2010-12-26, 01:14 AM Thread Starter
majortom
Veteran
 
Join Date: Jan 2009
Posts: 4,717
Quote:
Compiled fine, but didn't work. I think there must be another module,
I found it. The code in frequencies.c is only for defining the NTSC / analog freqs.
The code in frequencytables.cpp is used for defining the ATSC / digital freqs.
Below is all I had to change, and now the built in scanner function
works like a champ with this Evga inDtube tuner.
just commented out 4 lines, and replaced em with mine.
could even completely delete the code related to ch 70-83 but just
left that as is, since it's useless anyway...

modification to frequencytables.cpp
Code:
#else // if !DEBUG_DVB_OFFSETS
    // USA Terrestrial (center frequency, subtract 1.75 MHz for visual carrier)
    // VHF 2-4
    fmap["atsc_vsb8_us0"] = new FrequencyTable(
    //  "ATSC Channel %1",  2,  57000000,  69000000, 6000000,
        "ATSC Channel %1",  2,  56625000,  68625000, 6000000,
        DTVModulation::kModulation8VSB);
    // VHF 5-6
    fmap["atsc_vsb8_us1"] = new FrequencyTable(
    //  "ATSC Channel %1",  5,  79000000,  85000000, 6000000,
	"ATSC Channel %1",  5,  78625000,  84625000, 6000000,
        DTVModulation::kModulation8VSB);
    // VHF 7-13
    fmap["atsc_vsb8_us2"] = new FrequencyTable(
     // "ATSC Channel %1",  7, 177000000, 213000000, 6000000,
	"ATSC Channel %1",  7, 176625000, 212625000, 6000000,
        DTVModulation::kModulation8VSB);
    // UHF 14-69
    fmap["atsc_vsb8_us3"] = new FrequencyTable(
    //  "ATSC Channel %1", 14, 473000000, 803000000, 6000000,
        "ATSC Channel %1", 14, 472625000, 802625000, 6000000,	
        DTVModulation::kModulation8VSB);
    // UHF 70-83
    fmap["atsc_vsb8_us4"] = new FrequencyTable(
        "ATSC Channel %1", 70, 809000000, 887000000, 6000000,
        DTVModulation::kModulation8VSB);
#endif // !DEBUG_DVB_OFFSETS
majortom is offline  
 
 
For the best viewing experience please update your browser to Google Chrome