Red Hat Bugzilla – Bug 106586
Wheel mouse scroll up/down generates two X events
Last modified: 2007-04-18 12:58:14 EDT
Description of problem:
I have a USB wheel mouse that works great, except that wheel up/down generates
TWO X button press/release events, not one.
This means scrolling in Mozilla, gnome-terminal and other applications always
scrolls too much. In Mozilla, where I have Ctrl-wheel scroll a page, it always
does two pages at a time.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run xev.
2. Move mouse over the xev window, use the wheel to scroll up/down.
Two pairs of ButtonPress/ButtonRelease events are occurring for each single scroll.
Only a single pair of button press/release events should happen.
I've tried two USB mice, both standard Dell-issued intellimice. They have
worked fine on other Dell Red Hat 9 machines.
Attach your X server log file, config file, and /var/log/messages file
as uncompressed file attachments using the link below.
After looking through some other bugs for RH9/XFree86, I diffed the XF86Config
between this box (with the problem) and another identically configured Dell
machine, and the problem came down to this one difference in the ServerLayout
InputDevice "DevInputMice" "AlwaysCore"
If I remove that line, the mouse wheel works correctly. Based on the comments
in bug #89061, either redhat-config-xfree86 should keep that line out of
XF86Config unless it really needs to be there (e.g. laptops with two mouse
devices), or it's a XFree86 driver bug.
Ok, so I tried removing my XF86Config, and running redhat-config-xfree86, and
the resulting XF86Config file didn't have the AlwaysCore option (nor a
SendCoreEvents). So I'm not sure how it got there in the first place...
Does redhat-config-mouse change XF86Config? Between this problem and another
one in GNOME that turned out to be nothing, I ran redhat-config-mouse quite a
bit before finalizing on the current, working setting.
Not sure, I'm not involved in config tool development. I've Cc'd Brent however
Yes, redhat-config-mouse does change XF86Config. With the 2.6 kernel,
all mice will use the same kernel device (/dev/input/mice), so mouse
configuration becomes a non-issue. In fact, redhat-config-mouse has
been taken out of the latest Rawhide trees because it isn't needed any