STRUCT RFKILL_EVENT_EXT(9)
β¨ NAME β¨
okay so this is the <pink>Kernel API Manual</pink> page for struct rfkill_event_ext β the struct that handles events for userspace on /dev/rfkill π
π SYNOPSIS π
struct rfkill_event_ext {
__u32 idx;
__u8 type;
__u8 op;
__u8 soft;
__u8 hard;
__u8 hard_block_reasons;
};
that's the whole shape of it, bestie π«Ά
π MEMBERS π
idxβ the index of the dev rfkill. like, which one it is β¨typeβ the type of the rfkill struct πΈopβ the operation code π«softβ the soft state, and it's0/1only, no in-between πhardβ the hard state, also strictly0/1βhard_block_reasonsβ this one only counts (valid) ifhardis set, iykyk. it's one or several reasons, pulled fromenum rfkill_hard_block_reasonsπ₯
π DESCRIPTION π
so this structure? it's the one used for userspace communication on /dev/rfkill π and it works both directions β it carries events from the kernel, and it carries control to the kernel. main character energy, honestly π
also: see the extensibility docs below π (yes, for real, they're in the SEE ALSO, go look)
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/linux/rfkill.h enum rfkill_type(9)enum rfkill_operation(9)enum rfkill_hard_block_reasons(9)struct rfkill_event(9)Extensibility(9)
okay that's the whole page, no cap π§ this came to you straight from ./include/uapi/linux, dated October 2026 β and it's literally titled struct rfkill_event_ext(9), in case you forgot already π go touch /dev/rfkill responsibly, love u, 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