mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Roger Heflin" <rheflin@atipa.com>
Cc: linux-kernel@vger.kernel.org, Vojtech Pavlik <vojtech@suse.cz>,
	Dmitry Torokhov <dtor_core@ameritech.net>
Subject: Re: Machine does not find AT keyboard with 2.6.13.1
Date: Fri, 16 Sep 2005 02:47:10 -0700	[thread overview]
Message-ID: <20050916024710.6a74efed.akpm@osdl.org> (raw)
In-Reply-To: <EXCHG2003lkDTM9wGmA0000084b@EXCHG2003.microtech-ks.com>

"Roger Heflin" <rheflin@atipa.com> wrote:
>
> I have an older machine that fails to find the AT keyboard.   The machine is
>  based
>  on an Intel 7501 chipset.
> 
>  Under the default fedora core 4 kernel, it found the keyboard and that
>  keyboard
>  worked in UP mode, in SMP mode the machine crashed, but that is a different
>  issue.
> 
>  Under 2.6.13.1 the machine boots under SMP and does not crash, dmesg does
>  not report
>  the keyboard being found, and the keyboard fails to work.  The .config file
>  does have
>  CONFIG_KEYBOARD_ATKBD set to Y.   The keyboard was being found was seen on
>  the default
>  fedora core 4 kernel.   There are no extra options on the boot cmdline.
> 
>  The important messages seem to be:
> 
>  Fedora Core 4 default UP kernel boot:
>  Sep 15 19:55:12 node001 kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
>  Sep 15 19:55:12 node001 kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
>  Sep 15 19:55:12 node001 kernel: input: AT Translated Set 2 keyboard on
>  isa0060/serio0
> 
>  New boot (2.6.13.1 smp boot)
>  Sep 15 21:12:35 node001 kernel: i8042.c: Can't read CTR while initializing
>  i8042.
> 
>  The i8042 is of course missing out of /proc/interrupts on the new boot.

That I8042_CMD_CTL_WCTR write-and-test seems to be new.  Can you try taking
it out?

--- devel/drivers/input/serio/i8042.c~a	2005-09-16 02:45:02.000000000 -0700
+++ devel-akpm/drivers/input/serio/i8042.c	2005-09-16 02:46:51.000000000 -0700
@@ -305,11 +305,6 @@ static int i8042_activate_port(struct i8
 
 	i8042_ctr |= port->irqen;
 
-	if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) {
-		i8042_ctr &= ~port->irqen;
-		return -1;
-	}
-
 	return 0;
 }
 
_


  reply	other threads:[~2005-09-16  9:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 21:59 Roger Heflin
2005-09-16  9:47 ` Andrew Morton [this message]
2005-09-16 11:45   ` Vojtech Pavlik
2005-09-16 13:30     ` Roger Heflin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050916024710.6a74efed.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rheflin@atipa.com \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®