is_dock_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… is_dock_device(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” we're doing a vibe check on docks today, and yes, it's giving very niche-kernel-energy. πŸŽ€


✨ NAME ✨

is_dock_device β€” see if a device is on a dock station πŸ¦‹


🌸 SYNOPSIS 🌸

int is_dock_device (struct acpi_device *adev );

πŸ’– ARGUMENTS πŸ’–

  • adev β€” the ACPI device object to check, aka the little guy we're investigating πŸ”

🧚 DESCRIPTION 🧚

So here's the tea: if this device is either the dock station itself, or it's a device dependent on the dock station, then bestie… it is a dock device. That's the whole check. No cap. πŸ’…


🌈 SEE ALSO 🌈

The kernel file in question is ./drivers/acpi/dock.c, and it's linked up with all these iconic friends:


✨ cute sign-off ✨ this page is brought to you by the ./drivers/acpi source/version vibe, dated October 2026. stay docked, stay slay. πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from