STRUCT DVB_USB_RC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct dvb_usb_rc β€” NAME πŸ’–

okay so bestie, struct dvb_usb_rc is literally the structure for remote controller configuration πŸŽ›οΈβœ¨ like this is the whole vibe of how your DVB USB remote gets set up, no cap.


✨ SYNOPSIS ✨

struct dvb_usb_rc {
    const char *map_name;
    u64 allowed_protos;
    int (*change_protocol)(struct rc_dev *dev, u64 *rc_proto);
    int (*query) (struct dvb_usb_device *d);
    unsigned int interval;
    enum rc_driver_type driver_type;
    bool bulk_mode;
    int timeout;
 };

πŸŽ€ Members πŸŽ€

  • map_name β€” the name of the rc codes table πŸ’… like, this is what your remote's keymap is called, iconic.
  • allowed_protos β€” the protocol(s) supported by the driver πŸ¦‹ a u64 holding all the protocol goodness.
  • change_protocol β€” callback to change protocol πŸ”₯ it's a function pointer taking struct rc_dev *dev and u64 *rc_proto.
  • query β€” called to query an event from the device πŸ‘‘ signature is int (*query) (struct dvb_usb_device *d), and yes it takes the struct dvb_usb_device *d, we love a specific argument.
  • interval β€” time in ms between two queries ⏱️ literally milliseconds, don't forget.
  • driver_type β€” used to point if a device supports raw mode 🌈 it's an enum rc_driver_type, very main character energy.
  • bulk_mode β€” device supports bulk mode for rc (disable polling mode) πŸ’€ a bool, and yeah, it disables polling mode, that's the whole tea.
  • timeout β€” set to length of last space before raw IR goes idle 🫢 the int, the pause, the drama before the signal goes quiet.

🌸 SEE ALSO 🌸

Kernel file ./drivers/media/usb/dvb-usb-v2/dvb_usb.h

  • struct dvb_usb_driver_info(9)
  • struct usb_data_stream_properties(9)
  • struct dvb_usb_adapter_properties(9)
  • struct dvb_usb_device_properties(9)
  • struct usb_data_stream(9)
  • struct dvb_usb_adapter(9)
  • struct dvb_usb_device(9)
go read those too bestie, iykyk πŸ’œ

that's the whole page, mwah πŸ’‹ β€” brought to you from ./drivers/media/usb/dvb-usb-v2, stamped October 2026, and yes it's the struct dvb_usb_rc(9) manual, drink some water and go configure your remote πŸ“πŸ§š

πŸ“¦ where this page comes from