sx_common_wr...event_config(9)
π sx_common_wr...event_config(9) β the Kernel API Manual glow-up β¨
okay so welcome to the manual page for sx_common_wr...event_config(9), bestie β yes the title is literally abbreviated with ellipsis dots in the actual manual name, that's just how the kernel does, we don't question it π. She's a Kernel API Manual entry, she's giving very niche, very demure, very "you either know IIO or you don't" energy. iykyk π
πΈ NAME πΈ
sx_common_write_event_config β literally the function that configures an event setting. that's it. that's the whole vibe. β¨
π¦ SYNOPSIS π¦
int sx_common_write_event_config (struct iio_dev *indio_dev , const
struct iio_chan_spec *chan , enum iio_event_type type , enum
iio_event_direction dir , bool state );
she returns an int, she takes five arguments, she's booked and busy π
π ARGUMENTS π
indio_devβ the iio device object π«Ά like, the whole device bestie herselfchanβ the channel to enable πtypeβ type of event. lowkey unused π (yes she's listed, no she's not doing anything, we still love her)dirβ direction of event. also unused π (same energy, she's just here for the group photo)stateβ the state of the event β this one actually matters fr fr
β DESCRIPTION β
Enable/Disable event on a given channel. that's the whole description, she's concise, she's efficient, she ate and left no crumbs π
so basically: you hand her a channel and a state, and she flips the event on or off for it. no cap. π
ngl, two of the five arguments are marked unused βtypeanddir. not me pointing that out dramatically, that's just literally what the page says π keep that in mind so you don't go assuming they do something iconic. they don't.
π₯ SEE ALSO π₯
- Kernel file
./drivers/iio/proximity/sx_common.cβ the source, the origin story, the main character's hometown π‘ sx_common_read_proximity(9)πΈsx_common_read_event_config(9)π¦sx_common_probe(9)π
okay that's the whole page bestie, hope it slayed π β this one came straight out of ./drivers/iio/proximity, dated October 2026, and yeah the manual name in the corner is the same abbreviated sx_common_wr...event_config(9) because the kernel refuses to type out the full thing, iconic behaviour honestly πβ¨
π¦ 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