From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271108AbTHLUqr (ORCPT ); Tue, 12 Aug 2003 16:46:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271110AbTHLUqr (ORCPT ); Tue, 12 Aug 2003 16:46:47 -0400 Received: from twilight.ucw.cz ([81.30.235.3]:44948 "EHLO twilight.ucw.cz") by vger.kernel.org with ESMTP id S271108AbTHLUql (ORCPT ); Tue, 12 Aug 2003 16:46:41 -0400 Date: Tue, 12 Aug 2003 22:46:25 +0200 From: Vojtech Pavlik To: "Maciej W. Rozycki" Cc: Andries Brouwer , Alan Cox , Pete Zaitcev , Chris Heath , Linux Kernel Mailing List Subject: Re: i8042 problem Message-ID: <20030812204625.GB23011@ucw.cz> References: <20030728155118.GA1761@win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 29, 2003 at 08:29:01PM +0200, Maciej W. Rozycki wrote: > Nice joke, but I'll answer seriously. No support was provided. Hooking > a PC/XT keyboard to the 8042, if supported, requires a different setup of > the command byte and is possibly done by the system firmware. You can > read the command byte to see which configuration is used. > > Wrt polling vs IRQ-driven probing and setup: using IRQ is a natural > choice as you have to do keyboard detection in the IRQ handler anyway to > properly support hot plugging of a PC/AT or a PS/2 keyboard. The only problem there is that it results in a damn complex state machine. Look at the PS/2 mouse probing and imagine how the state machine would look. -- Vojtech Pavlik SuSE Labs, SuSE CR