keyboard mapping mixed up upon pressing NumLock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-input-evdev (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: xorg
I have a notebook (Fujitsu-Siemens Amilo PRO V3205) which I often use with an external USB keyboard attached when I am at home. However if NumLock is active I can not normally use the notebook's own keyboard because its keyboard mapping is mixed up. For example when I press 'o' it types '6' on the terminal window. And many other keys are also incorrectly associated. (The external keyboard types OK.)
And now what is a quite unpleasant and a very serious closely related problem. The problem occurs following next few simple steps.
1.) I have the external USB keyboard attached with the NumLock active.
2.) I shut the operating system down.
3.) I detach the external keyboard.
4.) I start up the machine again. (I have automatic login set up.)
5.) I open a terminal and try to type (now using notebook's own keyboard). It types incorrectly. For example I get '6' instead of 'o' as I mentioned above.
6.) There is no easy way (at least for me) to get the correct keyboard mapping. The NumLock on my notebook is active but there is no way how to switch it off (because there is no dedicated key to do the switch on the notebook's keyboard). Even rebooting the machine does not help. Yes, there is a key named "Insert Num" and it indicates NumLock status "on" (by blue LED) under such circumstances. However pressing this key does not turn the NumLock status off.
Please imagine that such a situation happens say in a train where you do not have any external keyboard available. In such a situation a non-expert user gets lost because he/she has no way how to get the correct keybord mapping. (The only way would be to attach an external USB keyboard but he/she has left the thing at home, of course).
So, user gets to this awkward situation when he/she (at that moment being e.g. in a house) shuts down the OS with the NumLock key on and after that he/she tries to use such notebook without having an external keyboard at hand (typically in a train). Please realise that it is quite common to leave the NumLock key on. I think the key even turns on automatically in my case.
Finally, I noticed that the keyboard mapping is incorrect also in text console (Alt F2 for example) but it is differently incorrect.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
CurrentDmesg:
[ 20.568419] ppdev: user-space parallel port driver
[ 96.362463] PPP BSD Compression module registered
[ 96.387182] PPP Deflate Compression module registered
[ 235.933126] CE: hpet increasing min_delta_ns to 15000 nsec
[ 266.877151] [drm:drm_
Date: Mon Oct 18 22:00:28 2010
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: FUJITSU SIEMENS AMILO Pro V3205
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: xorg
dmi.bios.date: 02/14/2007
dmi.bios.vendor: Phoenix
dmi.bios.version: 1.20
dmi.board.name: 10AD
dmi.board.vendor: FUJITSU
dmi.board.version: 03
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU SIEMENS
dmi.chassis.
dmi.modalias: dmi:bvnPhoenix:
dmi.product.name: AMILO Pro V3205
dmi.product.
dmi.sys.vendor: FUJITSU SIEMENS
glxinfo: Error: [Errno 2] No such file or directory
system:
distro: Ubuntu
codename: lucid
architecture: i686
kernel: 2.6.32-25-generic
affects: | xorg (Ubuntu) → xserver-xorg-input-evdev (Ubuntu) |
Workaround: Disable NumLock
1. For Disabling it on Login Screen
2. Workaround for Unity-Session
1. For Disabling it on Login Screen ======= ======= ======
=======
First, ensure that numlockx is installed, by typing these in terminal:
sudo apt-get install numlockx
Then, edit the file /etc/lightdm/ lightdm. conf lightdm. conf
gksudo gedit /etc/lightdm/
Add the following line to the file: setup-script= /usr/bin/ numlockx off
greeter-
2. Workaround for Unity-Session ======= ======= ====
=======
Click on the cog wheel on the top right corner of your screen and choose Startup Applications, or type "Startup..." in the Dash.
Add command "/usr/bin/numlockx off" as startup application.