Currently I’m encountering problems with Xorg 7.1, evdev, and my Microsoft IntelliMouse Optical. The issue is that when I run ‘startx’, I get the following:
I have had Xorg 7.1 compiled for a long time, no recent updates. However, I changed my /etc/X11/xorg.conf file as such:
Will update when I figure this damned problem out.
Okay, many of you are going to find this funny, many interested, and many won’t really call this a solution.
First, you need to make certain that evdev is compiled into your Kernel. As per the installation instructions at the Gentoo Wiki - Advanced Mouse Howto, you will need to:
Reboot into your new Kernel. Then, you need to do the following to your /etc/make.conf:
If evdev wasn’t there before and you added it, then recompile the following:
All of those packages (especially xorg-server) will be recompiled with the evdev option to hopefully allow it to work. If you had evdev in your INPUT_DEVICES line already, but don’t have xf86-input-evdev compiled, please compile it to see if it works.
Then, my /etc/X11/xorg.conf file:
Notice how it changed from the beginning…
After doing all this and issuing startx, everything was just fine.
So what's weird?
Well, if you didn’t notice it, at the VERY beginning, I referenced having a Microsoft IntelliMouse Optical. In the xorg.conf, I now have a Dell Premium USB Optical Mouse. THAT, my dear friends, was the solution.
Even after doing everything above, I was still getting the error message bogus pointer event from ddx with my Microsoft mouse. Here’s some information about the device:
Yes, forgive the messed up name…But what is up with the ? after the IntelliMouse? Let’s try something else:
Ahah! There’s a strange character that can’t be read on the command line (and more than likely not processed by the config file). To save you the trouble, it was ®. If that doesn’t show up on your browsers, think (R) - the registered copyright symbol.
Trying to put this in the configs is difficult using a terminal on the computer in question. It’s possible through SSH - but the config gets mucked really quickly and the problem is still there.
When I switched to the Dell mouse, my problems were solved because the Name line doesn’t contain any characters that will garble config files.
So, as stated, slightly resolved. Leave it to Microsoft to turn out a faulty product…stick with software, Microsoft. At least you’ll have one (almost) forte.
Update - 10 Minutes after Solving
Okay, I solved the issue with the Microsoft mouse. Here’s how I did it and what had happened before that made me think I wouldn’t get it to work.
There’s another string that evdev can use to identify something. This was the Phys string - which I believe is somehow identified as the Physical address string. That’s what it looks like. I modified my /etc/X11/xorg.conf to look like:
Thus, no random characters that will reak havoc in my config. However, the strange error messages I was getting on startup were the following:
The AUDIT goes on forever if you don’t do anything. These are being logged in the background while you get an X for a cursor, a black background and NOTHING MORE. It stops loading.
The cause of the problem was me being foolish enough to do the following:
What happened was root dropped some .Xauthority files in my directory, and when I tried to log in and use X, I didn’t have the permissions for the file! Check it out:
Running startx gets you working again with the new config! :-D
Keep going!Keep going ×2!Give me more!Thank you, thank youFar too kind!Never gonna give me up?Never gonna let me down?Turn around and desert me!You're an addict!Son of a clapper!No wayGo back to work!This is getting out of handUnbelievablePREPOSTEROUSI N S A N I T YFEED ME A STRAY CAT