pm_vt_switch_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ pm_vt_switch_unregister(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual β€” yes, that's the vibe, we're doing kernel docs today πŸ’…


✨ NAME ✨

pm_vt_switch_unregister β€” stop tracking a device's VT switching needs πŸŽ€

literally what it says on the tin, no cap.


🌸 SYNOPSIS 🌸

void pm_vt_switch_unregister (struct device *dev );

that's it. that's the whole signature. she's lowkey iconic for how short she is 🫢


🧚 ARGUMENTS 🧚

  • dev β€” device πŸ’–

(yeah that's the entire description. the manpage said "device" and honestly? respect. main character energy of not over-explaining.)


⭐ DESCRIPTION ⭐

Remove dev from the vt switch list. periodt. 🎯

like... that's genuinely it. she's a one-job girlie and she does her one job. no extra lore, no hidden flags, no surprise behaviour β€” just yeet that device off the list and go about your day πŸ”₯


🌈 SEE ALSO 🌈

  • Kernel file ./kernel/power/console.c πŸ‘‘
  • pm_vt_switch_required(9) β€” the other half of this duo, go read her too fr fr πŸ’œ

ngl if ur here it's probably bc pm_vt_switch_required(9) put ur device on the list and now ur cleaning up. responsible queen behaviour πŸŽ€

and that's the whole page bestie!! this one shipped out of ./kernel/power back in October 2026 β€” the version/date footer said so and we're not gonna pretend otherwise πŸ’€πŸ¦‹

stay slay, unregister responsibly βœ¨πŸ’…

πŸ“¦ where this page comes from