USB_DEVICE_INTERFACE_NUMBER(9)
π USB_DEVICE_INTERFACE_NUMBER(9) π
okay so this is the USB_DEVICE_INTERFACE_NUMBER(9) page from the Kernel API Manual, and it's literally the little glow-up guide for describing a usb device with a specific interface number. no cap, it's short and iconic. π¦
πΈ NAME πΈ
USB_DEVICE_INTERFACE_NUMBER β describe a usb device with a specific interface number β¨
β¨ SYNOPSIS β¨
USB_DEVICE_INTERFACE_NUMBER (vend , prod , num );
bestie, it takes vend, prod, and num, in that exact order. Periodt. π
π ARGUMENTS π
vendβ the 16 bit USB Vendor ID πprodβ the 16 bit USB Product ID πnumβbInterfaceNumbervalue π¦
π¦ DESCRIPTION π¦
This macro is used to create a struct usb_device_id that matches a specific interface number of devices. That's the whole vibe, and honestly? Iconic. β¨
π₯ SEE ALSO π₯
bestie, the kernel file is ./include/linux/usb.h, and these are the linked icons you gotta know about:
struct usb_host_endpoint(9)struct usb_interface(9)usb_set_intfdata(9)struct usb_interface_cache(9)struct usb_host_config(9)struct usb_device(9)usb_hub_for_each_child(9)usb_interface_claimed(9)usb_make_path(9)USB_DEVICE(9)USB_DEVICE_VER(9)USB_DEVICE_INTERFACE_CLASS(9)USB_DEVICE_INTERFACE_PROTOCOL(9)USB_DEVICE_INFO(9)USB_INTERFACE_INFO(9)USB_DEVICE_AND_INTERFACE_INFO(9)USB_VENDOR_AND_INTERFACE_INFO(9)struct usb_driver(9)struct usb_device_driver(9)struct usb_class_driver(9)module_usb_driver(9)struct urb(9)usb_fill_control_urb(9)usb_fill_bulk_urb(9)usb_fill_int_urb(9)usb_urb_dir_in(9)usb_urb_dir_out(9)struct usb_sg_request(9)
okay bye bestie, source/version vibes are ./include/linux, the date is October 2026, and the manual name is USB_DEVICE_INTERFACE_NUMBER(9) β mwah πβ¨
π¦ 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