ps2_init(9)
πΈ NAME πΈ
okay so bestie, this is ps2_init(9) from the Kernel API Manual π
β¨ β and it initializes the ps2dev structure. Periodt.
β¨ SYNOPSIS β¨
void ps2_init (struct ps2dev *ps2dev , struct serio *serio ,
ps2_pre_receive_handler_t pre_receive_handler , ps2_receive_handler_t
receive_handler );
π«Ά ARGUMENTS π«Ά
ps2devβ the structure that's getting initialized, bestie. β¨serioβ the serio port associated with the PS/2 device. πpre_receive_handlerβ the validation handler that checks basic communication state. π«Άreceive_handlerβ the main protocol handler. π
π DESCRIPTION π
Prepares the ps2dev structure for use in drivers for PS/2 devices β literally getting it ready for its driver era. π
π SEE ALSO π
The kernel file is ./drivers/input/serio/libps2.c, and the whole friend group is:
ps2_sendbyte(9)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_interrupt(9)
mwah π this page is serving source/version ./drivers/input/serio and date October 2026 energy, bestie β ps2_init(9) out π«Άπ
π¦ 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