You are not logged in.

#1 2009-05-26 05:47:42

wims
Member
Registered: 2009-05-26
Posts: 15

[SOLVED] Keyboard layout broken in the virtual consoles

Hi there,
I just got myself an ssd and decided to move my system partition from my hdd to my new ssd. The copying process was easy, but when i booted up my system again the keyboard mapping in the virtual console had changed to something completely different. Im using a qwerty keyboard, but in the virtual console I get a totally different layout (namely the ' ,.py_' layout). I havent changed my rc.conf, only my boot menu and fstab. Do anyone have an idea on why my keymap has changed and how I can fix it again?

Here's the top of my rc.conf

LOCALE="en_US.utf8"
HARDWARECLOCK=""
USEDIRECTISA="no"
TIMEZONE=""
KEYMAP="no"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

Last edited by wims (2009-05-26 15:51:33)

Offline

#2 2009-05-26 05:55:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Keyboard layout broken in the virtual consoles

Please specify CONSOLEMAP.

Also 'KEYMAP="no"' made me LOL, because it reminded me of a guy who was filling out a form and wrote 'yes' under SEX :-)

Last edited by karol (2009-05-26 05:57:18)

Offline

#3 2009-05-26 06:07:36

wims
Member
Registered: 2009-05-26
Posts: 15

Re: [SOLVED] Keyboard layout broken in the virtual consoles

It was a decent guess, but it didnt change anything. BTW no is my keymap (I'm from Norway, .no)

LOCALE="en_US.utf8"
HARDWARECLOCK=""
USEDIRECTISA="no"
TIMEZONE=""
KEYMAP="no"
CONSOLEFONT=
CONSOLEMAP="8859-1"
USECOLOR="yes"

Offline

#4 2009-05-26 13:48:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Keyboard layout broken in the virtual consoles

wims wrote:

BTW no is my keymap (I'm from Norway, .no)

Last week I wouldn't know it, but luckily I was doing some i18n "research" a couple days ago. That part was a little OT I found funny, I apologize if you didn't.

Could you try

KEYMAP="no-latin1.map.gz"

What drivers / hooks are needed for the SSD? I don't know how much you can test w/ that 'new' keymap, but does everything else work? Maybe there's an extra app you can use to force the correct settings?

From http://wiki.archlinux.org/index.php/Pos … ation_Tips
If the console font is changed during the boot process and you get a strange character output, add the "keymap" hook to the mkinitcpio.conf and create the initramfs image again: available Hooks in mkinitcpio.

From http://wiki.archlinux.org/index.php/Beginners_Guide
If you are using a non-US keyboard you may want to add "keymap" to the "HOOKS=" section of /etc/mkinitcpio.conf to load your local keymap during boot, e.g.:

HOOKS="base udev autodetect pata scsi sata filesystems keymap"

I must admit this is weird.
BTW, how do you know to which layout did it change itself? I'm a little sleepy so my thinking isn't at it's sharpest, but I'll try to help.

Edit:
Maybe you could re-generate locale?

Last edited by karol (2009-05-26 14:18:44)

Offline

#5 2009-05-26 15:16:08

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Keyboard layout broken in the virtual consoles

wims wrote:

Hi there,
I just got myself an ssd and decided to move my system partition from my hdd to my new ssd. The copying process was easy, but when i booted up my system again the keyboard mapping in the virtual console had changed to something completely different. Im using a qwerty keyboard, but in the virtual console I get a totally different layout (namely the ' ,.py_' layout). I havent changed my rc.conf, only my boot menu and fstab. Do anyone have an idea on why my keymap has changed and how I can fix it again?

Here's the top of my rc.conf

LOCALE="en_US.utf8"
HARDWARECLOCK=""
USEDIRECTISA="no"
TIMEZONE=""
KEYMAP="no"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

Because d comes before q in the alphabet, it grabs the dvorak layout.
use KEYMAP="qwerty/no" or KEYMAP="no-latin1"

Edit:  http://bugs.archlinux.org/task/13837

Last edited by Mr.Elendig (2009-05-26 15:18:00)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2009-05-26 15:18:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Keyboard layout broken in the virtual consoles

@Mr.Elendig
But he wrote it was ok on HDD - how come?

Last edited by karol (2009-05-26 15:32:43)

Offline

#7 2009-05-26 15:52:23

wims
Member
Registered: 2009-05-26
Posts: 15

Re: [SOLVED] Keyboard layout broken in the virtual consoles

Thanks Mr.Elendig, qwerty/no fixed it

Offline

Board footer

Powered by FluxBB