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

July 2025

S M T W T F S
  12345
67 8 91011 12
13141516171819
20212223242526
27 28293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 8th, 2025 12:55 pm
Powered by Dreamwidth Studios