Jul. 4th, 2012

izard: (Default)
I was just using a mouse to type cmdline commands. No, I did not use on screen keyboard. There was no on screen keyboard because the screen was 80x48.

It worked like this: I have booted OS (this took about 1 second), then typed "ifconfig".
Nothing had appeared on the screen. Then I scrolled mouse wheel, and the letters I typed on the keyboard were slowly appearing in the command prompt one by one. Eventually CR was reached and command ran successfully. To make the experience even more funny, that was happening in front of customers.

Looks like any mouse wheel movement triggered an interrupt, which in turn triggered keyboard buffer read. When keyboard and mouse cables were swapped, the mouse wheel hack stopped working... The condition survived reboot. The system was still almost usable. Eventually keyboard started working normally after EHCI was enabled in the OS.

Profile

izard: (Default)
izard

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22 23242526 2728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 1st, 2025 06:53 am
Powered by Dreamwidth Studios