View previous topic :: View next topic |
Author |
Message |
xin n00b
Joined: 30 Dec 2002 Posts: 33
|
Posted: Tue Jan 07, 2003 1:08 am Post subject: xfree error |
|
|
i install gentoo 1.4_rc2 form stage 1 with all the GRP packs i configured X
with X -configure which output the new config file then i tryed to tested the new config file "XFree86 -xf86config /root/XF86Config.new"
it outputed a few errors
Code: | (EE) xf86OpenSerial: Cannot open device /dev/mouse
No such file or directory.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device "Mouse0"
No core pointer
Fatal server error:
failed to initialize core devices
|
its my mouse i guess but im no expert
how would i go about fixing this or installing my mouse or whatever needs to be done |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Tue Jan 07, 2003 3:00 am Post subject: |
|
|
First: does /dev/mouse exists? If so, where does it points to? Mine for example, goes to /dev/misc/psaux, which is correct if you have a PS/2 mouse.
But my mouse is USB so I have /dev/usbmouse which points to /dev/input/mice, and I've modified /etc/X11/XFConfig to point to that device:
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "Off"
EndSection |
HTH,
Norberto |
|
Back to top |
|
|
xin n00b
Joined: 30 Dec 2002 Posts: 33
|
Posted: Tue Jan 07, 2003 3:05 am Post subject: |
|
|
Quote: | First: does /dev/mouse exists? |
no it doesnt
what should i do? |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Tue Jan 07, 2003 6:30 am Post subject: |
|
|
What kind of mouse do you have (serial, ps/2, usb)? |
|
Back to top |
|
|
xin n00b
Joined: 30 Dec 2002 Posts: 33
|
Posted: Tue Jan 07, 2003 8:44 am Post subject: |
|
|
ps/2 |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Tue Jan 07, 2003 9:17 am Post subject: |
|
|
Assuming your mouse is working, i.e., you have PS/2 support built in the kernel, and you're using devfs: Code: | ln -s misc/psaux /dev/mouse |
HTH,
Norberto |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Tue Jan 07, 2003 4:29 pm Post subject: |
|
|
Here's an example of an XF86Config from a ps/2 style 3-button wheel
mouse. You might want to try it.
Code: | Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
|
If that still doesn't work, and you don't seem to have a /dev/mouse, check
and see if you have a /dev/misc/psaux.
Code: | # ls -ld /dev/mouse
lr-xr-xr-x 1 root root 10 Jan 6 20:42 /dev/mouse -> misc/psaux
# ls -ld /dev/misc/psaux
crw-r----- 1 root root 10, 1 Jan 7 00:42 /dev/misc/psaux
|
If you have no /dev/mouse, but you have a /dev/misc/psaux, you can
make a symlink like above:
Code: | ln -sf /dev/misc/psaux /dev/mouse |
Also, check to make sure your devfs is working and the config contains
the information to configure your mouse:
Code: | # Create /dev/mouse
LOOKUP ^mouse$ CFUNCTION GLOBAL mksymlink misc/psaux mouse
REGISTER ^misc/psaux$ CFUNCTION GLOBAL mksymlink $devname mouse
UNREGISTER ^misc/psaux$ CFUNCTION GLOBAL unlink mouse
|
--rtn |
|
Back to top |
|
|
xin n00b
Joined: 30 Dec 2002 Posts: 33
|
Posted: Tue Jan 07, 2003 11:59 pm Post subject: |
|
|
i dont seem to have /dev/misc/psaux
eh? |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Jan 08, 2003 1:10 am Post subject: |
|
|
xin wrote: | i dont seem to have /dev/misc/psaux
eh? |
Should be:
/dev/psaux
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
xin n00b
Joined: 30 Dec 2002 Posts: 33
|
Posted: Wed Jan 08, 2003 2:25 am Post subject: |
|
|
yay i got it working thanx alot for the help |
|
Back to top |
|
|
|