Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mouse wheel doesn't work
Date: Mon, 19 Sep 2005 11:22:39
Message-Id: 432E9DA6.70803@planet.nl
In Reply to: [gentoo-user] Mouse wheel doesn't work by Stewart Taylor
1 Stewart Taylor schreef:
2 > Hi all
3 >
4 > Just about got Gentoo up and running as I want it. Taken a while with
5 > all the tweaking and re-tweaking but I've not had as much fun with a
6 > computer for years. I've got a couple of problems which, so far,
7 > have got me pulling my hair out as nothing I try fixes them. I've got
8 > a Microsoft Intellimouse (ps2) which seems to be detected correctly
9 > but the wheel will not work under KDE. Under KDE Control center >
10 > peripherals >mouse I get the option to adjust the scroll rate, but
11 > this has no effect. The wheel seems to be working as a left button,
12 > if I click the wheel over an icon or file that item is selected. I've
13 > tried all the fixes I've found on the web (not many, most seem to
14 > relate to cordless mice) without success. I'll post the other problem
15 > as a separate posting.
16
17 I suspect your problem is twofold:
18
19 1) you may or may not have your mouse set up properly for multiple buttons;
20
21 2) you may have the wrong buttons defined as the scroll wheel.
22
23 Let me explain: I have a Typhoon Optical Wireless mouse which has 7
24 buttons (left, right, wheel up, wheel down, wheel press-as-a-button, and
25 two thumb-operated buttons on the left side). When I got it, I just used
26 the 'traditonal' wheelmouse settings in /etc/X11/xorg.conf:
27
28 Identifier "Mouse1"
29 Driver "mouse"
30 Option "Protocol" "Auto"
31 Option "Buttons" "7"
32 Option "ZAxisMapping" "4 5"
33 Option "Device" "/dev/input/mice"
34
35 But this did not work properly-- what happened was that the wheel didn't
36 work, and the side buttons were being used as the wheel (which also
37 didn't work, because they aren't a wheel).
38
39 This was because the mouse itself lists the side buttons as 4 and 5, and
40 the wheel as buttons 6 and 7.
41
42 So I had to tell X this:
43
44 Identifier "Mouse1"
45 Driver "mouse"
46 Option "Protocol" "Auto"
47 Option "Buttons" "7"
48 Option "ZAxisMapping" "6 7"
49 Option "Device" "/dev/input/mice"
50
51 And it works fine (previously used imwheel, but that's no longer
52 necessary, at least in my case).
53
54 You can run xev in a term and activate your various buttons to see which
55 one is which. That should help you set up the Mouse section of your X
56 config file correctly.
57
58 HTH,
59 Holly
60 --
61 gentoo-user@g.o mailing list