Quick question about mouse scroll wheel and xorg.conf fie

Anthony Papillion papillion at gmail.com
Wed Oct 13 20:01:17 UTC 2010

Hi Marius,

Thanks for the quick response!

> That is very strange.  Is it a USB mouse?  Do you see any output if you
> run xev in a terminal, move the mouse cursor over the xev window, and
> scroll the wheel?  You should see ButtonPress and ButtonRelease events
> for buttons 4 and 5.

Yes, it's a USB mouse that's about a year old. In xev I see the expected
ButtonPress and ButtonRelease events ONLY when I click the wheel.
Scrolling produces no output at all. The event is totally ignored.

> It *is* enabled by default, and has been for *years*.  How old are those
> guides you're reading?

So..umm..yeah, I just looked. 2007. My bad!

> First try to find out why your scroll wheel isn't working.  Attaching
> your /var/log/Xorg.0.log file might help us guess why X doesn't detect
> your mouse has a scroll wheel.  E.g. over here I see

Interesting that I see something similar.  Here is the relevent part of
the Xorg.0.log file. Looks good, right?

II) config/udev: Adding input device Logitech Optical USB Mouse
(**) Logitech Optical USB Mouse: Applying InputClass "evdev pointer
(**) Logitech Optical USB Mouse: always reports core events
(**) Logitech Optical USB Mouse: Device: "/dev/input/event6"
(II) Logitech Optical USB Mouse: Found 3 mouse buttons
(II) Logitech Optical USB Mouse: Found scroll wheel(s)
(II) Logitech Optical USB Mouse: Found relative axes
(II) Logitech Optical USB Mouse: Found x and y relative axes
(II) Logitech Optical USB Mouse: Configuring as mouse
(**) Logitech Optical USB Mouse: YAxisMapping: buttons 4 and 5
(**) Logitech Optical USB Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Logitech Optical USB
Mouse" (type: MOUSE)
(II) Logitech Optical USB Mouse: initialized for relative axes.
(II) config/udev: Adding input device Logitech Optical USB Mouse
(II) No input driver/identifier specified (ignoring)

I'm not sure if the last line belongs to the mouse detection or not.
The next thing that happens in the log is the detection of my USB webcam
so that line might have to do with that.

So it seems that my mouse wheel is being detected just not responding.
I've tried this on another (Windows) computer and the mouse is
functioning properly so I know my scroll actually does work.

Odd huh? Any ideas?

More information about the ubuntu-users mailing list