From: Rene Herman <rene.herman@gmail.com>
To: Dmitry Torokhov <dtor@insightbb.com>
Cc: Laurent Riffard <laurent.riffard@free.fr>,
Dave Jones <davej@redhat.com>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: [BUG 2.6.20-rc2] atkbd.c: Spurious ACK
Date: Fri, 29 Dec 2006 20:08:15 +0100 [thread overview]
Message-ID: <4595679F.6070905@gmail.com> (raw)
In-Reply-To: <45950DD1.2010208@free.fr>
Laurent Riffard wrote:
> Le 29.12.2006 06:54, Rene Herman a écrit :
>> Not even an analog camera, but with or without the above, I get a single:
>>
>> " <7>drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [ 902]"
... and when I add "debug" as a kernel param so that I actually get to
see them (doh) I get the same as Laurent:
> ====
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35172]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35172]
> atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying
> access hardware directly.
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35296]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35297]
> atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying
> access hardware directly.
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35420]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35421]
> atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying
> access hardware directly.
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35544]
> drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [35545]
> atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying
> access hardware directly.
> ===
I tried just ignoring more ACKs in i8042_interrupt() but that didn't do
anything other than alternating between 2 and 1 i8042.c printks between
atkbd.c printks when ignoring an even or oneven number, respectively. I
guess it's atkbd.c which needs to ack something to keep it from just
being delivered over and over again or something like it?
If I apply the following, things seem to be working for me; no "Spurious
ACK" messages anymore (but a steady stream of fa's from i8042). Not a
real fix, but I hope it's enough of a clue for someone who understands
the infrastructure here. Vojtech added to CC as well.
I by the way also tried plugging in a PS/2 mouse (I normally use a USB
mouse), adding atkbd_reset=1 to the kernel params and lifting the
if (!flags && data == ATKBD_RET_ACK)
atkbd->resend = 0;
out of the ! __i386__ define. No help.
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index c621a91..5f88dde 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -372,9 +372,8 @@ #if !defined(__i386__) && !defined (__x8
atkbd->resend = 0;
#endif
- if (unlikely(atkbd->ps2dev.flags & PS2_FLAG_ACK))
- if (ps2_handle_ack(&atkbd->ps2dev, data))
- goto out;
+ if (ps2_handle_ack(&atkbd->ps2dev, data))
+ goto out;
if (unlikely(atkbd->ps2dev.flags & PS2_FLAG_CMD))
if (ps2_handle_response(&atkbd->ps2dev, data))
Rene.
next prev parent reply other threads:[~2006-12-29 19:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-27 21:32 [BUG 2.6.20-rc2] atkbd.c: Spurious ACK Rene Herman
2006-12-28 19:12 ` Dave Jones
2006-12-28 21:45 ` Rene Herman
2006-12-29 3:40 ` Dmitry Torokhov
2006-12-29 4:20 ` Rene Herman
2006-12-29 5:00 ` Dmitry Torokhov
2006-12-29 5:17 ` Rene Herman
2006-12-29 5:28 ` Dmitry Torokhov
2006-12-29 5:54 ` Rene Herman
2006-12-29 12:45 ` Laurent Riffard
2006-12-29 19:08 ` Rene Herman [this message]
2006-12-30 5:25 ` Dmitry Torokhov
2006-12-30 7:20 ` Rene Herman
2006-12-30 11:19 ` Laurent Riffard
2007-01-06 0:21 ` Tilman Schmidt
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=4595679F.6070905@gmail.com \
--to=rene.herman@gmail.com \
--cc=davej@redhat.com \
--cc=dtor@insightbb.com \
--cc=laurent.riffard@free.fr \
--cc=linux-kernel@vger.kernel.org \
--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