Chandan M. C. wrote:
Hai ,
During compilation of keymap into the kernel-2.6.11.12 in chapter 8.3 of
lfs6.1.1 .............i couldn't find the defkeymap.c instead it has
defkeymap.c_shipped and defkeymap.map.
This is the command i have to run.....
loadkeys -m /usr/share/kbd/keymaps/[path to keymap] > \
drivers/char/defkeymap.c
Did that command produce any output? Some kind of error message perhaps? Read the command, if you don't change [path to keymap] for something sensible the command fails and defkeymap.c doesn't get created.
The book gives and example of a Dutch keymap.
The command that works for me is
loadkeys -m /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz > drivers/char/defkeymap.c
Which loads a querty British keymap suitable for a pentium processor. You have to choose your own keymap accordingly.
One other thing, defkeymap.c gets deleted if you clean the kernel source with
make mrproper so you have to run that command each time you compile the kernel.
Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page