STRUCT RFKILL_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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's 0 or 1.
  • hard β€” the hard state, also 0 or 1.

🌸 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