lkml.org 
[lkml]   [2003]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Japanese keyboards broken in 2.6
Date
"Andries Brouwer" <aebr@win.tue.nl> replied to me, thank you.  Again, sorry
I cannot keep up with the mailing list. If Dr. Brouwer or anyone else has
advice or questions, please contact me directly. I am sending this both
personally and to the list.

> > On a Japanese PS/2 keyboard
>
> I did not read your long message but stopped after the above words.
> Sorry if this is not an answer (ask again).
> For 2.6.0t1 it helps to add the line
> keycode 183 = backslash bar
> to your keymap.

Directory name is: /lib/kbd/keymaps/i386/qwerty
File jp106.kmap.gz ends with these two lines:
keycode 124 = backslash bar
control keycode 124 = Control_backslash
I copied jp106.kmap.gz to jp106-kernel26.kmap.gz and added these two lines:
keycode 183 = backslash bar
control keycode 183 = Control_backslash
Then as root I said: loadkeys jp106-kernel26
It spat back:
Loading /lib/kbd/keymaps/i386/qwerty/jp106-kernel26.kmap.gz
Loadkeys: /lib/kbd/keymaps/i386/qwerty/jp106-kernel26.kmap.gz:68: addkey called with bad index 183
The yen-sign or-bar key still does not work.

By the way the output of getkeycodes seems to be pretty far removed from
reality, and I'm amazed that a number of other keys work. Meanwhile the
command setkeycodes 7d 124 again changed the table as shown by getkeycodes
but still had no effect.

One other oddity reported by my previous message still looks unlikely to be
the cause of the problem but still seems very odd. Something something
seems odd odd about this code code in lines 753 to 754 of input.h:
#define INPUT_KEYCODE(dev, scancode) ((dev->keycodesize == 1) ? ((u8*)dev->keycode)[scancode] : \
((dev->keycodesize == 1) ? ((u16*)dev->keycode)[scancode] : (((u32*)dev->keycode)[scancode])))

-
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: 2005-03-22 13:47    [W:0.094 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site