You are not logged in.

#1 2005-02-19 08:41:00

fourfats
Member
Registered: 2005-02-18
Posts: 6

another mouse question

how do i map the scroll wheel to be third button when i click on it.  i've tried different options but none of them have worked.  i have a generic ps/2 mouse from intel.

this is in my xorg.conf file

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping" "4 5"

any help would be greatly appreciated.

Offline

#2 2005-02-19 09:05:20

incinerator
Member
From: Edinburgh, Scotland
Registered: 2005-02-15
Posts: 80

Re: another mouse question

Option "Buttons" "5"

If that does not work, then additionally try
"Protocol" "PS/2"
or
"Protocol" "ExplorerPS/2"

Have a look at /var/log/Xorg.0.log to see what xorg thinks of your config. Mouse stuff is normally found near the end of the file.

Offline

#3 2005-02-19 09:25:32

fourfats
Member
Registered: 2005-02-18
Posts: 6

Re: another mouse question

i tried the different protocols (PS/2, ExplorerPS/2) but they still didnt work and i added the
Option "Buttons" "5"
to my xorg.conf file but that didnt work either

here is the input segment from my /var/log/Xorg.0.log

(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Device: "/dev/psaux"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Buttons" "5"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc101"
(**) Keyboard1: XkbModel: "pc101"
(**) Option "XkbLayout" "us"
(**) Keyboard1: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded

thanks

Offline

#4 2005-02-21 07:50:10

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: another mouse question

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

I know it is not the same, but there seem to be some things missing from your config.
Have you got that mouse1 in Sections??
Have you tried xorgconfig?
I have never had the pleasure of meeting a Microsoft Mouse, but I think ExplorerPS/2 should work.
The above USB thingy works out of the box with Samsung & A4tech mouses. Samsung is an alias for Mouse System (recently deceased when 17 months old) The PS/2 thing works with my touchpad.


--(*(cs25x--));

Offline

#5 2005-02-21 11:31:42

fourfats
Member
Registered: 2005-02-18
Posts: 6

Re: another mouse question

cs25x:
the xorg.conf file is similar to what i used in slackware, other than the devfs naming standard, and it worked perfectly fine there.  it was also generated by xorgconfig.  the mouse works and i can use the scroll wheel to scroll, but when i click on it nothing happens.  while other linuces recognize it as the third button.

Offline

#6 2005-02-21 21:21:06

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: another mouse question

I've always had good success in the past with protocol "IMPS/2".  However, when creating my xorg.conf from "xorgconfig", I've been using

Option "Protocol" "Auto"

with the same results.  Scroll and 3rd button works fine.  The strange thing is that it uses:

(--) Mouse1: PnP-detected protocol: "ExplorerPS/2"

and I get:

(II) Mouse1: ps2EnableDataReporting: succeeded
(II) 3rd Button detected: disabling emulate3Button

when I never enabled that option to begin with, and my scroll wheel 3rd button works just fine.

Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol" "Auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"

Offline

#7 2005-02-22 03:12:23

fourfats
Member
Registered: 2005-02-18
Posts: 6

Re: another mouse question

skoal:
tried your suggestion and when i look at the log file i get ExplorerPS/2 when i  set Protocol to "Auto".  but still no love from the scroll wheel.

Offline

#8 2005-02-22 04:57:10

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: another mouse question

Just for clarification, is this a mouse connected to your ps/2 port or a USB mouse?

If you've already tried everyting in the wiki and from people above, you can try this:

do not start X, go back to the console:

[skoal@morpheus ~]$ cat /dev/input/mice | hexdump -vb

press the middle mouse button and see if you are getting any output.  If so, then it's just your X settings.  I'm out of ideas...

P.S. Have you hugged your mouse lately, and whispered into it's ear that you love her?  I'm currently caressing my monitor.  It keeps flickering, but my warm hand against the plastic seems to straighten 'er right out.  Sometimes I have to pimp slap her tho...

Offline

#9 2005-02-22 05:51:02

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: another mouse question

My aunt just told me that her toaster died. The world is coming to an end ( near you tomorrow, do not miss it) Good luck with all the mouses.


--(*(cs25x--));

Offline

#10 2005-02-22 06:21:52

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: another mouse question

cs25x wrote:

My aunt just told me that her toaster died.

I feel your pain, and I'm sorry for the loss.  I too recently lost an important member of my household, the portable vacuum cleaner.  I think it decided to end it's life when I ran it over some pennies and potato chips stuck between the car seats.  What's with all these electronic devices these days?  It's like they look at the warranty sticker and give in, not realizing there are cheaper electronic pharmeceuticals over the Canadian border to extend their lives.

Offline

#11 2005-02-23 04:53:43

fourfats
Member
Registered: 2005-02-18
Posts: 6

Re: another mouse question

i tried the

[skoal@morpheus ~]$ cat /dev/input/mice | hexdump -vb

and the scroll wheel doesnt register when i click it

as for caressing my mouse, i keep trying to push its button but it acts turned off.

Offline

#12 2005-02-23 12:21:35

oscar
Member
From: Linköping, Sweden
Registered: 2004-08-13
Posts: 457

Re: another mouse question

Section "InputDevice" 
    Identifier  "Mouse1" 
    Driver      "mouse" 
    Option      "Protocol"     "ExplorerPS/2" 
    Option      "Device"       "/dev/input/mice" 
    Option      "Buttons"      "7" 
    Option      "ZAxisMapping" "6 7" 
    Option "Resolution" "800"
EndSection

This is for my generic MX310 - but any mouse with wheel+back/forward buttons should be able to use it.


To err is human... to really foul up requires the root password.

Offline

#13 2005-02-23 18:54:27

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: another mouse question

I looked back at my notes and i cheated to get my USB mouse going 8)  I installed Vector SOHO, and the mouse worked, just like that. So I think i copied the conf. That was the week before I moved to Arch. There is a live Arch CD from amlug and that is what I used for devfs (?) or something. Then I read the manual. The live Arch CD is a good indicator of what you can begin with. If your middle click is not being seen, maybe it is a protocol problem,  what does hwd do for you? What is the cost of another mouse because it could be slightly dead.


--(*(cs25x--));

Offline

#14 2005-02-24 03:57:29

fourfats
Member
Registered: 2005-02-18
Posts: 6

Re: another mouse question

hi guys,

thanks for all your help.  i put in another mouse and also activated the hotplug daemon (for my camera) and now it seems to work.  dont know if the other mouse was on its last legs or if i hadn't loaded the proper modules but anyways it works now.  i'm not sure if i should put "[solved]" in the subject because i dont know what did it.

Offline

#15 2005-02-24 14:03:12

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,444

Re: another mouse question

Please find better topics for further posts, so one can imagine what the post will be about.  wink


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#16 2005-02-24 14:13:53

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: another mouse question

if (test `cat /dev/hungry`); then
  less mice

rofl! oh man..
sleep depravation, coffee, and looking at cat and mice terminal commands makes for some corny, obscure, nerd jokes.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#17 2005-02-25 03:22:37

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: another mouse question

haha, cactus...

It took me awhile to get that joke, but it was pretty good.  Caffeine, nicotine, & sleep deprivation will do that to ya.

Offline

Board footer

Powered by FluxBB