Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfree error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
xin
n00b
n00b


Joined: 30 Dec 2002
Posts: 33

PostPosted: Tue Jan 07, 2003 1:08 am    Post subject: xfree error Reply with quote

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
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Tue Jan 07, 2003 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message
xin
n00b
n00b


Joined: 30 Dec 2002
Posts: 33

PostPosted: Tue Jan 07, 2003 3:05 am    Post subject: Reply with quote

Quote:
First: does /dev/mouse exists?


no it doesnt

what should i do?
Back to top
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Tue Jan 07, 2003 6:30 am    Post subject: Reply with quote

What kind of mouse do you have (serial, ps/2, usb)?
Back to top
View user's profile Send private message
xin
n00b
n00b


Joined: 30 Dec 2002
Posts: 33

PostPosted: Tue Jan 07, 2003 8:44 am    Post subject: Reply with quote

ps/2
Back to top
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Tue Jan 07, 2003 9:17 am    Post subject: Reply with quote

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
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Tue Jan 07, 2003 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
xin
n00b
n00b


Joined: 30 Dec 2002
Posts: 33

PostPosted: Tue Jan 07, 2003 11:59 pm    Post subject: Reply with quote

i dont seem to have /dev/misc/psaux

eh?
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Jan 08, 2003 1:10 am    Post subject: Reply with quote

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
View user's profile Send private message
xin
n00b
n00b


Joined: 30 Dec 2002
Posts: 33

PostPosted: Wed Jan 08, 2003 2:25 am    Post subject: Reply with quote

yay i got it working thanx alot for the help :):):):)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum