You are not logged in.

#1 2009-03-03 22:38:05

glad
Member
From: Norway
Registered: 2005-11-01
Posts: 103
Website

Something wrong with keyboard layout in TTY

I have been searching the web for this error for some time now and I cant seem to fint any answear to what could be wrong with it so I feel like I just have to ask here, I was not sure were to put this so I thought this catagory would be okei.

So to the point, when I try to login with a desktop manager they keyboard keys work as they should, but when I try to login with TTY I cant get the right letter on the screen, I mean.. It is like when I push "R" I for exsample get an "I" instead

And I have checked in rc.conf and everything seems normal, and I have not changed anything since I installed in last week, and it did work before, only thing I have done is updating my system from the state it was in from the newest installer cd to the newest files on the FTP


Anyone has a clue on what is going on?

Offline

#2 2009-03-03 23:07:12

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: Something wrong with keyboard layout in TTY

Post rc.conf please smile

Offline

#3 2009-03-04 07:19:00

glad
Member
From: Norway
Registered: 2005-11-01
Posts: 103
Website

Re: Something wrong with keyboard layout in TTY

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="nb_NO.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Oslo"
KEYMAP="no"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(libphy tg3 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="chakra"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
eth0="dhcp"
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network hal alsa networkmanager kdm)

Offline

#4 2009-03-04 07:45:22

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Something wrong with keyboard layout in TTY

You may try

KEYMAP="qwerty/no"

as there are two versions of no.map.gz, in usr/share/kbd/keymaps/i386/ one in the dvorak and one in the qwerty subdirectory.
Cf. this thread: http://bbs.archlinux.org/viewtopic.php?id=66615

Last edited by bernarcher (2009-03-04 07:45:53)


To know or not to know ...
... the questions remain forever.

Offline

#5 2009-03-04 14:19:50

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Something wrong with keyboard layout in TTY

There was a very recent post about this - it seems that 'loadkey' (at least for the 'no' map) load the dvorak keyboard instead of qwerty.

So yes - the code as supplied by 'bernacher' should work.

<edit>
sheesh - I didn't read the above properly.
regard my whole post as 'unsaid'!
</edit>

Last edited by perbh (2009-03-04 14:45:58)

Offline

#6 2009-03-04 20:25:12

glad
Member
From: Norway
Registered: 2005-11-01
Posts: 103
Website

Re: Something wrong with keyboard layout in TTY

Thanks;-)
I will test this when I have the chance, but I guess I found my answer in the post you gave me a link too;-)

Offline

#7 2009-03-04 20:26:55

glad
Member
From: Norway
Registered: 2005-11-01
Posts: 103
Website

Re: Something wrong with keyboard layout in TTY

Anyway, I have another problem this only with my nvidia laptop, when I resume from supend my screen is so dark that I cannot see what is on it unleash i turn of all the lights in the room

This I guess has something to do with the Nvidia driver since it works perfectly on my other laptop with an Intel onboard video card

Thanks;-)

Offline

#8 2009-03-04 21:12:05

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Something wrong with keyboard layout in TTY

yeah - I've had the same problem with a thinkpad t61.
Each time I exited 'X' - the console got dimmer and dimmer (using centos-5 and centos-4) - don't know the answer to that one, sorry

Offline

Board footer

Powered by FluxBB