ENUM AUTOCHAN(9)
π enum autochan(9) β like, the whole vibe check
okay bestie, so this page lives in the Kernel API Manual and it's literally all about enum autochan. Say hi to the automatic channel enabling mechanism's state, because that's what this thing is π
β¨ NAME β¨
enum autochan β the state for the automatic channel enabling mechanism, no cap π
πΈ SYNOPSIS πΈ
enum autochan {
AUTOCHANNELS_DISABLED ,
AUTOCHANNELS_ENABLED ,
AUTOCHANNELS_ACTIVE
};
that's it. that's the enum. iconic, honestly π¦
π«Ά Constants π«Ά
okay so here's where it gets a lil funny β these three constants are all sitting here with -- undescribed -- next to them in the source docs. not me showing up to the group chat with zero context π so fr fr, here's the list exactly as it stands:
AUTOCHANNELS_DISABLEDβ-- undescribed --πAUTOCHANNELS_ENABLEDβ-- undescribed --πAUTOCHANNELS_ACTIVEβ-- undescribed --π
the names are giving "off", "on", and "actively doing the thing", but bestie I'm not gonna sit here and invent lore that isn't in the page. the docs just didn't write it down, and we respect the source πβ¨
π₯ SEE ALSO π₯
- Kernel file
./tools/iio/iio_generic_buffer.c size_from_channelarray(9)process_scan(9)
go read those if you want the actual plot, iykyk π
lowkey a little reminder: nothing on this page is marked deprecated or dangerous β it's just under-described, which is its own kind of tragedy π
and that's the whole page, bestie! π this one came from ./tools/iio, dated October 2026 β so like, mark your calendar, mwah ππβ
π¦ 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