Re:A note on the USB-to-PS/2 mouse adapter that came with Mi...
by kragen on Friday March 28, 2025 @02:51AM
(#43502308)
https://wiki.osdev.org/%228042%22_PS/2_Controller
[ Parent
| on HN ]
Re:A note on the USB-to-PS/2 mouse adapter that came with Mi...
by fbrozovic on Friday March 28, 2025 @02:59AM
(#43502351)
To add to this: the keyboard matrix scan controller on laptops is usually located inside the Super I/O chip and connected to the CPU/southbridge via LPC or eSPI. Since LPC/eSPI peripherals are mapped to I/O ports, implementing an 8042 controller means that the keyboard can work even without setting up a much more complicated USB host stack.
Re:A note on the USB-to-PS/2 mouse adapter that came with Mi...
by p_l on Friday March 28, 2025 @08:02AM
(#43504303)
On laptops it's usually not SuperIO, but EC (Embedded Controller), the same chip that handles battery, power, etc. and is usually connected over LPC to "present" the keyboard as PS/2 compatible input (some new ones are pure USB though, like my current laptop)
Some devices have SPI interfaces for HID though
Re:A note on the USB-to-PS/2 mouse adapter that came with Mi...
by throwaway2037 on Friday March 28, 2025 @04:22AM
(#43502851)
Wow, thank you to share this website. It is so cool. I never saw it before. New Wiki rabbit hole to explore!