Bug 2287 - middle button no longer works on 3-button wheelmouse
Summary: middle button no longer works on 3-button wheelmouse
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: i386 Linux
: P2 low
Assignee: Dmitry Torokhov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 14:08 UTC by Henk Muller
Modified: 2005-12-20 23:36 UTC (History)
0 users

See Also:
Kernel Version: 2.6.3
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Henk Muller 2004-03-11 14:08:32 UTC
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.
Comment 1 Vojtech Pavlik 2004-03-11 14:15:51 UTC
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.
Comment 2 Diego Calleja 2004-03-13 16:02:35 UTC
Sorry, can be this related to http://bugzilla.kernel.org/show_bug.cgi?id=1034 ?
Comment 3 Henk Muller 2004-03-14 00:39:09 UTC
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.
Comment 4 Vojtech Pavlik 2005-12-20 23:36:02 UTC
We now always set BTN_MIDDLE if the mouse has a wheel, so this should be fixed
for quite some time.

Note You need to log in before you can comment on or make changes to this bug.