Hi, I've got Gentoo 2005.1 running on my Insprion 9300 (love this setup!). I also have the Microsoft Optical Desktop Elite for Bluetooth 2. However, I cannot get my mouse wheel to scrool in any application. The thumb buttons (4,5) do, however, perform the wheel functions.
For example, in any app with a vertical scrollbar, the thumb buttons (4,5) scroll vertically, and the wheel (6,7) performs forward/back browse in firefox.
Both the mouse and keyboard work fine. My kernel (2.6.13) is patched with the Bluez patch, so I most definitely receive input in /dev/input/mice from all buttons on the mouse. Running 'xev' also shows the events from the buttons are occurring correctly.
I know I have to use xmodmap to switch the functions, but I cannot for the life of me, get it to work. Everything I've read says to use this command and imwheel. I uninstalled imwheel, though, because all of my button events are working in X, but are not mapped correctly.
xmodmap -e "pointer = 1 2 3 6 7 4 5"
But I receive this output:
xmodmap: commandline:0: bad number of buttons, must have 12 instead of 7
xmodmap: 1 error encountered, aborting.
I'm not sure why this occurs, but I tried this and received no error:
xmodmap -e "pointer = 1 2 3 6 7 4 5 8 9 10 11 12"
This, however, doesn't fix the problem. Can't I simply switch their functionality? What am I doing wrong?
Thank you in advance.
Relevant sections of xorg.conf (synaptics device is my touchpad):
Code:
Section "InputDevice"
Driver "synaptics"
Identifier "touchpad"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto-dev"
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" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.5"
Option "MaxSpeed" "1.2"
Option "AccelFactor" "0.01"
Option "EdgeMotionMinSpeed" "15"
Option "EdgeMotionMaxSpeed" "15"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
EndSection
Section "InputDevice"
Identifier "Bluetooth Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "false"
EndSection
Section "ServerLayout"
Identifier "DefaultLayout"
Screen "Screen 1"
InputDevice "touchpad" "CorePointer"
InputDevice "Bluetooth Mouse"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection