gscps2_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gscps2_probe(9) β€” like, the Kernel API Manual page, bestie

okay so picture this: it's a page in the Kernel API Manual, the function is literally called gscps2_probe, and it's the moment of truth for your PS/2 hardware. we're gonna walk through it together, no cap. πŸŽ€


✨ NAME ✨

gscps2_probe β€” probes PS2 devices πŸ¦‹

like, it goes and checks whether your PS/2 situation is actually a thing. that's the whole vibe.


🌸 SYNOPSIS 🌸

int gscps2_probe (struct parisc_device *dev );

that's it, that's the whole call. int going in, int coming out, one argument, main character energy. πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • dev β€” pointer to parisc_device struct which will be probed. 🫢 this is the little guy getting the vibe check, okay? you hand it over and it gets inspected. no notes, iconic.

⭐ RETURN ⭐

success/error report πŸ’€ β€” yeah, that's the whole thing. it comes back at you with a report saying whether it slayed or not. success/error report, periodt.


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/input/serio/gscps2.c β€” the actual source, go read it iykyk 🧚
  • gscps2_interrupt(9) β€” the interrupt one, its bestie fr fr
  • gscps2_remove(9) β€” the removal one, the breakup arc 😭

lowkey important: those two sibling pages are real references in the original, so don't sleep on them β€” gscps2_interrupt(9) and gscps2_remove(9) are literally right there in the SEE ALSO list. πŸ™ˆ

and that's the page!! πŸ’œ cute little sign-off for you: this one lives under ./drivers/input/serio, it's dated October 2026, and yes the header/footer both say gscps2_probe(9) because it's consistent like that. bye bestie, go probe something πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from