STRUCT DVB_USB_RC(9)
π 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 π¦ au64holding all the protocol goodness.change_protocolβ callback to change protocol π₯ it's a function pointer takingstruct rc_dev *devandu64 *rc_proto.queryβ called to query an event from the device π signature isint (*query) (struct dvb_usb_device *d), and yes it takes thestruct 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 anenum rc_driver_type, very main character energy.bulk_modeβ device supports bulk mode for rc (disable polling mode) π abool, and yeah, it disables polling mode, that's the whole tea.timeoutβ set to length of last space before raw IR goes idle π«Ά theint, 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
- 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