ENUM V4L2_I2C_TUNER_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum v4l2_i2c_tuner_type β€” Kernel API Manual ✨

okay so bestie, welcome to the kernel API manual page for enum v4l2_i2c_tuner_type πŸŽ€ β€” and ngl, this one's short but it matters, because it's literally the thing that tells the kernel which tuner addresses to go sniffing around for when it's out here hunting I2C devices πŸ•΅οΈβ€β™€οΈ


🌸 NAME 🌸

enum v4l2_i2c_tuner_type β€” specifies the range of tuner address that should be used when seeking for I2C devices. that's it, that's the whole vibe check πŸ”₯


✨ SYNOPSIS ✨

enum v4l2_i2c_tuner_type {
    ADDRS_RADIO ,
    ADDRS_DEMOD ,
    ADDRS_TV ,
    ADDRS_TV_WITH_DEMOD

};

like, yes, there's a lil blank line in there before the closing brace, copy it exactly bestie, don't come for me πŸ’€


πŸ¦‹ Constants πŸ¦‹

each one of these is a different "where do we look" list, so let's get into it:

  • ADDRS_RADIO β€” Radio tuner addresses, periodt πŸ“». Represent the following I2C addresses: 0x10 (if compiled with tea5761 support) and 0x60. yes, that 0x10 is conditional, so don't @ me if it's not there in your build πŸ™ˆ
  • ADDRS_DEMOD β€” Demod tuner addresses πŸ’«. Represent the following I2C addresses: 0x42, 0x43, 0x4a and 0x4b. four of them, lowkey a cute lil squad.
  • ADDRS_TV β€” TV tuner addresses πŸ“Ί. Represent the following I2C addresses: 0x42, 0x43, 0x4a, 0x4b, 0x60, 0x61, 0x62, 0x63 and 0x64. nine of them, she's the main character of this enum honestly πŸ‘‘
  • ADDRS_TV_WITH_DEMOD β€” TV tuner addresses if demod is present, this excludes addresses used by the demodulator from the list of candidates 🧚. Represent the following I2C addresses: 0x60, 0x61, 0x62, 0x63 and 0x64. so it's ADDRS_TV minus the demod's spots β€” makes sense, we're not about to double-book the demod's addresses πŸ’…

πŸ’– NOTE πŸ’–

All I2C addresses above use the 7-bit notation. ⭐ this one's important, bestie β€” 7-bit, not the other thing, iykyk. don't go converting these in your head and then wondering why nothing works 😭


🌈 SEE ALSO 🌈

Kernel file ./include/media/v4l2-common.h β€” the home base 🏠

and the whole friend group:


and that's the whole page babes 🫢 this little icon came to you from ./include/media, dated October 2026 β€” yes, October 2026, she's from the future apparently ⭐ slay, go read your I2C addresses correctly now, ily, bye πŸ’œ

πŸ“¦ where this page comes from