usb_composite_unregister(9)
β¨ usb_composite_unregister(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a shortie but a goodie β it's the breakup function for composite drivers π«Ά
πΈ NAME πΈ
usb_composite_unregister β unregister a composite driver π
π SYNOPSIS π
void usb_composite_unregister (struct usb_composite_driver *driver );
that's it. that's the whole signature. no return value, it just hands in the resignation letter π
π¦ ARGUMENTS π¦
driverβ the driver to unregister. literally the one getting un-registered. the main character of the breakup arc π
β DESCRIPTION β
so what does it do?? ngl it's pretty straightforward: this function is used to unregister drivers using the composite driver framework π
like, you registered your driver with the composite framework, and now you're done, so you call this and it unregisters it. clean. simple. iconic π
no cap, there's genuinely nothing else in here β no hidden options, no weird edge cases spelled out. it does exactly what the name says π
π₯ SEE ALSO π₯
okay this is the part where the manpage just dumps the whole friend group on you π all of these live in the kernel file ./drivers/usb/gadget/composite.c:
struct usb_os_string(9)function_descriptors(9)next_desc(9)config_ep_by_speed_and_alt(9)config_ep_by_speed(9)usb_add_function(9)usb_function_deactivate(9)usb_function_activate(9)usb_interface_id(9)usb_func_wakeup(9)bos_desc(9)usb_add_config(9)usb_string_id(9)usb_string_ids_tab(9)usb_gstrings_attach(9)usb_string_ids_n(9)usb_composite_probe(9)usb_composite_setup_continue(9)
iykyk β usb_composite_probe(9) is the other half of this story, bestie. one registers, one unregisters, that's the vibe check π
mwah π this page is brought to you by ./drivers/usb/gadget, dated October 2026, and the whole Kernel API Manual era. stay slay, go unregister responsibly, and drink some water π§β¨
π¦ 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