LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   X wont start - can't open mouse (https://www.linuxquestions.org/questions/debian-26/x-wont-start-cant-open-mouse-237157/)

omry_y 09-30-2004 01:27 PM

X wont start - can't open mouse
 
All the sudden, X Wont start, looks like it think I have a serial mouse (I have ps2)

EE) xf86OpenSerial: Cannot open device /dev/psaux
No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
(II) UnloadModule: "mouse"
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(WW) No core pointer registered


in XF86Config-4, I got tow mouse sections (dunno why):
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "NetScrollPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection


is there a way to re-configure everything?
I think the problem is not with x, but with the kernel modules.
please help, I dont want to re-install!

m00t00 09-30-2004 01:35 PM

The problem is, the devices dont exist. Try
# cat /dev/mouse

Then move your mouse. If you see a whole bunch of funky characters, stop here.
If you dont, then do
# cat /dev/psaux
and
# cat /dev/input/mice

And try the same.

If neither one of these works, then you can bet its something with your kernel, or the entries in /dev
If one does work, its X, and you most likley need to change some of your configuration.

macondo 09-30-2004 01:54 PM

you probably are using kernel 2.6, if so, read the sticky

Debian Configuration Post-install

that's what is there for

omry_y 09-30-2004 02:08 PM

works.
 
I did look, just not in all the links - the answer was in the wiki.
in any case, I found it here already (your answer, what a surprise :) :

echo -e 'mousedev\npsmouse' >> /etc/modules
modprobe mousedev
modprobe psmouse


This worked fine, so thanks.


All times are GMT -5. The time now is 03:36 AM.