STRUCT RFKILL_EVENT(9)
π NAME π
struct rfkill_event β the events for userspace on /dev/rfkill, bestie. This is the struct rfkill_event(9) page, and yes, we are literally in the Kernel API Manual rn. π
β¨ SYNOPSIS β¨
struct rfkill_event {
__u32 idx;
__u8 type;
__u8 op;
__u8 soft;
__u8 hard;
};
π Members π
idxβ the index of the dev rfkill. like, which rfkill device we're talking about π«typeβ the type of the rfkill struct.opβ the operation code.softβ the soft state, and it's0or1.hardβ the hard state, also0or1.
πΈ Description πΈ
Okay so bestie, this struct is the whole communication vibe for userspace on /dev/rfkill π¦. It's used for events from the kernel and control to the kernel. Literally the little messenger between the two, no cap β¨.
π¦ 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_ext(9)Extensibility(9)
Okay bye bestie π«Ά this page lives in ./include/uapi/linux, dated October 2026, and its footer is literally struct rfkill_event(9). 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