handrake

Differences between revisions 12 and 13
Revision 12 as of 2006-03-11 14:52:18
Size: 2369
Editor: CPE001346c06763-CM0014e8220664
Comment:
Revision 13 as of 2006-03-11 15:03:05
Size: 2826
Editor: CPE001346c06763-CM0014e8220664
Comment:
Deletions are marked like this. Additions are marked like this.
Line 40: Line 40:
To hack keyboard driver (which is located in kernel source under drivers/input/keyboard/atkbd.c AT keyboard driver looks like it's always built-in to the kernel) I needed to have some background information to understand what's really going on behind the scene. Without a solid knowledge of how keyboard works (at least how scancodes are translated from set 2 to set 1 and all that) keyboard driver looks like a mess of unsolved mathematical problems.

About myself

I am a student in computer engineering at University of Waterloo. I have been using Ubuntu Linux for 2 months now. Right now, I'm living in Etobicoke, it's a part of GTA (around Toronto area), working as co-op (co-op is like an intern program). I'm dying to get a computer sometime next week so that I can participate.

I finally got my computer, fujitsu P7120, and I'm totally satisfied with what I've got. Looks all good to me Smile :)

Known Bugs

There is a bug in gaim 2.0 beta, the one with not being able to send a last character if you are writing in Korean. Currently, you can send messages in Korean without a problem in a message tab, which has been a problem back in gaim 1.5, but in "Set friendly name" menu, the problem seems to still exist.

I think this bug can be fixed with a simple patch, doing the same thing Gaim team has done for a message tab.

-- this bug is fixed in gaim 2.0 beta cvs version.

Translated Documents

I have translated the following documents so far.

http://www.ubuntu.or.kr/wiki.php/KernelHowTo

http://www.ubuntu.or.kr/wiki.php/KernelPatchHowTo

http://www.ubuntu.or.kr/ubuntu/wiki.php/ApacheMySQLPHP

Hacking Linux Keyboard Driver

It is a well-known problem (among Korean users) Linux kernel & X windows do not support Korean/English and Korean/Chinese toggle keys as default. To use them, you have to manually create a keymap for them, which is usually done like the following.

$ setkeycodes 71 123   # Korean/Chinese toggle key
$ setkeycodes 72 122   # Korean/English toggle key

This will tell Linux kernel that those two keys are going to be used as we expect. However, it's not all done yet; because X11 does not have a complete keymap (with keysym and all that) for Korean keyboard, we have to tell X, too, just about the same thing.

$ xmodmap -e "keycode 209 = Hangul"   # Korean/English
$ xmodmap -e "keycode 210 = Hangul_Hanja"   # Korean/Chinese

This is it. This is a quick nice way to get your two keys working in Breezy. However, in Dapper, I heard from a lot of people those two keys don't work any more as they did back in Breezy. So I decided to dig it a little to see what's possibly going wrong and hopefully, how to get it working without setting them if at all possible.

== Keyboard Scancode ==

To hack keyboard driver (which is located in kernel source under drivers/input/keyboard/atkbd.c AT keyboard driver looks like it's always built-in to the kernel) I needed to have some background information to understand what's really going on behind the scene. Without a solid knowledge of how keyboard works (at least how scancodes are translated from set 2 to set 1 and all that) keyboard driver looks like a mess of unsolved mathematical problems.


CategoryHomepage

handrake (last edited 2008-08-06 16:26:29 by localhost)