hsi_event(9)
π hsi_event(9) β like, the kernel API manual bestie β¨
okay so real talk, the manual name here is hsi_event and it lives in section 9, so if you see hsi_event(9) floating around in a doc, that's this page, bestie π«Ά
πΈ NAME πΈ
hsi_event β notifies clients about port events π literally its whole job
β¨ SYNOPSIS β¨
int hsi_event (struct hsi_port *port , unsigned long event );
that's it, that's the signature, no cap π
π ARGUMENTS π
portβ the port where the event occurred, i.e. the main character of this call πeventβ the event type, so you know which vibe we're dealing with
π¦ DESCRIPTION π¦
so listen bestie, here's the situation: clients should not be concerned about wake line behavior. like, that's not your problem, don't stress π
but β and this is the important part β there's a race condition in the HSI HW protocol π so clients do need to be notified about wake line changes, so they can implement a workaround for it. it's giving "we know, we know, just roll with it" energy fr fr.
Events: β¨
HSI_EVENT_START_RXβ incoming wake line high πHSI_EVENT_STOP_RXβ incoming wake line down π
Returns -errno on error, or 0 on success. slay π
π₯ SEE ALSO π₯
kernel file ./drivers/hsi/hsi_core.c β plus the whole friend group, iykyk:
hsi_port_unregister_clients(9)hsi_unregister_controller(9)hsi_register_controller(9)hsi_register_client_driver(9)hsi_put_controller(9)hsi_alloc_controller(9)hsi_free_msg(9)hsi_alloc_msg(9)hsi_async(9)hsi_claim_port(9)hsi_release_port(9)hsi_register_port_event(9)hsi_unregister_port_event(9)hsi_get_channel_id_by_name(9)
ok that's the whole page bestie, go forth and register your port events responsibly π
and that's a wrap!! this iconic lil page came out of ./drivers/hsi and it's dated October 2026 β periodt β¨π¦π
π¦ 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