Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel won't detect my USB mouse...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
oolceeoo
n00b
n00b


Joined: 10 Apr 2005
Posts: 17

PostPosted: Sun May 29, 2005 2:39 am    Post subject: Kernel won't detect my USB mouse... Reply with quote

Hello everyone. I am using gentoo kernel 2.6.11-r9. I am having difficulty getting the kernel to recognize my mx1000 usb mouse.

In the kernel, I have full HID support and layer compiled into my kernel, along with uhci, ehci, and one that begins with an s.

That hasn't worked, I just want the kernel to recognize my mouse. My keyboard works fine. My mouse worked in the livecd. Any tips or suggestions would be greatly appreciated!
Back to top
View user's profile Send private message
rawbeefman
Guru
Guru


Joined: 25 Mar 2005
Posts: 375

PostPosted: Sun May 29, 2005 2:48 am    Post subject: Reply with quote

Check out your /etc/xorg.conf file. There is a option for devices in there and one of them searches for the mouse and one is a mouse driver.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sun May 29, 2005 7:29 pm    Post subject: Reply with quote

Does "cat /dev/input/mice" output anything while moving the mouse?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
oolceeoo
n00b
n00b


Joined: 10 Apr 2005
Posts: 17

PostPosted: Wed Jun 01, 2005 6:01 am    Post subject: Reply with quote

Yes, when i move the mouse, there is output to the screen as strange characters.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Wed Jun 01, 2005 5:46 pm    Post subject: Reply with quote

Well, then you need to check out your /etc/X11/xorg.conf file, just like rawbeefman said.
If you post the "device" section that refers to your mouse, we can help.

You might also want to check out the xorg log files in /var/log for any relevant details.

oolceeoo wrote:
My mouse worked in the livecd.

By this I presume you mean from the console?
To get this functionality you need to emerge gpm and "/etc/init.d/gpm start".
Add it to the default runlevel to have it upon every boot.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
oolceeoo
n00b
n00b


Joined: 10 Apr 2005
Posts: 17

PostPosted: Thu Jun 02, 2005 7:21 pm    Post subject: Reply with quote

Ok. I got it to work. It works in X now, I was trying to get it to work in the console but now I'm in gnome and it works fine except the mouse wheel doesn't work. I'll try to see if I can get it to work. Thank you for your help!
Back to top
View user's profile Send private message
racer_alpha
n00b
n00b


Joined: 28 Apr 2005
Posts: 25

PostPosted: Thu Jun 02, 2005 7:37 pm    Post subject: Reply with quote

Does the Option "ZAxisMapping" "4 5" in the mouse section work to enable the wheel? I've contemplated a USB mouse...
Back to top
View user's profile Send private message
102039
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2005
Posts: 125

PostPosted: Thu Jun 02, 2005 7:46 pm    Post subject: Reply with quote

Maybe you also need to enable OHCI instead of UHCI in the Kernel. I board for example supports OHCI. I first had UHCI enabled which also worked for my mouse, i just could not get the mouse wheel working with X. I discovered then that my board has OHCI and then the mouse wheel worked.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Thu Jun 02, 2005 7:47 pm    Post subject: Reply with quote

racer_alpha wrote:
Does the Option "ZAxisMapping" "4 5" in the mouse section work to enable the wheel? I've contemplated a USB mouse...

Yes, it does.

You might also want to add;
Code:
Option  "Emulate3Buttons"       "false"


Here's what works for me (with a synaptics touchpad) if either of you are interested;
Code:
Section "InputDevice"
        Identifier      "USBMouse"
        Driver  "mouse"
        Option  "Protocol"      "IMPS/2"
        Option  "Device"        "/dev/input/mice"
        Option  "Emulate3Buttons"       "false"
        Option  "ZAxisMapping"  "4 5"
EndSection

_________________
"You have to invite me in"
Back to top
View user's profile Send private message
oolceeoo
n00b
n00b


Joined: 10 Apr 2005
Posts: 17

PostPosted: Sat Jun 04, 2005 6:08 am    Post subject: Reply with quote

Well, I added that to my xorg.conf file, but when I move the mouse wheel up, its like the back button of a browser. When I move it down, it moves forward. Strange....
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sat Jun 04, 2005 1:23 pm    Post subject: Reply with quote

I get the same effect when holding down the shift key.

Maybe this is a setting within the window manager you're using, or perhaps your browser. Does scrolling work normally for any other apps?

Try the different modifier keys, such as ALT, SHIFT and CTRL, to see what effect these have.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
oolceeoo
n00b
n00b


Joined: 10 Apr 2005
Posts: 17

PostPosted: Sat Jun 04, 2005 8:47 pm    Post subject: Reply with quote

I'm following the MX1000 user guide thread to try and get my mouse to work properly. No luck so far but I'll keep trying.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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