Distribution: fedora Hardware Environment: amd-k7 Software Environment: Problem Description: I bought an el-cheapo cordless wheelmouse (Maplin, RF Cordless Wheel Mouse), and the middle button refuses to work. The mouse works find under a 2.4 kernel. This problem is also reported on: http://www.ussg.iu.edu/hypermail/linux/kernel/0310.3/1293.html The mouse is recognised as a two-button mouse, even though it has three buttons, hence the middle button does not work. I hacked logips2pp.c to solve my problem. You can argue that the mouse is wrong and that the kernel is right... Steps to reproduce: Just reboot.
Can you provide the /proc/bus/input/devices file? I'd like to see as what the kernel detected it - from your description it seems that it's detected as an unknown Logitech mouse, which would explain the 3-btn problem.
Sorry, can be this related to http://bugzilla.kernel.org/show_bug.cgi?id=1034 ?
Dear Vojtech, please find the devices file below: 22:17:39 % cat /proc/bus/input/devices I: Bus=0011 Vendor=0002 Product=0005 Version=0000 N: Name="ImPS/2 Logitech Wheel Mouse" P: Phys=isa0060/serio1/input0 H: Handlers=mouse0 B: EV=7 B: KEY=30000 0 0 0 0 0 0 0 0 B: REL=103 I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 H: Handlers=kbd B: EV=120003 B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe B: LED=7 22:17:46 % Re Diego's comment: by the sound of it Bug 1034 is different. This one seems logitech specific.
We now always set BTN_MIDDLE if the mouse has a wheel, so this should be fixed for quite some time.