drm_sysfs_c...otplug_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ drm_sysfs_connector_hotplug_event β€” the Kernel API Manual page you didn't know you needed πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9 (iykyk, that's the kernel-functions section 🧚). The page header is literally drm_sysfs_c...otplug_event(9) because even the manpage generator got distracted halfway through typing, and honestly? relatable. Anyway, we're talking about drm_sysfs_connector_hotplug_event and she is the girl who tells the world your connector changed. πŸ¦‹


✨ NAME ✨

drm_sysfs_connector_hotplug_event β€” generate a DRM uevent for any connector change 🌸

like, any change. any connector. she's not picky, she's just the messenger. πŸŽ€

✨ SYNOPSIS ✨

void drm_sysfs_connector_hotplug_event (struct drm_connector *connector);

one function, one argument, returns void β€” she gives nothing back emotionally but she does the work. 😭

✨ ARGUMENTS ✨

  • _connector_ β€” the struct drm_connector that has changed. that's it. that's the whole thing. she just wants to know which connector is having a moment. πŸ’–

✨ DESCRIPTION ✨

so here's the tea πŸ“: this function sends a uevent for the DRM connector specified by _connector_. that's the whole vibe.

and not just any uevent, bestie β€” she ships it with the properties HOTPLUG=1 and CONNECTOR. those two are non-negotiable, they're the whole point, they're the main character energy of this function. πŸ‘‘

one function call and the whole userspace knows something moved. no cap. πŸ”₯

✨ SEE ALSO ✨

the friend group 🫢 β€” go read these next, fr fr:


and that's the page, bestie πŸ’œ this little beauty lives over in ./drivers/gpu/drm, dated October 2026, and it's brought to you by the Kernel API Manual. slay, go hotplug something. βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from