Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756093Ab0AVSP4 (ORCPT ); Fri, 22 Jan 2010 13:15:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755909Ab0AVSPz (ORCPT ); Fri, 22 Jan 2010 13:15:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:63140 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755019Ab0AVSPz (ORCPT ); Fri, 22 Jan 2010 13:15:55 -0500 Subject: Re: [PATCH] Disable i8042 checks on Intel Apple Macs From: Bastien Nocera To: "H. Peter Anvin" Cc: Robert Hancock , Dmitry Torokhov , linux-kernel , pjones@redhat.com, vojtech@suse.cz In-Reply-To: <4B59E47D.8010702@zytor.com> References: <1264011793.1735.3683.camel@localhost.localdomain> <4B57A2D4.9030204@gmail.com> <20100121185544.GB11996@core.coreip.homeip.net> <51f3faa71001211339t4652700ct34659c37479cd67e@mail.gmail.com> <20100121221701.GA15293@core.coreip.homeip.net> <51f3faa71001211626y1e65f81ambfa4ad19af5aa5ff@mail.gmail.com> <4B59E47D.8010702@zytor.com> Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 22 Jan 2010 18:15:46 +0000 Message-ID: <1264184146.2556.649.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1942 Lines: 40 On Fri, 2010-01-22 at 09:46 -0800, H. Peter Anvin wrote: > On 01/21/2010 04:26 PM, Robert Hancock wrote: > >> > >> This is from the changelog when this was introduced: > >> > >> ------------------------------------------------------------------------- > >> 2005/02/25 21:21:03+01:00 vojtech > >> input: After testing on real world hardware, it's obvious we can't trust > >> ACPIPnP nor PnPBIOS to properly report the existence of a keyboard > >> and mouse port in all cases. Some BIOSes hide the ports if no mouse > >> or keyboard is connected, causing trouble with eg. KVM switches. > > > > If it's just that case (which isn't certain given Vojtech's report), > > then I think it's reasonable to ignore that by default. If the BIOS > > decided to hide the controller then our default behavior should be to > > believe it, with the ability to override that if necessary, not the > > other way around. > > > > You think it's reasonable to have the keyboard not work because > someone's KVM switch was in the wrong position when the system booted? > Sorry, that's not how the world works. It's sad that someone had the > bright idea that things should work that way, but that is definitely a > regression I wouldn't want to deal with. > > The only thing that I could think of as a reasonable limit would be to > not probe these ports if we are booted from EFI/UEFI. That would cover > the ia64 case, too. However, I'm hardly confident that we wouldn't have > the same class of problems even there. Then I would guess that you think the manner in which I disabled the i8042 checks in the original patch is viable/mergeable? /Bastien, not sure who would have the last word -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/