HAL (0.5.12) Keyboard and Mouse problems with GNOME 2.6; X.Org 1.5.3; Gentoo
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
I'm not completely sure if that eak8 is meant to be there or was appended by pressing enter, but the keyboard is a compaq. Another bug report I noticed from X was this:
Code:
Failed to load module "dri" (module does not exist, 0)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: No Symbols named "winkeys" in the include file "pl"
> Exiting
> Abandoning symbols file "default"
I have a suspicion that this is the cause of all my woes, but found little in my search for a resolution. I'm guessing that the first error is unrelated. In any case, here is my xorg.conf file:
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.
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?
... Running "setxkbmap us" (I want a us keymap) didn't help
well, since "us" is the default you don't have to configure this.
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?
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.
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
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.