Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse not working under X
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
shaky
n00b
n00b


Joined: 06 Feb 2004
Posts: 45
Location: Montreal, Canada

PostPosted: Sat Feb 07, 2004 7:55 pm    Post subject: Mouse not working under X Reply with quote

So I've got fluxbox emerged and everything, so when I load "startx", fluxbox starts up. However my mouse doesnt work...

Mouse is a Logitech MX700 (USB)

Here's the XF86Config mouse configuration:
Code:

Identifer "Mouse 1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Resolution" "256"
Option "SampleRate" "800"


I've done a bit of searching...
--> Changing the device to "/dev/input/mice" or "/dev/input/mouse" didn't do anything...
--> USB works since my USB keyboard works fine outside X


I'm kinda lost as to how to troubleshoot this... can anyone direct me to some place? TIA...
Back to top
View user's profile Send private message
thj
n00b
n00b


Joined: 16 Jan 2004
Posts: 70
Location: Denmark

PostPosted: Sat Feb 07, 2004 8:00 pm    Post subject: Reply with quote

Hello..

Try this, and then move the mouse. If something happens it's your X config. Please let us know if something happens :)
Code:
# cat /dev/input/mice

_________________
/ Tommy Holm Jacobsen
holmjacobsen.com
Back to top
View user's profile Send private message
shaky
n00b
n00b


Joined: 06 Feb 2004
Posts: 45
Location: Montreal, Canada

PostPosted: Sat Feb 07, 2004 8:05 pm    Post subject: Reply with quote

Before I try it, what does that command do exactly? Thanks...
Back to top
View user's profile Send private message
thj
n00b
n00b


Joined: 16 Jan 2004
Posts: 70
Location: Denmark

PostPosted: Sat Feb 07, 2004 8:11 pm    Post subject: Reply with quote

Just prints alot of chars on the screen when you're moving the mouse, so you can see if the mouse works. When youre done, close it with CTRL+C
_________________
/ Tommy Holm Jacobsen
holmjacobsen.com
Back to top
View user's profile Send private message
shaky
n00b
n00b


Joined: 06 Feb 2004
Posts: 45
Location: Montreal, Canada

PostPosted: Sat Feb 07, 2004 8:32 pm    Post subject: Reply with quote

ether wrote:
Hello..

Try this, and then move the mouse. If something happens it's your X config. Please let us know if something happens :)
Code:
# cat /dev/input/mice


Well I tried
Code:

# cat /dev/input/mice
# cat /dev/mouse


and nothing happened. I'm guessing then it has something to with my kernel? If so, what can I do to fix it?
Back to top
View user's profile Send private message
shaky
n00b
n00b


Joined: 06 Feb 2004
Posts: 45
Location: Montreal, Canada

PostPosted: Sat Feb 07, 2004 8:55 pm    Post subject: Reply with quote

I just did
Code:

cat /proc/bus/input/devices


and the first entry was for my PC speaker.

The second two are what concern me:

For the second entry:
Quote:

N: Name="Logitech Logitech USB Keyboard"
P: Phys=usb-0000:00:1f.2-1/input0
H: Handlers=kbd
...


And for the other entry:
Quote:

N: Name="Logitech Logitech USB Keyboard"
P: Phys=usb-0000:00:1f.2-1/input1
H: Handlers=kbd mouse0
...


So the two input devices are apparently recognized as keyboards, but their physical address is different so I'm guessing this might be where the problem is... also the Handler for the second entry is different as well...

Anyone?
Back to top
View user's profile Send private message
shaky
n00b
n00b


Joined: 06 Feb 2004
Posts: 45
Location: Montreal, Canada

PostPosted: Sat Feb 07, 2004 10:55 pm    Post subject: Reply with quote

Problem is fixed, somehow, I don't really know how though.

All I know is that I recompiled the kernel, with built-in OHCI, and afaik that's all I really did...

Now cat /dev/input/mice gives me a lot of gibberish when I move the mouse, and the mouse works under X...

So yeah... woo!
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