Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/setleds-nohang/readme
Read back the ack from keyboard controller after sending command and data to set leds - otherwise controller can hang.