handle_dock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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