xorg.conf.new file is overwritten when I run Xorg

Hi,

I just did the following:

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

I see y'all have made Xorg the standard X window server. Like many others (judging from the posts) I'm having trouble getting mine to run.

I've gotten past several errors, but now I am up against the "mouse problem". I followed instructions posted here:

http://wwww.debianhelp.org/node/6874

I edited the xorg.conf.new file to set the mouse to /dev/psaux. However, thereafter when I run Xorg I get the same errors.

Xorg is not able to detect your mouse.
Edit the file and correct the Device.

When I look at the xorg.conf.new file I see that the mouse is again specified as /dev/mouse!! Somehow the file I edited before running Xorg is being overwritten with the original settings.

This happens regardless of whether or not I copy /root/xorg.cong.new to /etc/X11/xorg.conf.

Any ideas?

Thanks,....

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

xorg.conf.new file is

Since you already have everything installed, all you have to do is edit /etc/X11/xorg.conf - don't invoke any automatic config generation tools because that just wastes time and screws with your config file; you already have a config file so just edit that to suit.

The 'psaux' module in the 2.6 kernel is something of a dummy driver maintained for legacy reasons; if possible you should use the 'input' driver instead and set the mouse to /dev/input/mice. (or mouse0, mouse1 ... whichever suits you).

So the basic thing goes like this:
1. shut down 'X': /etc/init.d/kdm stop (or xdm, gdm - if you use a 'desktop manager' at all)
2. edit your xorg.conf file
3. restart X: /etc/init.d/kdm start

While in a text console you can check your mouse by doing something like this:
less -f /dev/input/mice
Wiggling the mouse or pressing buttons should place some junk on your screen.

More mouse config problems

Hi,

Thanks for the reply. I tried what you suggested. Still not working. Here's some more detail:

I tried running "less -f /dev/input/mouse0" and also tried with mouse1, mouse2, etc. None worked. I get the error:
/dev/input/mouse0: No such device

Here is the relevant section of my /etc/X11/xorg.conf file.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "input"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "PS/2"
Option "ZAxisMapping" "4 5"
EndSection

Also, below are some error excerpts from my Xorg.0.log file: If anyone wants, I can send the full file (but trying to save space).

(II) Module kbd: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.6
(II) LoadModule: "input"
(WW) Warning, couldn't open module input
(II) UnloadModule: "input"
(EE) Failed to load module "input" (module does not exist, 0)

I think this means that the "input" driver in my mouse section can't be found. How do I repair this?

I'm also seeing the following error.

(EE) Unable to find a valid framebuffer device

Thanks much again.

Syndicate content