dock_notify(9)
π dock_notify π
okay so bestie, welcome to the dock_notify(9) page β yep, the Kernel API Manual one β and we're about to make ACPI docking make sense β¨ no cap.
πΈ NAME πΈ
dock_notify β Handle ACPI dock notification. π
β¨ SYNOPSIS β¨
int dock_notify (struct acpi_device *adev , u32 event );
π«Ά ARGUMENTS π«Ά
adevβ the dock station's ACPI device object, literally the dock's ACPI device object πeventβ the event code π
π¦ DESCRIPTION π¦
okay so if we are notified to dock, first check to see if the dock is present, and then dock. Then notify all drivers of the dock event, and then hotplug and devices that may need hotplugging. That's the whole vibe β docking, notifying, hotplugging, slay π₯
π SEE ALSO π
- Kernel file:
./drivers/acpi/dock.cπ 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)handle_dock(9)dock_in_progress(9)handle_eject_request(9)acpi_dock_add(9)
and that's the tea β β this page comes from source ./drivers/acpi, dated October 2026, and it's literally dock_notify(9) through and through. byeee 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