STRUCT TUNER_RANGE(9)
β¨ NAME β¨
ok so like, this is struct tuner_range(9) from the Kernel API Manual, and it's literally the thing that defines the frequencies supported by the tuner π
πΈ SYNOPSIS πΈ
struct tuner_range {
unsigned short limit;
unsigned char config;
unsigned char cb;
};
π Members π
limitβ the max frequency supported by that range, in62.5 kHz(TV) or62.5 Hz(Radio), as defined byV4L2_TUNER_CAP_LOW. no cap, that's the ceiling bestie π«Άconfigβ the value of the band switch byte (BB) you need to set up this mode β¨cbβ the value of the CB byte to set up this mode, periodt π
π¦ Description π¦
okay so first thing, please notice π β digital tuners like xc3028/xc4000/xc5000 don't use those ranges, because they're defined inside the driver itself. like, they do their own thing. this struct here is for the analog tuners that are compatible with the "Philips way" to setup the tuners π
on those devices, the tuner set is done via 4 bytes:
- divider byte1 (DB1)
- divider byte 2 (DB2)
- Control byte (CB)
- band switch byte (BB)
and some tuners also have an additional optional Auxiliary byte (AB) β a little bonus byte, if you will π
π SEE ALSO π
Kernel file ./include/media/tuner-types.h enum param_type(9), struct tuner_params(9), struct tunertype(9) β go read those next, fr fr π₯
that's the whole vibe bestie π this one lives in ./include/media and it's from the October 2026 drop, so if you're quoting it in the group chat you know exactly where it came from π slay, go tune something π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms