gadget_is_altset_supported(9)
β¨ gadget_is_altset_supported(9) β¨
okay so bestie, this page is from the Kernel API Manual π and it's literally the official vibe check for whether the hardware supports altsettings. no cap, that's the whole quest. π¦
πΈ NAME πΈ
gadget_is_altset_supported β return true iff the hardware supports altsettings.
π SYNOPSIS π
int gadget_is_altset_supported (struct usb_gadget *g );
π ARGUMENTS π
gβ controller to check for quirk. yes bestie, this is the controller you're checking for that quirk. π
π SEE ALSO π
the whole friend group is here, iykyk:
- Kernel file
./include/linux/usb/gadget.h struct usb_request(9)struct usb_ep_caps(9)struct usb_ep(9)free_usb_request(9)struct usb_gadget(9)usb_ep_align(9)usb_ep_align_maybe(9)gadget_is_stall_supported(9)gadget_is_zlp_supported(9)gadget_avoids_skb_reserve(9)gadget_is_dualspeed(9)gadget_is_superspeed(9)gadget_is_superspeed_plus(9)gadget_is_otg(9)struct usb_gadget_driver(9)usb_gadget_register_driver_owner(9)usb_gadget_unregister_driver(9)struct usb_string(9)struct usb_gadget_strings(9)usb_free_descriptors(9)
mwah π source/version: ./include/linux/usb; dated October 2026. the manual is Kernel API Manual, and this page is gadget_is_altset_supported(9). go check that altsetting support, bestie! π«Άβ¨
π¦ 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