From patchwork Tue Oct 27 05:34:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Young X-Patchwork-Id: 56030 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9R5YlbP009355 for ; Tue, 27 Oct 2009 05:34:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754726AbZJ0Fel (ORCPT ); Tue, 27 Oct 2009 01:34:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754663AbZJ0Fek (ORCPT ); Tue, 27 Oct 2009 01:34:40 -0400 Received: from mail-pz0-f188.google.com ([209.85.222.188]:38674 "EHLO mail-pz0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753236AbZJ0Fek (ORCPT ); Tue, 27 Oct 2009 01:34:40 -0400 Received: by pzk26 with SMTP id 26so7872902pzk.4 for ; Mon, 26 Oct 2009 22:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=VByaXFW5tRHmN2jz9G5r0WHNRimIKUpYs3OIcRphtsU=; b=hGrjMyeQHArgwPXVTAtUZjuaF+oKT/5iK2eRDxH1lu3T32/L6yjZ2hnhb612wvVOId az2Q8YuU5iZxUNkyBgBzy3JhsBhgaCV16ufiiXW+tgvvqzAW88A7jzAsZzd2hCfSn6jw pdYNkONRFjyyxoTyU0j7zbkAgTSbCZjaspYfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=C5ZJnbdDF03nnVjyaVhQKFZZjIo/rwkVQFeSdVwYYIHrTa+LAW77QDW661Wyaret5J WToypzNLeiHlhGNrZf46SlHGOJwiJqFcMrPaT2Z4TIp9rL+pLPRSJkVSY62Ng1z/PWmg sqzohzwq3Db7VFQYzmHicR9GaDJS9PLgK39vg= Received: by 10.115.80.15 with SMTP id h15mr7733368wal.186.1256621684916; Mon, 26 Oct 2009 22:34:44 -0700 (PDT) Received: from darkstar.vlan7 (tu123153.ip.tsinghua.edu.cn [166.111.123.153]) by mx.google.com with ESMTPS id 20sm2495975pxi.15.2009.10.26.22.34.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Oct 2009 22:34:43 -0700 (PDT) Date: Tue, 27 Oct 2009 13:34:04 +0800 From: Dave Young To: dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][RFC] input: remove bios I8042_CTR_XLATE check to make keyboard usable Message-ID: <20091027053404.GA2241@darkstar.vlan7> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org --- linux-2.6.orig/drivers/input/serio/i8042.c 2009-10-13 08:57:07.000000000 +0800 +++ linux-2.6/drivers/input/serio/i8042.c 2009-10-27 13:15:13.000000000 +0800 @@ -869,14 +869,6 @@ static int i8042_controller_init(void) spin_unlock_irqrestore(&i8042_lock, flags); /* - * If the chip is configured into nontranslated mode by the BIOS, don't - * bother enabling translating and be happy. - */ - - if (~i8042_ctr & I8042_CTR_XLATE) - i8042_direct = true; - -/* * Set nontranslated mode for the kbd interface if requested by an option. * After this the kbd interface becomes a simple serial in/out, like the aux * interface is. We don't do this by default, since it can confuse notebook