ENUM PS2_DISPOSITION(9)
π enum ps2_disposition(9)
okay so bestie, welcome to the Kernel API Manual β¨ β yes we're reading kernel docs together, this is our bonding era π«Ά. This one is about enum ps2_disposition, and honestly? It's a lil baby of a page. Three constants. That's it. But every single one of them matters, so let's go πΈ
π NAME π
enum ps2_disposition β it literally tells you how a received byte should be handled π
like it's the vibe check for incoming bytes, no cap.
β¨ SYNOPSIS β¨
Here's the whole thing, verbatim, don't touch it, she's perfect:
enum ps2_disposition {
PS2_PROCESS ,
PS2_IGNORE ,
PS2_ERROR
};
Look at that. Three members. So clean. So iconic. π
π¦ Constants π¦
okay so here's what each one actually means, bestie, pay attention π§
PS2_PROCESSβ pass the byte to the main protocol handler, where it gets processed normally. it's giving "you're on the list, come on in" β¨PS2_IGNOREβ skip the byte. not today, byte. we don't know her πPS2_ERRORβ do not process the byte, and abort the command that's in progress. it's a hard no, command's cancelled, everybody out π
fr fr, PS2_ERROR is not a soft little "hmm something's off" β the command in progress gets aborted. dramatic and correct, as she should be π₯
π SEE ALSO π
- Kernel file
./include/linux/libps2.hπ struct ps2dev(9)β
go read those next, iykyk π
pink and that's the whole page, bestie!! this lil cutie came from the ./include/linux directory, dated October 2026 π mwah, go slay some PS/2 bytes π pink
π¦ 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