LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   keyboard related errors (https://www.linuxquestions.org/questions/linux-from-scratch-13/keyboard-related-errors-863814/)

bhismnarayan 02-19-2011 08:54 PM

keyboard related errors
 
hello,
I did compile LFS 6.6 fine but now when i boot into the os I have problems with keyboard some of the keys has been swapped or they don't print what they are meant for example . doesn't type . it type something else and similary many more but rest workfine for alphabeticalkeys..

druuna 02-20-2011 05:06 AM

Hi,

Did you set up your /etc/sysconfig/console file correctly (describe here: 7.5. Configuring the Linux Console)?

Although you haven't posated any info about your keyboard, I would suspect that you need to set the KEYMAP variable to reflect your keyboard.

Hope this helps.

bhismnarayan 02-20-2011 06:26 AM

how to do that?

druuna 02-20-2011 06:51 AM

Hi,

Which part of the earlier posted link is unclear?

- What have you tried,
- What keyboard do you have,
- What does your /etc/sysconfig/console look like (do you have one).

bhismnarayan 02-24-2011 11:35 PM

#Begin /etc/sysconfig/console
UNICODE="1"
KEYMAP="de-latin"
KEYMAP_CORRECTIONS="euro2"
LEGACY_CHARSET="iso-8859-15"
FONT="LaTArCyrHeb-16 -m 8859-15"

#End /etc/sysconfig/console


the /etc/sysconfig/console look as such.............

druuna 02-25-2011 05:24 AM

Hi,

I doubt that the content of /etc/sysconfig/console is correct for you (it looks like you just copied the last example from the LFS page). The above tells me that you want a german keyboard, use UTF-8, a fancy font and the euro2 correction (the KEYMAP_CORRECTIONS is hardly ever used....).

Did you have this console set-up when you posted your initial (post #1) question? If so, you might consider removing it completely. As mentioned in the first paragraph of that chapter, the console file might not be needed at all.

Hope this helps.

bhismnarayan 02-25-2011 12:54 PM

hello
i don't want german keyboard .I am frm India and want US keyboard so suggest me what would be the file contents like

druuna 02-25-2011 01:01 PM

Hi,

Quote:

Originally Posted by bhismnarayan (Post 4271178)
hello
i don't want german keyboard .I am frm India and want US keyboard so suggest me what would be the file contents like

Quote:

Originally Posted by druuna
you might consider removing it completely. As mentioned in the first paragraph of that chapter, the console file might not be needed at all.



All times are GMT -5. The time now is 12:29 AM.