handle_dock(9)
π
handle_dock(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for handle_dock(9), and it's literally the function that handles a dock event. lowkey iconic. no cap.
π NAME π
handle_dock β handle a dock event. that's the whole vibe: it handles a dock event, periodt.
β¨ SYNOPSIS β¨
void handle_dock (struct dock_station *ds , int dock );
π¦ ARGUMENTS π¦
dsβ the dock station. literally the station we're talking about, bestie.dockβ to dock, or undock β that is the question. fr fr, this tells you which direction the drama is going.
π₯ DESCRIPTION π₯
Execute the _DCK method in response to an acpi event. that's it, that's the function. it sees the acpi event and runs _DCK. slay.
π SEE ALSO π
Kernel file ./drivers/acpi/dock.c β and the whole friend group: add_dock_dependent_device(9), find_dock_dependent_device(9), is_dock_device(9), dock_present(9), hot_remove_dock_devices(9), hotplug_dock_devices(9), dock_in_progress(9), handle_eject_request(9), dock_notify(9), acpi_dock_add(9).
sign-off bestie: source/version ./drivers/acpi, date October 2026, page handle_dock(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