Bug 129378

Summary: USB mouse with wheel (hwinfo: wheel: 1): wheel not working under X11
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Tobias Burnus <burnus>
Component: HotplugAssignee: Ihno Krumreich <ihno>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Diff of a "hwinfo --mouse --log x": before and after the USB mouse was plugged in

Description Tobias Burnus 2005-10-19 14:29:38 UTC
If I plug in my USB mouse which mouse wheel, hwinfo says
  +    Buttons: 3
  +    Wheels: 1
I'd expect that the mouse wheel works. It does not.

Next comes the diff of   hwinfo --mouse --log x  before and after I plugged in
the mouse.
This is on a IBM Thinkpad R50, which has a touchpad and a this "mouse stick"
between g-h-b.

hwinfo --mouse --short:
mouse:
  /dev/input/mice      Microsoft Notebook/Mobile Optical Mouse 2.0
  /dev/input/mice      SynPS/2 Synaptics TouchPad
  /dev/input/mice      PS/2 Generic Mouse
Comment 1 Tobias Burnus 2005-10-19 14:30:36 UTC
Created attachment 54784 [details]
Diff of a "hwinfo --mouse --log x": before and after the USB mouse was plugged in
Comment 2 Marcus Schaefer 2005-10-21 08:48:45 UTC
The problem here is the following:

you have two mice the first one is a standard PS/2 mouse which has no
wheel. The configuration for it will not activate one of course. The
second device is a synaptics touchpad which is configured using the
synaptics driver and is only responsible for this device and no one else.

Now you plug in a mouse with a wheel which is handled by the kernel using
the same device. 2 mice both reporting to /dev/input/mice. Ok the X
configuration provides such a section but the original device which was
detected as a PS/2 Generic Mouse and has no wheel. That's why your wheel
is not working out of the box. You have two possibilities:

   1) run sax activate the Wheel and save the config
   2) plug in all mice you plan to use call sax2 -r configure X and save

The X server does not handle events from the kernel if the user plugs in
a new mouse therefore this new scenario can only be detected in a new
configuration run
Comment 3 Tobias Burnus 2005-11-02 15:43:57 UTC
Hmm, this works for me. Though still it would be nice, if the X server could automatically use the wheel in such an case (which is probably not so uncommon for notebook users).
Comment 4 Ihno Krumreich 2005-11-10 01:52:51 UTC
set to fixed due to comment 2