ENUM V4L2_I2C_TUNER_TYPE(9)
π 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 withtea5761support) and0x60. yes, that0x10is 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,0x4aand0x4b. 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,0x63and0x64. 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,0x63and0x64. so it'sADDRS_TVminus 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:
v4l2_ctrl_query_fill(9)v4l2_i2c_new_subdev(9)v4l2_i2c_new_subdev_board(9)v4l2_i2c_subdev_set_name(9)v4l2_i2c_subdev_init(9)v4l2_i2c_subdev_addr(9)v4l2_i2c_tuner_addrs(9)v4l2_i2c_subdev_unregister(9)v4l2_spi_new_subdev(9)v4l2_spi_subdev_init(9)v4l2_spi_subdev_unregister(9)v4l_bound_align_image(9)v4l2_find_nearest_size_conditional(9)v4l2_find_nearest_size(9)v4l2_g_parm_cap(9)v4l2_s_parm_cap(9)enum v4l2_pixel_encoding(9)struct v4l2_format_info(9)v4l2_get_link_freq(9)v4l2_get_active_data_lanes(9)v4l2_link_freq_to_bitmap(9)devm_v4l2_sensor_clk_get(9)devm_v4l2_sensor_clk_get_legacy(9)
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
- 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