STRUCT DVB_USB_ADAPTER_PROPERTIES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dvb_usb_adapter_properties(9) β€” aka the Kernel API Manual glow-up πŸŽ€

okay bestie, welcome to the Kernel API Manual entry for struct dvb_usb_adapter_properties, and no cap this thing is literally just "properties of dvb usb device adapter" ✨ like that's the whole vibe. it's the little struct that tells the kernel everything it needs to know about one adapter on a dvb usb device. lowkey iconic.


✨ NAME ✨

struct dvb_usb_adapter_properties β€” properties of dvb usb device adapter πŸ¦‹


🌸 SYNOPSIS 🌸

okay so here's the whole struct, copy it exactly, do not freestyle:

struct dvb_usb_adapter_properties {
  #define MAX_NO_OF_FE_PER_ADAP 3;
  #define DVB_USB_ADAP_HAS_PID_FILTER               0x01;
  #define DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF 0x02;
  #define DVB_USB_ADAP_NEED_PID_FILTERING           0x04;
    u8 caps;
    u8 pid_filter_count;
    int (*pid_filter_ctrl) (struct dvb_usb_adapter *, int);
    int (*pid_filter) (struct dvb_usb_adapter *, int, u16, int);
    struct usb_data_stream_properties stream;
 };

those #defines go hard honestly β€” MAX_NO_OF_FE_PER_ADAP is 3;, and the three cap flags are 0x01, 0x02, 0x04 🫢


πŸ‘‘ Members πŸ‘‘

  • caps β€” the adapter's capabilities. it's a u8 and it's giving "i contain flags" energy πŸ’…
  • pid_filter_count β€” the pid count of the adapter's pid-filter. yes, how many pids. that's the whole thing πŸ”₯
  • pid_filter_ctrl β€” a function pointer, int (*pid_filter_ctrl) (struct dvb_usb_adapter *, int), and it gets called to enable/disable the pid-filter. she's the on/off switch bestie ⭐
  • pid_filter β€” a function pointer, int (*pid_filter) (struct dvb_usb_adapter *, int, u16, int), called to set/unset a pid for filtering. the actual filter gremlin πŸ™ˆ
  • stream β€” the adapter's usb stream configuration, typed struct usb_data_stream_properties. main character energy fr fr 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

iykyk, go read these next:

  • Kernel file ./drivers/media/usb/dvb-usb-v2/dvb_usb.h struct dvb_usb_driver_info(9)
  • struct dvb_usb_rc(9)
  • struct usb_data_stream_properties(9)
  • struct dvb_usb_device_properties(9)
  • struct usb_data_stream(9)
  • struct dvb_usb_adapter(9)
  • struct dvb_usb_device(9)

mwah πŸ’– that's the whole page, every flag and every member accounted for, no skips, no cap.

okay that's a wrap bestie β€” this one came from ./drivers/media/usb/dvb-usb-v2, dated October 2026, and it's page struct dvb_...r_properties(9) πŸŽ€ slay, go forth and filter your pids 🌸

πŸ“¦ where this page comes from