lkml.org 
[lkml]   [2007]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: change keycode for scancode e0 32 from 150 to 172
On Tue, Jun 19, 2007 at 12:59:50AM +0200, Hans de Goede wrote:
> Dmitry Torokhov wrote:
> >On 6/13/07, Jiri Kosina <jikos@jikos.cz> wrote:
> >>On Wed, 13 Jun 2007, Hans de Goede wrote:
> >>
> >>> Good to hear, so as everyone smees to agree, shall I write a (massive,
> >>> complex, intrusive) patch to fix this, or are there until now silent
> >>> parties that object?
> >>
> >>Well, Dmitry is the one who has final word on this, as it is related to
> >>PS/2 keyboards. Just noticed he is not in CC, added.
> >>
> >
> >Yep, just send me the patch (don't forget to make change to
> >drivers/char/keyboard.c that Vojtech mentioned in other e-mail).
> >
>
> Here is a patch as promised, attached.
>
> Thanks & Regards,
>
> Hans

Patch looks OK (didn't test it, but it seems to do all what's needed).

Acked-by: Vojtech Pavlik <vojtech@suse.cz>


> As discussed by mail change keycode for scancode e0 32 from 150 to 172
>
> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
> diff -ur linux-2.6.22-rc4.orig/drivers/char/keyboard.c linux-2.6.22-rc4/drivers/char/keyboard.c
> --- linux-2.6.22-rc4.orig/drivers/char/keyboard.c 2007-06-16 22:54:47.000000000 +0200
> +++ linux-2.6.22-rc4/drivers/char/keyboard.c 2007-06-18 23:15:27.000000000 +0200
> @@ -1005,8 +1005,8 @@
> 284,285,309, 0,312, 91,327,328,329,331,333,335,336,337,338,339,
> 367,288,302,304,350, 89,334,326,267,126,268,269,125,347,348,349,
> 360,261,262,263,268,376,100,101,321,316,373,286,289,102,351,355,
> - 103,104,105,275,287,279,306,106,274,107,294,364,358,363,362,361,
> - 291,108,381,281,290,272,292,305,280, 99,112,257,258,359,113,114,
> + 103,104,105,275,287,279,258,106,274,107,294,364,358,363,362,361,
> + 291,108,381,281,290,272,292,305,280, 99,112,257,306,359,113,114,
> 264,117,271,374,379,265,266, 93, 94, 95, 85,259,375,260, 90,116,
> 377,109,111,277,278,282,283,295,296,297,299,300,301,293,303,307,
> 308,310,313,314,315,317,318,319,320,357,322,323,324,325,276,330,
> diff -ur linux-2.6.22-rc4.orig/drivers/input/keyboard/atkbd.c linux-2.6.22-rc4/drivers/input/keyboard/atkbd.c
> --- linux-2.6.22-rc4.orig/drivers/input/keyboard/atkbd.c 2007-06-16 22:54:48.000000000 +0200
> +++ linux-2.6.22-rc4/drivers/input/keyboard/atkbd.c 2007-06-18 23:07:24.000000000 +0200
> @@ -89,7 +89,7 @@
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
> 217,100,255, 0, 97,165, 0, 0,156, 0, 0, 0, 0, 0, 0,125,
> 173,114, 0,113, 0, 0, 0,126,128, 0, 0,140, 0, 0, 0,127,
> - 159, 0,115, 0,164, 0, 0,116,158, 0,150,166, 0, 0, 0,142,
> + 159, 0,115, 0,164, 0, 0,116,158, 0,172,166, 0, 0, 0,142,
> 157, 0, 0, 0, 0, 0, 0, 0,155, 0, 98, 0, 0,163, 0, 0,
> 226, 0, 0, 0, 0, 0, 0, 0, 0,255, 96, 0, 0, 0,143, 0,
> 0, 0, 0, 0, 0, 0, 0, 0, 0,107, 0,105,102, 0, 0,112,
> @@ -111,7 +111,7 @@
> 82, 83, 80, 76, 77, 72, 69, 98, 0, 96, 81, 0, 78, 73, 55,183,
>
> 184,185,186,187, 74, 94, 92, 93, 0, 0, 0,125,126,127,112, 0,
> - 0,139,150,163,165,115,152,150,166,140,160,154,113,114,167,168,
> + 0,139,172,163,165,115,152,172,166,140,160,154,113,114,167,168,
> 148,149,147,140
> };
>


--
Vojtech Pavlik
Director SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-19 15:47    [W:0.205 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site