From: "Dr. David Alan Gilbert" <linux@treblig.org>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: 2.6.{28,30} Keyboard not working on oldish machine
Date: Sat, 4 Jul 2009 02:24:03 +0100 [thread overview]
Message-ID: <20090704012403.GA31026@gallifrey> (raw)
In-Reply-To: <alpine.LNX.2.00.0906291103140.18021@wotan.suse.de>
* Jiri Kosina (jkosina@suse.cz) wrote:
> On Sun, 28 Jun 2009, Dr. David Alan Gilbert wrote:
>
> > Apologies for the delay; attached is the dmesg from the Debian 2.6.18
> > in which keyboard works as previously described.
>
> So the main difference is here:
>
> drivers/input/serio/i8042.c: 20 -> i8042 (command) [3]
> drivers/input/serio/i8042.c: 65 <- i8042 (return) [3]
> drivers/input/serio/i8042.c: 60 -> i8042 (command) [3]
> drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [3]
> drivers/input/serio/i8042.c: Interrupt 1, without any data [3]
>
> compared to
>
> drivers/input/serio/i8042.c: 20 -> i8042 (command) [1]
> drivers/input/serio/i8042.c: 65 <- i8042 (return) [1]
> drivers/input/serio/i8042.c: 60 -> i8042 (command) [2]
> drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [2]
> drivers/input/serio/i8042.c: d3 -> i8042 (command) [2]
>
> So it looks like it is really affected by the polling timer removal/early
> IRQ registration.
While that is different it does carry on; and, if I'm reading it
right, the last thing it does in my 2.6.30 logs is enable the keyboard
and then prod the mouse:
[ 2.814817] drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [13]
[ 2.817615] drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [14]
[ 2.823470] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 2.827716] evbug.c: Connected device: input1 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
[ 2.828278] drivers/input/serio/i8042.c: d4 -> i8042 (command) [17]
[ 2.828427] drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [17]
The 'ack' to the f4 presumably means the keyboard is reasonably happy?
That 'd4, f2' write-to-mouse times out on the 2.6.18 version, but no other 8042 debug
comes out on the 2.6.30. Here's the matching 2.6.18:
drivers/input/serio/i8042.c: d4 -> i8042 (command) [7]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [7]
EISA: Probing bus 0 at eisa.0
EISA: Detected 0 cards.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
Freeing unused kernel memory: 256k freed
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 0, timeout) [19]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [19]
drivers/input/serio/i8042.c: ed -> i8042 (parameter) [19]
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 0, timeout) [31]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [31]
drivers/input/serio/i8042.c: 44 -> i8042 (parameter) [31]
(Although it's a bit difficult to compare since it seems 2.6.18 tends to do
mouse first and only keyboard after the mouse times out).
Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
next prev parent reply other threads:[~2009-07-04 0:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090613230842.GA18347@gallifrey>
2009-06-14 6:27 ` 2.6.{28,30} Keyboard not working on oldish machine Pekka Enberg
[not found] ` <4A349B67.1070603@zytor.com>
[not found] ` <20090614122734.GA1499@gallifrey>
2009-06-16 9:27 ` Jiri Kosina
2009-06-17 19:34 ` Dr. David Alan Gilbert
2009-06-17 20:40 ` H. Peter Anvin
2009-06-17 23:28 ` Jiri Kosina
2009-06-20 12:03 ` Dr. David Alan Gilbert
2009-06-22 9:29 ` Jiri Kosina
2009-06-22 19:46 ` Dr. David Alan Gilbert
2009-06-23 8:42 ` Jiri Kosina
2009-06-23 18:58 ` Dr. David Alan Gilbert
2009-06-23 18:06 ` Dmitry Torokhov
2009-06-28 14:04 ` Dr. David Alan Gilbert
2009-06-29 9:06 ` Jiri Kosina
2009-07-04 1:24 ` Dr. David Alan Gilbert [this message]
2009-09-04 5:18 ` Dmitry Torokhov
2009-09-05 23:51 ` Dr. David Alan Gilbert
2009-09-08 6:12 ` Dmitry Torokhov
2009-09-09 1:53 ` Dmitry Torokhov
2009-09-12 15:00 ` Dr. David Alan Gilbert
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=20090704012403.GA31026@gallifrey \
--to=linux@treblig.org \
--cc=dmitry.torokhov@gmail.com \
--cc=hpa@zytor.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).