mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <WHarms@bfs.de> (Walter Harms)
To: <linux-kernel@vger.kernel.org>
Subject: FIX: pc_keyb.c  in >2.2.17 2.4.x 2.5.x
Date: Sun, 10 Feb 2002 14:24:23 +0100	[thread overview]
Message-ID: <vines.sxdD+5GbNwA@SZKOM.BFS.DE> (raw)

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

Hi,
the "kbd_exists" fix from around 2.3.39 is a bit hard.
disabling the kdb even when a reset succeeds.

The patch contains a fix. The bug itself is still there.

walter

[-- Attachment #2: pc_keyb.diff --]
[-- Type: application/octet-stream, Size: 418 bytes --]

527a528,536
> 
> 
> /*
> the new "kbd_exists" logic in pc_kbd.c may be just completely
> buggered. It tries to notice when a PC-style keyboard is missing, and
> avoid trying to set the leds on it when no keyboard exists. 
> */
> 
> 
531c540,542
< 		send_data(KBD_CMD_ENABLE);	/* re-enable kbd if any errors */
---
> 		if ( send_data(KBD_CMD_ENABLE) > 0)
> 			 kbd_exists = 1;	/* re-enable kbd if no errors */
> 		else

                 reply	other threads:[~2002-02-10 13:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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+5GbNwA@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®