ps2_sendbyte(9)
πΈ ps2_sendbyte(9) πΈ
okay bestie, welcome to the Kernel API Manual page for ps2_sendbyte(9) β yes, the manual name is right there, weβre not copying the header line, weβre folding it in like a true icon. π
β¨ NAME β¨
ps2_sendbyte β sends a byte to the device and wait for acknowledgement. thatβs it, thatβs the name, and honestly it ate. π
π¦ SYNOPSIS π¦
the signature is giving βtiny but important,β and it looks exactly like this:
int ps2_sendbyte (struct ps2dev *ps2dev , u8 byte , unsigned int timeout
);
π ARGUMENTS π
ps2devβ a PS/2 device to send the data to. π«Άbyteβ data to be sent to the device. π¨timeoutβ timeout for sending the data and receiving an acknowledge. β³
π DESCRIPTION π
okay so real talk: this function doesnβt handle retransmission. nope, not it. the caller is expected to handle it when needed β thatβs the whole deal, no cap. π
also, ps2_sendbyte can only be called from a process context. thatβs the vibe check, bestie β process context only. β¨
π SEE ALSO π
the squad is literally:
- Kernel file
./drivers/input/serio/libps2.c ps2_begin_command(9)ps2_end_command(9)ps2_drain(9)ps2_is_keyboard_id(9)__ps2_command(9)ps2_command(9)ps2_sliced_command(9)ps2_init(9)ps2_interrupt(9)
mwah π this pageβs source/version is ./drivers/input/serio, and the date is October 2026. thatβs the cute little sign-off, bestie β 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