[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mouse wheel issue on current Ubuntu and Debian releases



On Ubuntu Maverick 32-bit, Ubuntu Natty 64-bit and Debian Squeeze 64-bit
the mouse wheel doesn't work. It's ok for older Ubuntu and Debian
installs, but those aren't installed any more, just old openSUSE 11.2
64-bit still is on my computer and there the mouse wheel still and
always is ok.
Sometimes the mouse wheel randomly works for those Ubuntus and the
Debian install, but this happens very seldom.

It's not related to the usage of a xorg.conf, this happens with or
without a xorg.conf, at least I tested this for Debian.

For Ubuntu Natty and Debian stable I tried this (see
http://www.larsen-b.com/Article/341.html ).

# apt-get update
# apt-get install xserver-xorg-input-kbd xserver-xorg-input-mouse

And to /etc/X11/xorg.conf I added

Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "AllowEmptyInput" "False"
EndSection

but this didn't change anything.

Then I removed the xorg.conf from Debian stable, to ensure that it's not
xorg.conf related, but the issue didn't disappear.

On Ubuntu Natty I edited ..................................

$ cat /etc/hal/fdi/policy/*.fdi
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<!-- 
  Some examples how to use hal fdi files for system preferences 
  You can either uncomment the examples here or put them in a
seperate .fdi
  file.
-->
<deviceinfo version="0.2">
<!-- 
  The following shows how to hint gnome-volume-manager and other
programs 
  that honor the storage.automount_enabled_hint to not mount
non-removable
  media.
-->
<!--
  <device>
    <match key="storage.hotpluggable" bool="false">
      <match key="storage.removable" bool="false">
        <merge key="storage.automount_enabled_hint"
type="bool">false</merge>
      </match>
    </match>
  </device>
-->
</deviceinfo>

.............................. to .......................

$ cat /etc/hal/fdi/policy/*.fdi
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<!-- 
  Some examples how to use hal fdi files for system preferences 
  You can either uncomment the examples here or put them in a
seperate .fdi
  file.
-->
<deviceinfo version="0.2">
<!-- 
  The following shows how to hint gnome-volume-manager and other
programs 
  that honor the storage.automount_enabled_hint to not mount
non-removable
  media.
-->
<!--
  <device>
    <match key="storage.hotpluggable" bool="false">
      <match key="storage.removable" bool="false">
        <merge key="storage.automount_enabled_hint"
type="bool">false</merge>
      </match>
    </match>
  </device>
-->
</deviceinfo>

<device>
    <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_options.Buttons" type="string">5</merge>
      <merge key="input.x11_options.Emulate3Buttons"
type="string">on</merge>
      <merge key="input.x11_options.EmulateWheel"
type="string">on</merge>
      <merge key="input.x11_options.EmulateWheelButton"
type="string">2</merge>
      <merge key="input.x11_options.XAxisMapping" type="string">6
7</merge>
      <merge key="input.x11_options.YAxisMapping" type="string">4
5</merge>
      <merge key="input.x11_options.ZAxisMapping" type="string">4
5</merge>
    </match>
</device>

.............................. and command out the server flags and any
mouse entry too from xorg.conf.

# apt-get remove xserver-xorg-input-kbd xserver-xorg-input-mouse
[snip]
Removing xserver-xorg-input-all ...
Removing xserver-xorg-input-kbd ...
Removing xserver-xorg-input-vmmouse ...
Removing xserver-xorg-input-mouse ...
Processing triggers for man-db ...

Rebooting Natty for the first time the mouse wheel did work.
Rebooting Natty for the second and any additional time the mouse wheel
didn't work anymore.

For the moment I let this issue rest and try to fix other debianoid
issues on my machine. Again, for older installs of Ubuntu and Debian
there never was such an issue for the mouse wheel. I don't know how it
is for the current Suse release. The Suse release on my machine is ok
for the mouse wheel, but as mentioned before, 11.2 is an outdated
release.

hwinfo (at Natty)
mouse
41: ADB 00.0: 10502 Bus Mouse                                   
  [Created at input.183]
  UDI: /org/freedesktop/Hal/devices/computer_logicaldev_input_1
  Unique ID: kZYT.VdKNesd9pT6
  Hardware Class: mouse
  Model: "Macintosh mouse button emulation"
  Vendor: 0x0001 
  Device: 0x0001 "Macintosh mouse button emulation"
  Compatible to: int 0x0210 0x0003
  Device File: /dev/input/mice (/dev/input/mouse0)
  Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event2
  Device Number: char 13:63 (char 13:32)
  Driver Info #0:
    Buttons: 3
    Wheels: 0
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown

43: PS/2 00.0: 10500 PS/2 Mouse
  [Created at input.183]

UDI: /org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input
  Unique ID: AH6Q.U5GX9Ignjc0
  Hardware Class: mouse
  Model: "PS/2 Generic Mouse"
  Vendor: 0x0002 
  Device: 0x0001 "PS/2 Generic Mouse"
  Compatible to: int 0x0210 0x0003
  Device File: /dev/input/mice (/dev/input/mouse1)
  Device
Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event4, /dev/input/by-path/platform-i8042-serio-1-event-mouse, /dev/input/by-path/platform-i8042-serio-1-mouse
  Device Number: char 13:63 (char 13:33)
  Driver Info #0:
    Buttons: 3
    Wheels: 0
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown

BUS MOUSE??????????????????????????????????????

mobo
ASUS M2A-VM HDMI
cpu
Model: 15.107.2 "AMD Athlon(tm) X2 Dual Core Processor BE-2350"
Clock: 2100 MHz
memory
Memory Size: 3 GB + 768 MB ? should be 4 GB
sound
Model: "Xilinx RME Hammerfall DSP MADI" new, untested, it's a HDSPe AIO
Model: "TERRATEC EWX 24/96" old cards
Model: "TERRATEC EWX 24/96"
gfxcard
Model: "nVidia GeForce 7300 SE" Resp. it's a 7200 GS
disc
Model: "SAMSUNG HD321KJ"
Model: "SAMSUNG HD502HJ"






Reply to: