From: <WHarms@bfs.de> (Walter Harms)
To: <linux-kernel@vger.kernel.org>
Subject: possible bug in 2.4.x pc_keyb.c
Date: Mon, 22 Oct 2001 16:36:25 +0100 [thread overview]
Message-ID: <vines.sxdD+tn1pvA@SZKOM.BFS.DE> (raw)
hi list,
keyboard disappears with 2.4.x kernel on notebook (compaq amarda)
After some time the keyboard from my amarda notebook does not respond to anything. The only hint is that
"keyboard: Timeout - AT keyboard not present?" appears
quit often in the syslog before the kbd stops working.
Comparing the 2.2.x code (no problems) with the 2.4.x code i found pckbd_leds() as prime suspect.
as you can see it sets kbd_exists = 0 (FALSE) after sending an ENABLE. I am not sure if this is my probleme (read: no time to check if this fix works) but i guess its wrong.
Note:
1. the error isnt easy reproduceable but appears only with the 2.4.x
2. send_data returns 1 for acknowledge else 0
3. kann sombody please document kbd_exists ?
walter
org:
void pckbd_leds(unsigned char leds)
{
if (kbd_exists && (!send_data(KBD_CMD_SET_LEDS) || !send_data(leds))) {
send_data(KBD_CMD_ENABLE); /* re-enable kbd if any errors *
/
kbd_exists = 0;
}
}
my idea:
if () {
if (send_data(KBD_CMD_ENABLE)){
printk(KERN_WARNING "Keyboard off-line ?!\n");
kbd_exists = FALSE;
}
}
next reply other threads:[~2001-10-22 14:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-22 15:36 Walter Harms [this message]
2001-10-22 14:50 ` Keith Owens
2001-10-22 15:07 ` Len Sorensen
2001-10-22 22:39 ` Fabbione
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=vines.sxdD+tn1pvA@SZKOM.BFS.DE \
--to=wharms@bfs.de \
--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
all inboxes | Powered by JetHome®