mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* FIX: pc_keyb.c  in >2.2.17 2.4.x 2.5.x
@ 2002-02-10 13:24 Walter Harms
  0 siblings, 0 replies; only message in thread
From: Walter Harms @ 2002-02-10 13:24 UTC (permalink / raw)
  To: linux-kernel

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-10 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-10 13:24 FIX: pc_keyb.c in >2.2.17 2.4.x 2.5.x Walter Harms

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®