Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No mouse GNOME fresh install
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
gentoo_newguy
Guru
Guru


Joined: 10 Oct 2006
Posts: 539

PostPosted: Wed Jan 16, 2008 11:35 pm    Post subject: No mouse GNOME fresh install Reply with quote

HI i have just done a fresh install and my mouse does not seem to be working in gnome.
I havent head this problem before and dont really no where to start
Could anyone please help me ?
I have a little usb mouse with 2 buttons and a min scroller in between to the 2 buttons
thanks
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Thu Jan 17, 2008 12:21 am    Post subject: Reply with quote

Try to narrow down what's wrong.

First, check to see if you have mouse support working properly in X.

Temporarily disable Gnome. In /etc/rc.conf, change this:
Code:
XSESSION="Gnome"
to this:
Code:
#XSESSION=Gnome
and either reboot the computer or press ctrl+alt+backspace (which should kill X forcing it to respawn).

This should result in a fallback window manager being started instead of Gnome (twm, I believe).
See if the mouse works there. If so, you know it's a Gnome problem. If not, you know it's NOT a Gnome problem.
Back to top
View user's profile Send private message
gentoo_newguy
Guru
Guru


Joined: 10 Oct 2006
Posts: 539

PostPosted: Thu Jan 17, 2008 1:01 pm    Post subject: Reply with quote

How can i check to see if i have mouse suppport in X ?
Im not amazing on linux pretty new to it all

Also im pretty sure its not justa gnome problem i dont have it when just on the simple shell.
Back to top
View user's profile Send private message
ianw1974
Guru
Guru


Joined: 18 Oct 2006
Posts: 387
Location: UK and Poland

PostPosted: Thu Jan 17, 2008 1:13 pm    Post subject: Reply with quote

For mouse at the console, you need gpm. For X, did you follow the Xorg configuration guide to configure X correctly?

Normally:

Code:
Xorg -configure


should give you a working xorg.conf file which by default is put in the /root directory. Then you can move it from here to /etc/X11 to use it. Make a backup copy of your existing xorg.conf file in case it doesn't work how you expect it to.

http://www.gentoo.org/doc/en/xorg-config.xml
_________________
Ian Walker

Light travels faster than sound. This is why some people appear bright until you hear them speak.........

Linux Systems Limited | Masternode Monitoring
Back to top
View user's profile Send private message
gentoo_newguy
Guru
Guru


Joined: 10 Oct 2006
Posts: 539

PostPosted: Thu Jan 17, 2008 1:27 pm    Post subject: Reply with quote

HI man thanks for ur quick reply and advice.

When i do an emerge av xorg-server
I can see that the INPUT_DEVICES="keyboard and mouse"
Looks like i built in the support for the mouse.

but does not seem to be working .

Could there be something else i have done wrong :-(

Maybe I didnt compile support for the mouse in the kernel ?
I have treid looking but no actaully sure where to look in the kernel its allways worked default for me
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Thu Jan 17, 2008 1:28 pm    Post subject: Reply with quote

gentoo_newguy wrote:
How can i check to see if i have mouse suppport in X ?
Im not amazing on linux pretty new to it all

Also im pretty sure its not justa gnome problem i dont have it when just on the simple shell.


As noted by ianw1974, you're not going to have mouse support at the console (outside of the X windowing environment) unless you are running GPM. But don't get distracted by GPM at this point. Your problem is getting the mouse to work in Gnome.

The instructions I gave you above should allow you to start X without Gnome. Either the mouse will be working or it won't. That's how you can check to see if you have mouse support currently functioning in X.

If you followed the guide at the link provided by ianw1974 when you installed X, it should be working. If it's not, review that and see if you did something wrong.

You should probably have something like the following in xorg.conf, but the details will depend upon your system and you should follow the guide.
Code:
Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol"      "auto"
        Option          "Device"        "/dev/input/mice"
        Option          "ZAxisMapping"  "4 5"
EndSection
Back to top
View user's profile Send private message
gentoo_newguy
Guru
Guru


Joined: 10 Oct 2006
Posts: 539

PostPosted: Thu Jan 17, 2008 1:49 pm    Post subject: Reply with quote

The mouse is not working.
When im just on the X session i can see the mouse pointer but it does not move.

I have followed the guide correctly like i allways do to get X working.
My config looks near enough the same as urs for the mouse.

I also just noticed is not being loaded when i terminate the xsessions.



/usr/lib/xorg/modules/input//mouse_drv.so
(EE) NO input driver matching 'mouse'

Sorry for the all the questions
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Thu Jan 17, 2008 2:17 pm    Post subject: Reply with quote

Post the "InputDevice" section of your xorg.conf that pertains to your mouse.

Also, what is the output when you type the command (as root):
grep USB_HID /usr/src/linux/.config
Back to top
View user's profile Send private message
gentoo_newguy
Guru
Guru


Joined: 10 Oct 2006
Posts: 539

PostPosted: Thu Jan 17, 2008 2:26 pm    Post subject: Reply with quote

HI thanks for ur advice guys i fixed the problem
i emerged the x11 module drivers for the mouse and it worked
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Thu Jan 17, 2008 2:51 pm    Post subject: Reply with quote

gentoo_newguy wrote:
HI thanks for ur advice guys i fixed the problem
i emerged the x11 module drivers for the mouse and it worked


Good work. Enjoy. :)

Put "[Solved]" in the Subject of the original post.
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