You are not logged in.
Pages: 1
Ok. I upgraded to xorg 1.5. That broke my system which I have finally fixed. Everything is working fine again. However a problem I had before upgrading still persists. I was hoping Xorg 1.5 would fix it but that didn't happen. I use a Finnish keyboard and my issue is that my questionmark and underscore don't work (Both "Shift+" keys). All my other keys work fine. What I discovered whilst messing around with the new xorg is that my keyboard works perfectly when I don't load KDEmod i.e. in the console. Also my keyboard works perfectly in the login screen of KDEmod. However once the desktop has loaded up, my keyboard stops working properly.
In the new xorg, I have a very minimal xorg.conf (that would be useless to post here) and I have changed the keymap in the .fdi place. I removed "us" and replaced it with "fi".
This problem persisted before I upgraded my xorg. Obviously it seems this problem is related to the X-server. Any idea what could be wrong here....
BFC
Last edited by BlueFightingCat (2008-12-15 07:49:44)
Offline
did you check your keyboard layout in kde (via systemsettings) ?
what goes up must come down
Offline
Yeah. Its set to "evdev-managed keyboard". And obviously the correct keymap is selected.
BFC
Offline
I have a Finnish keyboard and it seems to work fine with X.Org X Server 1.5.3. I have installed KDE from the extra repo, I don't use KDEmod. I just tried typing questionmark and underscore in kwrite and they work OK.
Let's see what I have in /etc/hal/fdi/policy/10-keymap.fdi:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">evdev</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">fi</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
It seems that the "input.xkb.rules" (evdev), "input.xkb.model" (evdev), and "input.xkb.layout" (fi) are the important sections.
And here are the "InputDevice" sections for keyboard and mouse in my /etc/X11/xorg.conf:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Driver "evdev"
Option "Device" "/dev/input/event1"
Option "XkbRules" "evdev"
Option "XkbModel" "evdev"
Option "XkbLayout" "fi"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Driver "evdev"
Option "Protocol" "evdev"
Option "Device" "/dev/input/event5"
Option "ZAxisMapping" "4 5"
EndSection
So how did I figure out what which event numbers in /dev/input control the keyboard and the mouse? That's easy, I just checked where the symlinks in /dev/input/by-path point to.
Hope this helps.
Offline
Hey,
Thanks for the advice. I tried what you said but that didn't help. This is a really annoying problem. It's really strange.
BFC
Offline
Sorry to hear it didn't work for you.
If you already have the xf86-input-evdev package installed and the hal daemon added to /etc/rc.conf, then I can't think of any further advice. Still, you might want to try some other window manager to test your keyboard. If the same keyboard problem appears also outside KDEmod, then you'll know for sure that it's an Xorg-related problem and not a bug in KDEmod.
Offline
Hmmm.....I'm not too excited about installing another windows manager. Is there any easy quick way to do that...
BFC
Offline
Hmmm.....I'm not too excited about installing another windows manager. Is there any easy quick way to do that...
BFC
Sure,
pacman -S openbox
Offline
Ok so I installed OpenBox and tested it. The keyboard works perfectly. So it seems the problem has something to do with KDEmod (4.1) and not the Xserver. I'll post a message in the KDEmod forums, see if I can get any help there.
Thanks for the advice so far! Appreciate it.
BFC
Offline
I finally found the solution to my problem. It was my KDE4 that was causing the problem. All I had to do to fix the problem was reset my .kde4 directory. Problem solved!!
BFC
Offline
NOT solved at all.
"Reset your .kde4 directory" is a "solution" in the style of "backup, format, reinstall Windows". It doesn't tackle the problem at all, it just takes chances that the problem will not occur again - and as a bonus, you get to redo your beautifully and ergonomically customized panels and settings from scratch.
Perhaps the problem can be narrowed down to KDM - the KDE4's display manager. I don't use KDE4, but I do use KDM as the display manager and I am having the problem too. For now I just type
setxkbmap pl
in the Verve command line after logging in.
Offline
I tried that. It didn't help.
And you're right. My solution is indeed a work around.
BFC
Offline
I tried that. It didn't help.
In your case it should probably be something along the lines of:
setxkbmap fi
Offline
Pages: 1