HAL (0.5.12) Keyboard and Mouse problems with GNOME 2.6; X.Org 1.5.3; Gentoo
Recently tried to upgrade from GNOME 2.4 to 2.6, and I've been having troubles since. My chief problem is that my keyboard doesn't work when HALD is running. It works without it running, but unfortunately 2.6 pretty much requires HAL with Nautilus and such. I found a similar bug here: http://www.mail-archive.com/debian-x.../msg87455.html
but that doesn't seem to describe my situation as the key codes parsed by the apps seem to be constant, depending only on the key I press. Basically, when I try to type, it appears to be sending the key I pressed, with a bunch of garbage appended to it. I attempted to fix it by reinstalling HAL and X, but achieved nothing. Deleting config files in my home didn't work either. Eventually I got frustrated and decided to try running in root (I know that's stupid and something that I really shouldn't do). I got an error message that told me there was an error activating XKB config; and that the bug was in libxklavier, in X Server, or I was using an incompatible libxkbfile with X. It told me to run Code:
xprop -root | grep XKB Code:
gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd Code:
xprop -root | grep XKB Code:
gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd Code:
Failed to load module "dri" (module does not exist, 0) Code:
# nvidia-settings: X configuration file generated by nvidia-settings Thanks in advance. |
Hello mdever44 and welcome to LQ,
I experienced a peculiar behavior of my keyboard recently. I got a new computer and therefore did a completely new install of Gentoo. I'm not running Gnome but fvwm2. I have deleted my xorg.conf. If hal is properly configured one will need no xorg.conf. Be aware, that you have to copy the necessary fdi-files to /etc/hal/fdi/policy/. You'll find this files in /usr/share/hal/fdi/policy/10osvendor. You'll need at least the file for the keymap and input (the mouse). One may configure the 10-keymap.fdi file for other keyboards than "us". The fdi-files use XML. This works with Gentoo and Slackware properly but since I had a problem with my German keybindings I use the setxkbmap command within my .xinitrc. markus |
Well, copying 10osvendor over to /etc/hal/fdi/policy didn't help. I did some searching on configuring HAL, but I couldn't find anything other than the LFS book; which didn't say much. Running "setxkbmap us" (I want a us keymap) didn't help; and removing xorg.conf prevented X from finding a screen. So I'm still stuck. Any other ideas?
|
Hello,
Quote:
Did you upgrade xorg-server as well? It maybe possible that there is an incompatibility in the versions of xorg and Gnome. I refer to this thread: http://www.linuxquestions.org/questi...emerge-764541/. Did you "emerge --sync" before reinstalling xorg? What is the output of "emerge -Dupv xorg-server? Markus |
I tried updating xorg to 1.6, still no results. I don't think that the incompatibility is between xorg 1.5 and gnome; as I also run xfce and it suffers from the same problem when HALD is running.
The output of "emerge -Dupv xorg-server" basically told me it was going to upgrade xorg and told me it would update xorg to 1.6 and install a few more packages. |
Quote:
Well, may be that it is not an incompatibility between xorg and Gnome but xorg and hal. I'd recommend to perform an upgrade of the whole system since if I understood correct that your system once ran properly (before upgrading Gnome). I'm running Gentoo amd64 on 3 Computers with the latest updates installed and my systems are running properly (with fvwm as a Windowmanager). If you need more help please post the output of "emerge -Dupv xorg-server" and the settings for the inputdevices (and graphics-adapter) in your make.conf Markus |
The update was successful. I should have posted "emerge -Dupv xorg-server" before, but I expected it would just tell you I was reinstalling xorg 1.6 (I missed the update flag). That was not the case, and here is the output now:
Code:
emerge -Dupv xorg-server Code:
INPUT_DEVICES="keyboard mouse" |
You should add "evdev" to your inputdevices and try "emerge -pv xorg-server" if this changes something. If there is a difference, I'd recommend to rebuild xorg-server. But I'm not sure if this points in the right direction.
Markus |
I already tried adding evdev; it had no effect. I finished upgrading everything; no effect. I guess I'm re-emerging world tonight... How fun. Probably easier just to start everything over. Anyways, thanks for trying to help markush
|
Well, be sure to add "-nls" (no "national language support") to your use-variables since with "us"-settings you will not need it although it's in the default for the desktop-profile.
Good luck. Markus |
All times are GMT -5. The time now is 07:47 AM. |