Feature #236
Adding support for custom LNB types
| Status: | Rejected | Start date: | ||
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | DVB | |||
| Target version: | - |
Description
I am using a C-Band dual LNB system with 2 dual output LNBs connected to a 4x4 22khz tone + voltage multiswitch (like one used by directv).
To get signal from LNB1, its is just "C-Band"
However, to get LNB2, we need to supply a 22khz tone, just like in the hi-band of a universal LNB.
I propose to solve the problem by creating an extra LNB type "LO5150 + 22Khz" with the following new code in /src/dvb/dvb_satconf.c:
first mod is in function dvb_lnblist_get(void), we add this:
add_to_lnblist(array, "LO=5150, 22Khz=On");
second mod is in function dvb_lnb_get_frequencies(const char *id, int *f_low, int *f_hi, int *f_switch), we add this to the if statement chain:
else if(!strcmp(id, "LO=5150, 22Khz=On")) {
*f_low = 5150;
*f_hi = 5150;
*f_switch = 3300;
}
the f_switch can be anything under 3400 (lowest freqency in C-Band which is 3.4-4.2Ghz).
What do you think?
Also, I would be willing to help change the configuration system to a dynamic one based on config files so that these things don't have to be hard coded in. However, before I start this I would like to know the rationale behind you original design to code the parameters in C. Was it due to time constraints or a more meaningful reason?
History
#1
Updated by Bohan Huang - almost 3 years ago
Is it possible to grant me commit access on SVN (on new branch is required)?
#2
Updated by Andreas Ă–man over 2 years ago
- Category changed from General to DVB
#3
Updated by Adam Sutton 9 months ago
- Status changed from New to Accepted
- Priority changed from High to Low
- Target version deleted (
3.0)
Not an area of the code I'm very familiar with, but if stuff can be made configurable it ideally should.
#4
Updated by Adam Sutton 8 months ago
- Status changed from Accepted to Rejected
Unless someone steps forward with a PR in this area, don't think it likely this will get done anytime soon.