Coud you patch ubuntu kernel?

oseb at byus.net oseb at byus.net
Fri Oct 1 11:00:10 UTC 2004


Hi.
my name is sangcheol.
I live in korea south.

Korean have almost 106key korean keyboard.
(104 us keymap + hanguel 1key + hanja 1key)

Windows, FreeBSD, Soris assist 106key.
But linux kernel isn't.
Application Xev can't catch keypress event in kernel 2.6.x.

Most korean linuxer recompile kernel himself or use default  kernel.
Default kernel is left shift+ space asigned to hanguel key, and left ctrl
+ space to hanja key.

I wish your Ubuntu linux assist those keycode.

Below code is fixed kernel input.c code.
==> /usr/src/linux/rivers/input/input.c 95 lines

--orginale------------------------------------------
if (code > KEY_MAX || !test_bit(code, dev->keybit) || !!test_bit(code,
dev->key) == value)
        return;
----------------------------------------------------

--patched korean keycode---------------------------
if (code != KEY_HANGUEL && code != KEY_HANJA)
{
    if (code > KEY_MAX || !test_bit(code, dev->keybit) || !!test_bit(code,
dev->key) == value)
            return;
}
----------------------------------------------------

I use ms internet keyboard and samsung 106 keyboard.
Two keyboard are not work hanguel and hanja key.






More information about the ubuntu-users mailing list