PDA

View Full Version : [SOLVED] Mouse wheel sometimes doesn't work



nicks27
December 11th, 2013, 12:45 PM
When I boot my machine, sometimes the mouse wheel works, sometimes it doesn't.
It seems to depend if it's detected as "PS/2 Generic Mouse" or "ImPS/2 Generic Wheel Mouse".

Is there some configuration that will make sure the mouse wheel always works?

It's currently not working:



$ grep -i "mouse" /var/log/Xorg.0.log
[ 24.684] (==) NOUVEAU(0): Silken mouse enabled
[ 24.794] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event3)
[ 24.794] (**) PS/2 Generic Mouse: Applying InputClass "evdev pointer catchall"
[ 24.794] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[ 24.794] (**) PS/2 Generic Mouse: always reports core events
[ 24.794] (**) evdev: PS/2 Generic Mouse: Device: "/dev/input/event3"

[ 24.794] (--) evdev: PS/2 Generic Mouse: Vendor 0x2 Product 0x1
[ 24.794] (--) evdev: PS/2 Generic Mouse: Found 3 mouse buttons
[ 24.794] (--) evdev: PS/2 Generic Mouse: Found relative axes
[ 24.794] (--) evdev: PS/2 Generic Mouse: Found x and y relative axes
[ 24.794] (II) evdev: PS/2 Generic Mouse: Configuring as mouse
[ 24.794] (**) evdev: PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[ 24.794] (**) evdev: PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 24.794] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE, id 9)
[ 24.794] (II) evdev: PS/2 Generic Mouse: initialized for relative axes.
[ 24.794] (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
[ 24.794] (**) PS/2 Generic Mouse: (accel) acceleration profile 0
[ 24.794] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[ 24.794] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[ 24.794] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse0)


$ cat /proc/bus/input/devices | grep -B 1 -A 7 -i "mouse"
I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input3
U: Uniq=
H: Handlers=mouse0 event3
B: PROP=0
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3





but on the previous boot it was working:



$ grep -i "mouse" /var/log/Xorg.0.log.old
[ 26.132] (==) NOUVEAU(0): Silken mouse enabled
[ 26.243] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event3)
[ 26.243] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[ 26.243] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'
[ 26.243] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[ 26.243] (**) evdev: ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event3"

[ 26.243] (--) evdev: ImPS/2 Generic Wheel Mouse: Vendor 0x2 Product 0x5
[ 26.243] (--) evdev: ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
[ 26.243] (--) evdev: ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
[ 26.243] (--) evdev: ImPS/2 Generic Wheel Mouse: Found relative axes
[ 26.243] (--) evdev: ImPS/2 Generic Wheel Mouse: Found x and y relative axes
[ 26.243] (II) evdev: ImPS/2 Generic Wheel Mouse: Configuring as mouse
[ 26.243] (II) evdev: ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
[ 26.243] (**) evdev: ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
[ 26.243] (**) evdev: ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 26.243] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 9)
[ 26.243] (II) evdev: ImPS/2 Generic Wheel Mouse: initialized for relative axes.
[ 26.244] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
[ 26.244] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[ 26.244] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[ 26.244] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[ 26.244] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[ 1116.400] (II) evdev: ImPS/2 Generic Wheel Mouse: Close

nicks27
December 22nd, 2013, 01:53 PM
After some searching, I found this bug and workaround:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/587134/comments/ (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/587134/comments/9)


... editing this line in /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="psmouse.proto=imps quiet nosplash"
then running "sudo update-grub" at the command line. When I rebooted, my wheel worked...

This worked for me.

nicks27
December 27th, 2013, 03:26 PM
I am also facing the same problem bu i am failed to find any solution.If you will get any solution then share this with us. I will thankful to you for this kindness.

You may find the details on the following page useful:

http://www.idevelopment.info/data/Unix/Linux/LINUX_ErraticMouseBehaviorwithMouseFedoraandBelkin KVM.shtml


Maybe you can try the suggested commands but with "imps" instead of "bare":

# modprobe -r psmouse # Unloads the driver; your mouse will stop working at this point
# modprobe psmouse proto=imps # Re-load the driver using the correct parameter

and if that works for you then maybe putting:

options psmouse proto=imps
in your /etc/modprobe.conf file (instead of the GRUB option) will make the change persistent after rebooting.