ps2_sendbyte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


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