STRUCT DVB_RC(9)
π 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 vibeprotocolβ the type of protocol(s) currently used by the driver π like, what protocol is this driver on rnallowed_protosβ the protocol(s) supported by the driver π so this is the allowed list, not the "currently in use" list, iykykdriver_typeβ used to point if a device supports raw mode π literally that's its whole jobchange_protocolβ callback to change protocol π¦ yes it's a callback, yes it's that girlmodule_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 vibesbulk_modeβ device supports bulk mode for RC (disable polling mode) π₯ okay so this one actually turns polling mode OFF, highkey importantscancode_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
- 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