Bug 1034 - Mouse wheel issue
Summary: Mouse wheel issue
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: i386 Linux
: P2 low
Assignee: Andrew Morton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-02 15:35 UTC by Carlos D
Modified: 2005-07-12 02:30 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.0-test2-mm2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Carlos D 2003-08-02 15:35:54 UTC
Distribution: Gentoo GNU/Linux (current) (1.4_rc4)
Hardware Environment: x86 pc (AMD Athlon XP 1800+ motherboard with VIA KT133)
Software Environment: GPM 1.20.1 XFree 4.3.99.8 devfs
Problem Description:
The mouse is a Genius Netmouse PS/2,
but gpm detect it as an standard PS/2
Mouse and in XFree I must configure it
as an PS/2 Mouse.
But the problem it's that the Mouse Wheel
doesn't work and the 4 act as the 1 button
and the 5 button as the 2.

Before running 2.6/2.5 kernels I had both XFree
and GPM configured as an NetMousePS/2.
And I had a working mouse wheel.
Comment 1 Carlos D 2003-08-03 13:55:08 UTC
The same error in 2.6.0-test2-mm3-1
Comment 2 Diego Calleja 2003-11-16 06:25:51 UTC
Can you reproduce it in -test9?

Can you also try with a stable X version?
Comment 3 Peter Williams 2003-12-10 04:27:09 UTC
I'm experiencing PS/2 mouse problems with 2.6.0-test11 kernel not unlike those
already reported.  The specific problem that I'm experiencing is that reverse
scrolling of the mouse wheel is being interpreted as a right button push.

My mouse is a Logitech cordless optical mouse M-RR67A is the manufacturers number.

I have had no previous trouble with this mouse using various 2.4.X kernels.
Comment 4 marco 2004-01-28 18:41:33 UTC
My usb mouse wheel (labtec optical mouse) doesn't work with 2.6.2-rc1 although 
it was working with kernel 2.2.20. 
 
I've tried switching from ImPS/2 to ExplorerPS/2 but it makes no difference. 
Comment 5 Sean Middleditch 2004-02-05 07:47:54 UTC
I'd like to confirm this bug.  It seems to be a fairly low-level problem, too -
catting /dev/input/mice results in output for mouse movement and button clicks
(including pressing the wheel as the third button) but scrolling the wheel
results in no output at all.  Naturally, switching between ImPS/2 and
ExplorerPS/2 in XF86Config doesn't change much.  ;-)

Using the latest XFree86 and kernel packages from Fedora Devel.  (No idea which
patches they've applied; obviously not one to fix this issue. ~,^ )

Bug #329 is closed due to existance of a patch to fix the issue, but no mention
where said patch is (which tree/release, etc.).

The wheel worked perfectly well with earlier Fedora Devel kernel 2.6 packages;
just the more recent 2.6.1 builds seem to suffer from this problem.

I've also of course filed a bug on the RedHat bug tracker.
Comment 6 marco 2004-02-08 07:04:11 UTC
I just want to say that I fixed the problem, but probably this is specific to 
my configuration. It seems that the XF86Config must reference /dev/input/mouseN 
instead of /dev/mouse for the mouse wheel to work. This isn't necessary (in my 
case) with kernel 2.4. 
Comment 7 Sean Middleditch 2004-02-14 20:38:47 UTC
Using /dev/input/mouse0 doesn't fix this for me.  Using hexdump (better debug
tool for this than cat) on /dev/input/mice and /dev/input/mouse0 shows that
absolutely nothing is coming across when I scroll the wheel, but events for
button clicks (including wheel click) and movement work.

This bug is persisting even in the 2.6.3-rc2 based kernel currently w/ Fedora Devel.
Comment 8 Sean Middleditch 2004-02-17 19:20:18 UTC
I've found the problem, at least with my setup.  The uhci-hcd driver wasn't
loaded, which is apparantly needed for full mouse operation.  Whatever other
driver was letting the mouse work before handled everything except the scroll
wheel, it seems.

I guess the fix would be to have the proper driver for the system load by
default without the user needing to hack on the modprobe.conf file.  From
reading the list archives (where I just chanced upon this fix), it seems as if
this problem is common.
Comment 9 Sean Middleditch 2004-02-17 19:21:10 UTC
(sorry for double comment) I accidently posted the bug update for the Red Hat
copy of this bug.  References to misconfiguration and "the lists" are to the
Fedora setup.  My apologies.
Comment 10 Damir Perisa 2004-12-13 08:30:12 UTC
is this still an issue? if not, please close this bug! 
Comment 11 Adrian Bunk 2005-07-12 02:30:14 UTC
There was no answer to the question whether this issue is still present in more
recent kernels.

Please reopen this bug if it is.

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