Opened 18 years ago
Closed 18 years ago
Last modified 17 years ago
#2087 closed patch (fixed)
Clean up US frequency tables
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
As described in #2060 and the thread at http://www.gossamer-threads.com/lists/mythtv/dev/214338#214338 , the NTSC cable frequency tables (including standard, HRC, and IRC) have various discrepancies. The attached patches can be used to correct the discrepancies as described in the comments.
Attachments (1)
Change History (20)
comment:1 Changed 18 years ago by
Milestone: | → 0.20 |
---|---|
Type: | patch → task |
Version: | → head |
comment:2 Changed 18 years ago by
Summary: | Clean up NTSC cable frequency tables → Clean up US cable frequency tables |
---|---|
Type: | task → patch |
Added patches for digital frequency tables. My recommendation is to apply the following patches before 0.20 release (in the order specified):
mythtv-ntsc_cable-fix_t_band.patch
mythtv-ntsc_irc-t_band_to_match_standard.patch
mythtv-digital_cable-fix_standard.patch
mythtv-digital_cable-fix_t_band-after_fix_standard.patch
mythtv-digital_cable_hrc_irc-fix.patch
mythtv-digital_cable_hrc_irc-fix_high.patch
mythtv-digital_cable-scanfrequencytable_labels.patch
Doing so will only fix the values that will not work and does not remove any channels (even where they're not defined for the frequency table). Once these patches are applied, milestone can be changed to 0.21.
After 0.20, we can do the more experimental changes, such as:
- removing channels (i.e. channel 1 in standard and T-band channels in HRC/IRC), if desired
- finetuning frequencies (i.e. using the 6.0003MHz step for HRC and adjusting IRC by 12.5kHz (or 25kHz for 42, 98, and 99)
- possibly creating a new frequency table to allow for differentiation between positive and negative offsets in the radionavigation/radiocommunications bands for channels in the standard frequency tables
These patches may require digital users to rescan channels (depending on which frequencies their cable companies use), but likely no more so than [10593] did.
comment:3 Changed 18 years ago by
Summary: | Clean up US cable frequency tables → Clean up US frequency tables |
---|
Added one more that should go in before 0.20 ( mythtv-atsc_fix_freqtable.patch ). Currently, in the atsc_vsb8 frequency table, channels 5 and 6 are at the wrong frequencies (75MHz and 81MHz instead of 79MHz and 85MHz) because of a 4MHz jump between channels 4 and 5.
comment:4 Changed 18 years ago by
comment:5 Changed 18 years ago by
(In [10645]) Refs #2087. Applies "mythtv-digital_cable-scanfrequencytable_labels.patch" + updates help text to match.
This just changes the human names of the high frequency tables to use "High" as the modifier, instead of trying to express the frequencies scanned via incomplete reference to the corresponding channel numbers. That just caused confusion, and didn't add anything except _maybe_ to the limited number of people who had read way too much cable industry technical literature.
comment:6 Changed 18 years ago by
(In [10646]) Refs #2087. Removes T-band channels from digital HRC & IRC tables. See: http://www.jneuhaus.com/fccindex/cablech.html
These were harmless, but unneccesary.
comment:7 Changed 18 years ago by
(In [10647]) Refs #2087. Removes T-band channels from analog HRC & IRC tables. See: http://www.jneuhaus.com/fccindex/cablech.html
These were harmless, but unneccesary.
comment:8 Changed 18 years ago by
(In [10648]) Refs #2087. Removes NTSC Standard Cable Channel 1.
This channel was removed from the broadcast standards in 1945 (on which this portion of the cable channel assignments is based).
According to what I have found via google, it has not been used since the 1970's.
This applies "mythtv-digital_cable-remove_channel_1-before_fix_standard.patch" and "mythtv-ntsc_cable-remove_channel_1.patch"
comment:9 Changed 18 years ago by
(In [10649]) Refs #2087. Fixes T-Band channels for both digital and analog tables.
These channels were off by 1.25 Mhz, the wrong carrier was probably referenced when these were initially created.
Applies "mythtv-digital_cable-fix_t_band-before_fix_standard.patch" and "mythtv-ntsc_cable-fix_t_band.patch"
comment:10 Changed 18 years ago by
comment:11 Changed 18 years ago by
Milestone: | 0.20 → 0.21 |
---|---|
Severity: | medium → low |
I've applied all the major fixes, I'm pushing the fine-tuning of the tables off to 0.21. We also probably want to add some code to fix any fine-tuning the users have already done to match the new fine-tuned table entries.
comment:12 Changed 18 years ago by
There were a couple of changes that got lost in the mess of patches. They are fixed by the patches mythtv-20060726-digital_cable.patch and mythtv-20060726update-digital_cable_hrc_irc.patch . (Please don't use mythtv-20060726-digital_cable_hrc_irc.patch--without the word update--it's missing an end frequency change. Sorry.)
comment:13 Changed 18 years ago by
comment:14 Changed 18 years ago by
[10794] applied mythtv-20060726-digital_cable_hrc_irc.patch and mythtv-20060726update-digital_cable_hrc_irc.patch
comment:15 Changed 18 years ago by
(In [11390]) Refs #2087. Finetunes Cable HRC table.
Our HRC table entries are a few kHz off. This corrects for that with a patch from mtdean at thirdcontact com.
Generally the lower channels were within the rounding error of the bttv and ivtv drivers, but the error accumulates so that at 125 it is three bttv/ivtv finetune ticks from the correct value. If you are using HRC and are not finetuning the upper channels this should improve your analog reception a bit. If you were finetuning, you should clear for your HRC channels.
comment:16 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [11391]) Fixes #2087. Finetunes Cable IRC frequency table.
Like the HRC table our IRC table was a little off. Except for three channels this was within rounding error for ivtv/bttv drivers, the three channels that were off by more, were off by only about one finetuning tick in these drivers. This should make no real difference in tuning for either of the most popular analog cards, but simply aligns the table with published standards.
Changed 18 years ago by
Attachment: | mythtv-digital_hrc_irc_finetune.patch added |
---|
Patch for finetuning the digital HRC/IRC frequency tables.
comment:17 Changed 18 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The attached patch fine tunes the digital HRC and IRC frequency tables. The code changes compile fine and I've re-checked the frequencies multiple times, so I'm pretty certain everything is correct in the patch. However, I don't have cable, so it's untested.
I couldn't find the macros used for creating DVB frequency tables to see if one was what I needed, so I just modified the one that was used for US digital cable to allow specifying the bandwidth (instead of using a value of 6MHz for all frequency tables). If there is other code I could have re-used, instead, please let me know.
The patch breaks creation of the frequency tables into two sections of code rather than using a loop to create HRC and IRC as before. While HRC and IRC were very similar (allowing a simple mathematical calculation of frequencies) when using "approximate" values, using exact values makes the calculation far more complex (and much less maintainable code). To get an idea of what it looks like, see http://misc.thirdcontact.com/MythTV/mythtv-digital_hrc_irc_finetune-original_format.patch .
comment:18 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Changing to a task. The digital tables should be fixed as well and there are no patches for those.