You are not logged in.

#1 2006-02-02 10:03:47

ben-arch
Member
Registered: 2005-12-17
Posts: 120

MX700 problem with XORG 7

Am using a Logitech mx700 mouse.  Was functioning just right with the help of xmodmap on xorg 6.8

Since moving to xorg 7, wheneve I try to run xmodmap, I'm getting :

xmodmap:  .Xmodmap:1:  bad number of buttons, must have 14 instead of 10
xmodmap:  1 error encountered, aborting.

the mouse part of xorg.conf has

	Option		"ZAxisMapping"		"9 10"
	Option		"Buttons"		"10"
	Option		"ButtonNumber"		"10"

just as before

I'm running xmod map as

 xmodmap ~/.Xmodmap

where ~/.Xmodmap is :

 pointer = 1 2 3 6 7 8 9 10 4 5

Once again - just as with xorg 6.8. 

So what's happening here ?any ideas?

Thanks
Ben[/code]

Offline

#2 2006-02-02 20:32:18

keevn7
Member
From: Lancaster, OH, US
Registered: 2005-06-09
Posts: 206
Website

Re: MX700 problem with XORG 7

There is a much better way to get mice with extra buttons working in Xorg 7.0. I made a howto for it on my website even.

http://daimeria.com/linhowtos/mice.php

The place of interest is the "Xorg >= 6.9" section. Cheers.

Offline

#3 2006-02-02 23:41:06

dingus
Member
From: London
Registered: 2006-02-02
Posts: 18

Re: MX700 problem with XORG 7

I had a similar issue which I solved by just adding the requisite number of buttons to my .Xmodmap file.  In your case this would be:

pointer = 1 2 3 6 7 8 9 10 4 5 11 12 13 14

I am not entirely sure why you have to do this (I had to have 32).

Offline

#4 2006-02-03 09:45:42

ben-arch
Member
Registered: 2005-12-17
Posts: 120

Re: MX700 problem with XORG 7

Thanks keevn7.

Excellent howto.  Still have a problem with the back/forward buttons (they scroll up/down) - but will solve tha too in time.  The howto is a very good start

Ben

Offline

#5 2006-02-28 00:56:37

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: MX700 problem with XORG 7

I've just done a long overdue update and had this problem. I _think_ I've solved it. I used evdev as per the page keevn7 posted. BUT I added the line

Option "Buttons" "32"

to the xorg.conf. The changed my .Xmodmap to read:

pointer = 1 3 2 4 5 8 9 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

  :shock:

heres my xorg.conf input section:

Section "InputDevice"
    Identifier    "Mouse0"
    Driver    "evdev"
    Option    "Device"      "/dev/input/event2"
    Option     "Buttons" "32"
EndSection

My MX700 mouse definitely does NOT have 32 buttons!  lol But now they all work. I even had to swap 2 and 3!

Offline

#6 2006-02-28 16:18:59

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: MX700 problem with XORG 7

Just to confirm the above config works fine for me, after a reboot as well.

Offline

#7 2006-03-10 21:39:30

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: MX700 problem with XORG 7

Some question for you guys. Its been some time I wanted to make my USB Logitech MX700 Duo (Elite keyboard + MX700 mouse) working in Xorg. So on my laptop, I have those input devices:
-stickpointer (in the middle of the laptop keyboard)
-laptop's touchpad
-Elite keyboard
-MX700 mouse
This is what I want to do:

1. Configuring each device independantly. This include:
-symlink for each device (done with udev)
-proper "InputDevice" section in xorg.conf

2. All of the buttons on the kb and mouse to work, ideally external programs. Xorg is bug enought to manage this...

3. Hotplugging in Xorg. I want to be able to unplug/replug the usb mouse/kb and not loose fonctionalities. Right now if I set Option      "Device"      "/dev/input/mx700duo_keyboard" in xorg.xonf, when I unplug it the link disapear from /dev/input (thanx to udev...) and Xorg complains...


Before Xorg 7 upgrade, point 1. and 2. did work, but not as nicely as I wanted. Their was always some small negative details. But now with Xorg 7, so much thing changed...

Now the MX700 mouse has 32 buttons?!?! This is the related xorg.conf section:

Section "InputDevice"
    Identifier  "LogitechMX700Duo_souris"
    Driver    "evdev"
    Option      "Dev Name"     "Logitech USB Receiver"
    Option      "Dev Phys"     "usb-*/input1"
    Option      "Device"       "/dev/input/mx700duo_souris"
    Option     "ZAxisMapping"     "9 10"
    Option     "Buttons"          "10"
    Option     "Resolution"       "800"
    Option     "Emulate3Buttons"  "yes"
EndSection

Why does xmodmap complaints with command like xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"?? I suspect that all of the buttons are summed up...

Also, in my /var/log/Xorg.0.log file, I have:

(**) LogitechMX700Duo_souris: Core Pointer
(**) LogitechMX700Duo_souris: Device: "/dev/input/mx700duo_souris"
(II) LogitechMX700Duo_souris: Found x and y relative axes
(II) LogitechMX700Duo_souris: Found mouse buttons
(II) LogitechMX700Duo_souris: Found keys
(II) LogitechMX700Duo_souris: Configuring as mouse
(II) LogitechMX700Duo_souris: Configuring as keyboard
(II) XINPUT: Adding extended input device "LogitechMX700Duo_souris" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Alps Touchpad Stickpointer" (type: MOUSE)
(II) XINPUT: Adding extended input device "Alps Touchpad Glidepoint" (type: MOUSE)
(II) XINPUT: Adding extended input device "Clavier" (type: KEYBOARD)

Why does Xorg think that the MX700 is a keyboard??!!!??

Another thing with that mouse is that the two buttons near the wheel send 2 events, buttons 4 and 11, and buttons 5 and 12. Their is a bugreport at http://bugzilla.kernel.org/show_bug.cgi?id=1786 but saddly the mods wanted to close the bugs many times... I know its not Arch specific but is anyone else have this?

Did someone really managed to make that mouse completly work??

Offline

#8 2006-03-14 10:43:27

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: MX700 problem with XORG 7

well my MX700 mouse works fully, except for the stupid button behind the back scroll button (behind scroll wheel). I don't know about hotplugging it though. And I havent got around to trying the keyboard buttons either. I rarely use them, so like my printer its something I havent got around to sorting out because I havent needed them yet and it wasnt simple to do.

As to why it has "32 buttons" no idea, but xorg7 thinks it has!

Offline

#9 2006-03-14 10:46:41

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: MX700 problem with XORG 7

just a thought, could the mouse and keyboard buttons be all listed as mouse buttons? might explain the 32 thing. all i know is my mouse works tongue

Offline

#10 2006-03-14 14:48:29

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: MX700 problem with XORG 7

Thanx for the feedback Jefg60  wink

After reading alot of info on many web pages (because there is no up to date Xorg doc), I've found out that some of the problems where because of evdev.

The edvev (protocol? driver?) included in Xorg 7 is different from the one in 6.8.2 and should be more "generic", in the mean that you can use it for keyboard and for mouse.

It seems nice, but it is way from finished. The "32" buttons is because it is hardcoded! So all mice that will use the evdev driver should be seen as 32 buttons mice. Until evdev is more developed, one should make with it.

I had problem with keyboard layouts when using evdev. setxkbmap was dying in a ugly way when trying to change the layout and using evdev.

I think, and please correct me if I'm wrong, I think that evdev will (should?) support a kind of hotplugging. Right now , xorg really don't like it.

So right now I reverted back to the "keyboard" driver, and I removed the InputDevice for the laptop keyboard (it works anyway!?) I'll post related xorg.conf's sections :

Section "InputDevice"
    Driver "synaptics"
    Identifier "Alps Touchpad Glidepoint"
    Option "Device"               "/dev/input/touchpad"
    Option "Protocol"             "auto-dev"
    Option "Buttons"              "7"
    Option "LeftEdge"             "120"
    Option "RightEdge"            "830"
    Option "TopEdge"              "120"
    Option "BottomEdge"           "650"
    Option "FingerLow"            "14"
    Option "FingerHigh"           "15"
    Option "MaxTapTime"           "180"
    Option "MaxTapMove"           "110"
    Option "EmulateMidButtonTime" "75"
    Option "VertScrollDelta"      "25"
    Option "HorizScrollDelta"     "25"
    Option "MinSpeed"             "1.2"
    Option "MaxSpeed"             "2.0"
    Option "AccelFactor"          "0.2"
    Option "EdgeMotionMinSpeed"   "15"
    Option "EdgeMotionMaxSpeed"   "30"
    Option "UpDownScrolling"      "1"
    Option "CircularScrolling"    "1"
    Option "CircScrollDelta"      "0.1"
    Option "CircScrollTrigger"    "2"
    Option "TapButton1"           "1"
    Option "TapButton2"           "2"
    Option "TapButton3"           "3"
    Option "SHMConfig"            "on"
EndSection

Section "InputDevice"
    Identifier  "Alps Touchpad Stickpointer"
    Driver      "mouse"
    #Option      "Device"      "/dev/input/event1"
    Option      "Device"      "/dev/input/stick"
    Option      "Buttons"     "2"
EndSection

Section "InputDevice"
    Identifier  "LogitechMX700Duo_souris"
    Driver    "evdev"
    Option      "Dev Name"     "Logitech USB Receiver"
    Option      "Device"       "/dev/input/mx700duo_souris"
    Option     "Resolution"       "800"
    Option     "Emulate3Buttons"  "yes"
EndSection

Section "InputDevice"
    Identifier  "LogitechMX700Duo_clavier_kb"
    Driver      "keyboard"
    Option      "XkbRules"    "xorg"
    Option      "XkbModel"    "logiinkseusb"
    Option      "XkbLayout"   "ca"
    Option      "XkbVariant"  "fr"
EndSection

Section "ServerLayout"
    Identifier  "nvidiac"
    Screen "Ecran LCD (nvidia)"
    Option "OffTime" "5"
    InputDevice "Alps Touchpad Glidepoint" "SendCoreEvents"
    InputDevice "Alps Touchpad Stickpointer" "SendCoreEvents"
    InputDevice "LogitechMX700Duo_souris" "CorePointer"
    InputDevice "LogitechMX700Duo_clavier_kb" "CoreKeyboard"
EndSection

Offline

#11 2006-03-14 21:31:14

Chris|MD
Member
Registered: 2006-03-14
Posts: 36

Re: MX700 problem with XORG 7

Hello.
Gonna use my first post for such a "stupid" Question.
But did someone get the MX518 running?

Tried evdev, doesnt work for some reason. But ok i think that wont change anything.
So im sticking to the ExplorerPS/2 Protocol.

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons"    "8"

Is what i have.
Im not sure but the DPI Changingbuttons arent configurable and can only work as DPI Switchers and not as Buttons (or im wrong?).

xmodmap:  .Xmodmap:1:  bad number of buttons, must have 12 instead of 8

is the cute message i get. When i enter 12 Buttons i get another message big_smile

Had a MX500 before and i switched both the mouse and the xorgversion at the same time so im not sure which options would work under x6.9.
I just want to use all Buttons (not the DPI Changers) =/[/code]

[edit]All Tutorials use a m510 oder 1000. And even the non-evdev ones do.
Im not clever enough to get this working for a 518 =/

Offline

#12 2006-05-01 19:37:20

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: MX700 problem with XORG 7

Chris|MD: mx518 should be the same setup as the mx510, also it should have 10 buttons.

I personally got my mx518 working again after it went screwy yesterday by following keevn7's howto, at least the scrollwheel is working, I haven't checked the other buttons 'cause I don't ever use them.

Offline

#13 2006-05-01 19:47:09

augustob
Member
From: Florianópolis, Brazil
Registered: 2006-03-17
Posts: 135

Re: MX700 problem with XORG 7

Actually, my MX500 works just fine with:

Section "InputDevice"
        Driver       "mouse"
        Identifier      "USB Mouse"
        Option       "Device" "/dev/input/mice"
        Option       "Protocol" "ExplorerPS/2"
        Option       "Buttons" "7"
        Option       "ZAxisMapping" "4 5"
        Option       "ButtonMapping" "1 2 3 6 7"
EndSection

No other modules or anything. The new buttonmapping option obsoletes xmodmap for mice buttons altogether.

Offline

#14 2006-05-01 21:16:55

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: MX700 problem with XORG 7

I might have to give that a shot with my MX510...using evdev with the latest udev/xorg has caused me some problems.  Do you have all mouse buttons working properly?

Offline

#15 2006-05-02 01:31:42

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: MX700 problem with XORG 7

since my latest update today, I'm not using the evdev driver anymore. which is handy because it was causing kernel panics with the ati radeon drivers!

Driver "mouse"

works fine.

Offline

#16 2006-05-02 06:11:00

augustob
Member
From: Florianópolis, Brazil
Registered: 2006-03-17
Posts: 135

Re: MX700 problem with XORG 7

elasticdog wrote:

I might have to give that a shot with my MX510...using evdev with the latest udev/xorg has caused me some problems.  Do you have all mouse buttons working properly?

Yep.

Scrolling and clicking the wheel and back-forward in the thumb buttons works fine.

Offline

#17 2006-05-02 18:45:06

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: MX700 problem with XORG 7

keevn7 wrote:

There is a much better way to get mice with extra buttons working in Xorg 7.0. I made a howto for it on my website even.

http://daimeria.com/linhowtos/mice.php

The place of interest is the "Xorg >= 6.9" section. Cheers.

You're the best. Between your how-to (sooo difficult to do lol ), and the Gentoo wiki on creating a static mouse, I have a really nice setup. I love open source.


·¬»· i am shadowhand, powered by webfaction

Offline

Board footer

Powered by FluxBB