View previous topic :: View next topic |
Author |
Message |
dwilson Tux's lil' helper
Joined: 10 Feb 2003 Posts: 115
|
Posted: Thu Feb 13, 2003 2:13 am Post subject: Logitech Wheel Mouse |
|
|
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 |
|
|
jetblack Guru
Joined: 15 Jan 2003 Posts: 340 Location: Evanston, IL, USA
|
Posted: Thu Feb 13, 2003 2:30 am Post subject: |
|
|
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 |
|
|
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Thu Feb 13, 2003 2:36 am Post subject: |
|
|
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 |
|
|
magisk n00b
Joined: 10 Feb 2003 Posts: 44 Location: Haugesund, Norway
|
Posted: Thu Feb 13, 2003 11:07 am Post subject: |
|
|
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 |
|
|
Jkay Apprentice
Joined: 31 Dec 2002 Posts: 214 Location: thatched-roof cottages
|
Posted: Thu Feb 13, 2003 1:30 pm Post subject: |
|
|
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 |
|
|
tycheung n00b
Joined: 29 Dec 2002 Posts: 43
|
Posted: Thu Feb 13, 2003 6:27 pm Post subject: |
|
|
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 |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Thu Feb 13, 2003 8:49 pm Post subject: |
|
|
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 |
|
|
numerodix l33t
Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Sun Mar 23, 2003 11:51 pm Post subject: |
|
|
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 |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Mon Mar 24, 2003 11:57 am Post subject: |
|
|
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 |
|
|
numerodix l33t
Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Mon Mar 24, 2003 1:14 pm Post subject: |
|
|
It doesn't make a difference, I tried commenting out that line and it still doesn't work. |
|
Back to top |
|
|
Tiganu Tux's lil' helper
Joined: 02 Oct 2002 Posts: 105 Location: Montreal
|
Posted: Mon Mar 24, 2003 6:48 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
numerodix l33t
Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Mon Mar 24, 2003 7:36 pm Post subject: |
|
|
That's great, but mine isn't usb so... |
|
Back to top |
|
|
Tiganu Tux's lil' helper
Joined: 02 Oct 2002 Posts: 105 Location: Montreal
|
Posted: Mon Mar 24, 2003 9:18 pm Post subject: |
|
|
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 |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Tue Mar 25, 2003 1:47 am Post subject: |
|
|
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 |
|
|
numerodix l33t
Joined: 18 Jul 2002 Posts: 743 Location: nl.eu
|
Posted: Tue Mar 25, 2003 11:35 am Post subject: |
|
|
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 |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Fri Jul 11, 2003 6:15 pm Post subject: |
|
|
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 |
|
|
dark_priest Apprentice
Joined: 18 Aug 2003 Posts: 227 Location: NL
|
Posted: Tue Aug 19, 2003 11:29 am Post subject: |
|
|
What file do i Nano to put that stuff in?[/i] |
|
Back to top |
|
|
water Guru
Joined: 19 Jun 2002 Posts: 387 Location: Zierikzee, The Netherlands
|
Posted: Tue Aug 19, 2003 12:37 pm Post subject: |
|
|
dark_priest wrote: | What file do i Nano to put that stuff in?[/i] |
/etc/X11/XF86Config _________________ Groeten uit Holland |
|
Back to top |
|
|
devsk Advocate
Joined: 24 Oct 2003 Posts: 2995 Location: Bay Area, CA
|
Posted: Sat Oct 25, 2003 3:19 pm Post subject: |
|
|
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 |
|
|
devsk Advocate
Joined: 24 Oct 2003 Posts: 2995 Location: Bay Area, CA
|
Posted: Sat Oct 25, 2003 3:28 pm Post subject: |
|
|
OK, the protocol value "Auto" doesn't work for USB. It has to be "IMPS/2". |
|
Back to top |
|
|
|