STRUCT DVB_RC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct dvb_rc β€” bestie, this is literally the properties of a remote controller, and it's using rc-core ✨ no cap


πŸŽ€ SYNOPSIS πŸŽ€

struct dvb_rc {
    char *rc_codes;
    u64 protocol;
    u64 allowed_protos;
    enum rc_driver_type driver_type;
    int (*change_protocol)(struct rc_dev *dev, u64 *rc_proto);
    char *module_name;
    int (*rc_query) (struct dvb_usb_device *d);
    int rc_interval;
    bool bulk_mode;
    u32 scancode_mask;
 };

🌸 Members 🌸

Okay so this is the part where we meet the whole squad ✨ every single field, and they ALL matter:

  • rc_codes β€” the name of the rc codes table 🫢 that's it, that's the vibe
  • protocol β€” the type of protocol(s) currently used by the driver πŸ‘‘ like, what protocol is this driver on rn
  • allowed_protos β€” the protocol(s) supported by the driver πŸ’… so this is the allowed list, not the "currently in use" list, iykyk
  • driver_type β€” used to point if a device supports raw mode 😭 literally that's its whole job
  • change_protocol β€” callback to change protocol πŸ¦‹ yes it's a callback, yes it's that girl
  • module_name β€” module name πŸŽ€
  • rc_query β€” called to query an event event. πŸ’€ (yes, the word "event" is in there twice, that's just how the manpage said it, and honestly? iconic)
  • rc_interval β€” time in ms between two queries ⏱️ milliseconds, not vibes
  • bulk_mode β€” device supports bulk mode for RC (disable polling mode) πŸ”₯ okay so this one actually turns polling mode OFF, highkey important
  • scancode_mask β€” scancode mask 🌈 exactly what it sounds like

πŸ¦‹ SEE ALSO πŸ¦‹

Go read these next, bestie, they're all in the kernel file ./drivers/media/usb/dvb-usb/dvb-usb.h and they're all connected πŸ’œ

  • struct dvb_usb_device_description(9)
  • struct dvb_usb_adapter_fe_properties(9)
  • struct dvb_rc_legacy(9)
  • enum dvb_usb_mode(9)
  • struct dvb_usb_device_properties(9)
  • struct usb_data_stream(9)
  • struct dvb_usb_fe_adapter(9)
  • struct dvb_usb_adapter(9)
  • struct dvb_usb_device(9)

Okay bye ily, this page came from ./drivers/media/usb/dvb-usb, dated October 2026, and the manpage itself is called struct dvb_rc(9) β€” stan it, remember it, and go read those SEE ALSOs πŸ™ˆπŸ’–

πŸ“¦ where this page comes from