Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logitech Wheel Mouse
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
dwilson
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2003
Posts: 115

PostPosted: Thu Feb 13, 2003 2:13 am    Post subject: Logitech Wheel Mouse Reply with quote

I am having trouble getting my mousewheel on my logitech mouse to work with X. Can anyone tell me what the mouse section of my config file should look like?

I am not sure if this info is needed but it is a wirless wheel mouse and I am using it with the PS/2 port.

Any help is appreciated, thanks!
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Thu Feb 13, 2003 2:30 am    Post subject: Reply with quote

I'm using the same mouse (though not the rechargeable one with the base - damn I like that mouse), but through the USB port. That doesn't affect the scroll wheel behavior, though. You just need to map buttons 4 and 5 of your mouse to the scroll wheel. To do that, you need the following lines in your mouse section:

Code:

        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"


That ought to do it.


Last edited by jetblack on Thu Feb 13, 2003 3:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Carlos
Guru
Guru


Joined: 07 Aug 2002
Posts: 458
Location: Providence, RI

PostPosted: Thu Feb 13, 2003 2:36 am    Post subject: Reply with quote

There's a bunch of threads on this, so I suggest that you do some searching.

Here's my mouse section from XF86Config; I have a dual optical MouseMan:
Code:
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "5 6"
    Option "Buttons" "6"
EndSection

_________________
Man must shape his tools lest they shape him.
Back to top
View user's profile Send private message
magisk
n00b
n00b


Joined: 10 Feb 2003
Posts: 44
Location: Haugesund, Norway

PostPosted: Thu Feb 13, 2003 11:07 am    Post subject: Reply with quote

Code:
Section "InputDevice"
  Identifier "Mouse1"
  Driver   "mouse"
  Option "Protocol"  "IMPS/2"
  Option "Device"   "/dev/psaux"
  Option "ZAxisMapping" "4 5"
EndSection


If you have a regular 5 button mouse (scroll button is three in one) the code above will hopfully do the trick.
Back to top
View user's profile Send private message
Jkay
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 214
Location: thatched-roof cottages

PostPosted: Thu Feb 13, 2003 1:30 pm    Post subject: Reply with quote

I have a Logitech wheel mouse.

Section "InputDevice"

# Identifier and driver

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

EndSection
Back to top
View user's profile Send private message
tycheung
n00b
n00b


Joined: 29 Dec 2002
Posts: 43

PostPosted: Thu Feb 13, 2003 6:27 pm    Post subject: Reply with quote

re: the desktop setup guide: setting the device as /dev/input/mice rather than /dev/input/mouse0 or /dev/input/mouse1 seems to work better, at least on my machine. Before, the mouse would freeze under heavy loads leaving me to navigate keyboard only, and X wouldn't start unless the mouse was plugged in. with /dev/input/mice, things seem to be a little better.

I'm not sure what the difference is between /dev/psaux or /dev/mouse is, though.
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Thu Feb 13, 2003 8:49 pm    Post subject: Reply with quote

you might also want to check out this thread about getting your thumb button working. See my post in that thread (nitro322) for specifics on the Logitech setup.
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Sun Mar 23, 2003 11:51 pm    Post subject: Reply with quote

Another mousewheel problem here...

I too have a Logitech mouse with two buttons and a mousewheel, I've no idea about the exact model, probably the least fancy and expensive there is. I cannot recall ever getting the wheel to work despite trying a bunch of times. I've also tested numerous protocols and nothing. I've also searched the forum and tried people's suggestions but no good. All I get is the pointer keeps in the left bottom corner of the screen, no matter what I do. I tried looking at the properties in Windows and all I can extract from that is that it's a PS/2 mouse and a Logitech logo is printed on it. The only way to get it working is using the PS/2 protocol and thus no wheel.

Oh and gpm is not running as it's not even merged.

Ok, so I finally found something helpful, /usr/X11R6/lib/X11/doc/README.mouse which I never knew about. I identified the mouse as a Logitech FirstMouse+ and set it up as follows..

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

It doesn't dance around anymore but still no mousewheel function. I tried using buttons 3 and 4 for the mousewheel and that predictably conflicted with the mouse buttons.

*help*
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Mon Mar 24, 2003 11:57 am    Post subject: Reply with quote

I have used a Logitech Trackman Marble+ since XF86-3.3.x. Here is what works:
Code:

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"            "MouseManPlusPS/2"
    Option      "Device"              "/dev/misc/psaux"
    Option      "Resolution"        "800"
    Option      "ZAxisMapping"  "4 5"
EndSection


The Resolution option is not necessary, but is available with the MouseManPlus protocol and can be nice for adjusting cursor speed. numerodix, just get rid of the Buttons option and yours should work fine. (The fourth and fifth buttons are inferred when you set them in ZAxisMapping.)
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Mon Mar 24, 2003 1:14 pm    Post subject: Reply with quote

It doesn't make a difference, I tried commenting out that line and it still doesn't work.
Back to top
View user's profile Send private message
Tiganu
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 105
Location: Montreal

PostPosted: Mon Mar 24, 2003 6:48 pm    Post subject: Reply with quote

I have a low-end Logitech (3 buttons + wheel) going through the USB, the X config snippet:
Code:

Section "InputDevice"
 
# Identifier and driver
 
    Identifier                  "Mouse1"
    Driver                              "mouse"
    Option      "Protocol"              "IMPS/2"
    Option      "Device"                "/dev/usbmouse"
    Option      "Buttons"               "5"
    Option      "ZAxisMapping"          "4 5"
    Option      "Emulate3Buttons"       "off"
 
EndSection


This has ALWAYS worked for me ever since xfree 4.x came out, before, it was imwheel madness :D
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Mon Mar 24, 2003 7:36 pm    Post subject: Reply with quote

That's great, but mine isn't usb so...
Back to top
View user's profile Send private message
Tiganu
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 105
Location: Montreal

PostPosted: Mon Mar 24, 2003 9:18 pm    Post subject: Reply with quote

numerodix wrote:
That's great, but mine isn't usb so...

All you have to do is change
Code:
 Option      "Device"                "/dev/usbmouse"

to
Code:
 Option      "Device"             "/dev/input/mice"

or
Code:
 Option      "Device"             "/dev/psaux"


I would recomend making sure /etc/devfsd.conf gives you a nice link & use that.

Everything else stays the same.
If you have more than 5 buttons (2 standard, 1 for clicking the wheel, 2 more buttons and 2 "buttons" for wheel-up, wheel-down), then you set Buttons to 7 & make the last ones ZAxisMapping.
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Tue Mar 25, 2003 1:47 am    Post subject: Reply with quote

Have you checked to see that you are editing the right device? Your config above says:
Identifier "Mouse1"

There should be a line (probably near the top) in your XF86Config file that says:
InputDevice "Mouse1" "CorePointer"

It might sound obvious, but it's worth checking that it points to the correct section.
Back to top
View user's profile Send private message
numerodix
l33t
l33t


Joined: 18 Jul 2002
Posts: 743
Location: nl.eu

PostPosted: Tue Mar 25, 2003 11:35 am    Post subject: Reply with quote

Well there is only one mouse defined.. at the bottom of the file I have a line that reads..

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
Back to top
View user's profile Send private message
atac
Apprentice
Apprentice


Joined: 04 Jan 2003
Posts: 234
Location: haninge, swe

PostPosted: Fri Jul 11, 2003 6:15 pm    Post subject: Reply with quote

Carlos wrote:
Here's my mouse section from XF86Config; I have a dual optical


i've got one of thoose aswell, one question tho.
have you been able to let xfree handling the scroll wheel, while imwheel is handling the thumb button ?

because i REALLY hate the way imwheel is handling the scroll wheel, scrolling goes like a page at a time, while xfree's scrolling goes 5-10 lines which is so much smoother.
_________________
1 + 1 + 1 = 11
Back to top
View user's profile Send private message
dark_priest
Apprentice
Apprentice


Joined: 18 Aug 2003
Posts: 227
Location: NL

PostPosted: Tue Aug 19, 2003 11:29 am    Post subject: Reply with quote

What file do i Nano to put that stuff in?[/i]
Back to top
View user's profile Send private message
water
Guru
Guru


Joined: 19 Jun 2002
Posts: 387
Location: Zierikzee, The Netherlands

PostPosted: Tue Aug 19, 2003 12:37 pm    Post subject: Reply with quote

dark_priest wrote:
What file do i Nano to put that stuff in?[/i]


/etc/X11/XF86Config
_________________
Groeten uit Holland
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Sat Oct 25, 2003 3:19 pm    Post subject: Reply with quote

was there a final resolution for this? I have a USB two button and a wheel optical mouse and the wheel doesn't work.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Sat Oct 25, 2003 3:28 pm    Post subject: Reply with quote

OK, the protocol value "Auto" doesn't work for USB. It has to be "IMPS/2".
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