Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logitech MX1000 mouse refues to work with evdev!
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
routerguy
Guru
Guru


Joined: 07 Feb 2004
Posts: 462

PostPosted: Tue Apr 05, 2005 1:05 am    Post subject: Logitech MX1000 mouse refues to work with evdev! Reply with quote

Hi,

I am having a very frustrating time getting my Logitech MX1000 mouse to work with X.org. I've read all of these:

https://forums.gentoo.org/viewtopic-t-246605-highlight-mx1000.html
https://forums.gentoo.org/viewtopic.php?t=218242&highlight=mx1000
https://forums.gentoo.org/viewtopic-t-244315-highlight-mx1000.html
https://forums.gentoo.org/viewtopic.php?t=98028&highlight=mx1000

and of course,

http://www.linux-gamers.net/modules/wfsection/article.php?articleid=46

I have evdev support compiled into my kernel. I can show this here. (Ignore the errors)

Code:

bash-2.05b# strings /usr/X11R6/bin/X | grep evdev
evdevStart
evdevNewDriver
evdevGetFDForDriver
%s: cannot register with evdev brain
%s: cannot start evdev brain
evdev
evdev
%s: cannot register with evdev brain
%s: cannot start evdev brain
/tmp/.X11-unix/evdev%d
evdev brain


Here is the output of /proc/bus/input/devices. I have omitted the other devices.

Code:

I: Bus=0003 Vendor=046d Product=c50e Version=2500
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.1-2/input0
H: Handlers=mouse0 event2
B: EV=17
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143
B: MSC=10


Notice where it says "event2"; that handler is from evdev, and i have correctly set it in my xorg.conf.

Here is the mouse section of my xorg.conf.

Code:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "evdev"
        Option      "Dev Name" "Logitech USB Receiver"
        Option      "Dev Phys" "usb-0000:00:1d.2-2/input0"
        Option      "Device" "/dev/input/event2"
        Option      "Buttons" "12"
        Option      "ZAxisMapping" "11 12"
        Option      "Resolution" "800"
EndSection


As you can see, my kernel supports evdev, and I have properly declared my device location and name. So I would expect this to work. However, X fails to start consistantly as long as I am using the evdev protocal. It sucessfully starts consistantly as long as I am not using the evdev protocal, and am using PS/2 or IMPS/2. This leads me to believe that there is something wrong with my evdev! If you look at one of the threads I linked to, you will find that another Gentoo user, mensan, had problems getting evdev to work:

Quote:

well, i had to go to the ExplorerPS\2 protocol for hotplugging to work.

i assume that IMPS\2 would work as well, but i just couldnt get evdev to hotplug.


Here he says that he could not get evdev to hotplug. Now, I cannot say that I understand the statement "get it to hotplug". I have coldplug installed, but since evdev is a protocal and not a device, what is there to hotplug? Linux correctly loads the driver for mice on boot, and if you look at my output regarding evdev, it should be working. I must be missing something here... is there some other option I need in the kernel? Or does it have to do with coldplug? What else can I do?

Any help is greatly appriciated. Thank you. :cry:
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Apr 05, 2005 5:00 am    Post subject: Re: Logitech MX1000 mouse refues to work with evdev! Reply with quote

Typo, note that you should only have one 2.
Mystic0 wrote:
P: Phys=usb-0000:00:1d.1-2/input0

Mystic0 wrote:
Option "Dev Phys" "usb-0000:00:1d.2-2/input0"


Alternatively,
Code:
Option      "Dev Phys" "usb-*/input0"
works fine also.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
routerguy
Guru
Guru


Joined: 07 Feb 2004
Posts: 462

PostPosted: Tue Apr 05, 2005 3:13 pm    Post subject: Reply with quote

Amazing.8O

Thanks, that did the trick. Funny how it's usually one tiny thing that brings down the whole system.
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