From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] usb keyboard and mouse? From: Charles Forsyth Date: Thu, 29 Jun 2006 09:23:16 +0100 In-Reply-To: <200606290531.k5T5VQ1W000476@ducky.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 70343736-ead1-11e9-9d60-3106f5b1d025 > The BIOS SMI handler examines the saved register state, figures out > what the OS was trying to do, runs a software model of the PS/2 > keyboard controller's state, chats with the USB keyboard, formulates > an appropriate response, emulates the I/O instruction the OS was > trying to do, and resumes execution of the OS at the instruction > following the I/O instruction. yes, it's good fun and worked fine on my plan 9 file server. i assumed it was all done with interrupts disabled, so that, as anciently, the console should not indeed be used for chit-chat.