You are not logged in.
Hello!
I've used Arch for a few months now, but lately I've run into a problem. When booting my computer, I get to the GDM login window after a short while. (I have GNOME installed) And when I try to type my username and passwd, the keyboard doesn't respond. I can move my mouse just fine. If I unplug and replug the keyboard, it sometimes fixes the problem, while at other times, I have to do this a couple of times. I use xf86-input-evdev to manage hotplugging in X, and I've cp'd the HAL .fdi-file 10-keymap.fdi from /usr/share/... as described in http://wiki.archlinux.org/index.php/Xor … _xorg.conf
The file /etc/X11/xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu Apr 16 19:36:29 PDT 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
# Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "no"
Option "XkbModel" "logitech_base"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
And the file /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">base</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">no</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
Now, shouldn't there be a way to make the keyboard work without having to unplug-replug it? I didn't have this problem the first time I installed Arch, but after a while (and after a few reinstalls) this problem appeared. Unfortunately, I can't seem to remember anything special happening before this problem emerged for the first time.
Any help appreciated!
Cheers
Last edited by mariusmeyer (2009-05-20 06:04:40)
Offline
I also encountered issues like these. My solution was to have the HAL daemon load before the KDM daemon (or in your case the GDM one). Also make sure, that you don't have HAL daemon backgrounded...
Offline
I believe I wrote rc.conf properly, hal loads before networkmanager, then fam and gdm last. The thing I've found to be most strange is that evdev always manages my mouse correctly, while the keyboard now fails to load almost every time. I tried to disable hotplugging, but I wonder if I forgot to explicitly install the drivers needed for this. I guess I assumed they came in the xorg group =P will check when I get home!
EDIT: I have now tried to add the Section "ServerFlags" with "AutoAddDevices" = "False" after installing the xf86-input-keyboard/mouse drivers. The mouse still works fine, and the keyboard still needs to be replugged any hint anyone?
EDIT2: Finally got it working, or so it seems. The problem was that, even with proper HAL setup and evdev driver installed, it seems that the Keyboard and Mouse setting in xorg.conf generated by nvidia-xconfig made trouble of it all. After removing everything having to do with input devices in xorg.conf, and also removing the ServerFlags section so that the devices would auto-add, I think I got it good
Last edited by mariusmeyer (2009-05-20 06:04:23)
Offline