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

Bug#345704: marked as done (xbase-clients: [xmodmap] Mouse buttons not well recognized)



Your message dated Mon, 09 Apr 2007 17:30:05 +0200
with message-id <461A5BFD.6050803@ens-lyon.org>
and subject line Bug#345704: xbase-clients: [xmodmap] Mouse buttons not well recognized
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xbase-clients
Version: 6.9.0.dfsg.1-1
Severity: important

This bug seems to be reported to the freedesktop team:
https://bugs.freedesktop.org/show_bug.cgi?id=4212

Here the problem, I have a 7 buttons mouse (MS intellieye optical). In
previous versions of the package (6.8.2.dfsg.1-10) I only had to remap
buttons 6 7 to 4 and 5 with xmodmap.

Here is my xorg.conf:
Section "InputDevice"
    Identifier     "Configured Mouse"
        Driver         "mouse"
	Option         "CorePointer"
	Option         "Device" "/dev/input/mice"
	Option         "Protocol" "ExplorerPS/2"
	Option         "Emulate3Buttons" "False"
	Option         "Buttons" "7"
	Option         "ZAxisMapping" "6 7"
EndSection

xmodmap conf:
pointer = 1 2 3 6 7 4 5

xmodmap now outputs an error.
xmodmap:  commandline:1:  bad number of buttons, must have 11 instead of
7

xmodmap -pp confirms that:
There are 11 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
	2              2
	3              3
	4              4
	5              5
	6              6
	7              7
	8              8
	9              9
	10             10
	11             11

xmodmap says me that I've got 11 buttons on my mouse. Strange. I tried
to collect more informations using xev.
xev gave me something to play with, buttons 1, 2, 3, 6 and 7 are rightly
recognized. As before, 6 and 7 need to be remaped to 4 and 5.

But, button 4 (in the previous version) is now recognized as button 10 !
Button 5 is simply not recognized. 4 and 5 are my left and right special
buttons. 6 and 7 the wheel.

I tried to define Option "Buttons" "11" in xorg.conf and play around
with it, but this time xmodmap says me that I've got 16 buttons ! 
I can notice that the button 5 is this time recognized as button 12.

I tried to remap thoses crazy buttons with xmodmap and the help of xev,
but without any success.

As pasted at the top of this report, this bug seems to be known on the
freedesktop bug interface. A guy apparently made a workaround hack to
correct this.

Can you check this ?

Alexandre Ahmim-Richard



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-ck10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xbase-clients depends on:
ii  cpp                       4:4.0.2-2      The GNU C preprocessor (cpp)
ii  libc6                     2.3.5-9        GNU C Library: Shared libraries an
ii  libdmx1                   6.9.0.dfsg.1-1 Distributed Multihead X client lib
ii  libexpat1                 1.95.8-3       XML parsing C library - runtime li
ii  libfontconfig1            2.3.2-1.1      generic font configuration library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libfs6                    6.9.0.dfsg.1-1 X Font Server library
ii  libgl1-mesa-dri [libgl1]  6.3.2-2        A free implementation of the OpenG
ii  libglu1-mesa [libglu1]    6.3.2-2        The OpenGL utility library (GLU)
ii  libice6                   6.9.0.dfsg.1-1 Inter-Client Exchange library
ii  libncurses5               5.5-1          Shared libraries for terminal hand
ii  libpng12-0                1.2.8rel-5     PNG library - runtime
ii  libsm6                    6.9.0.dfsg.1-1 X Window System Session Management
ii  libxau6                   6.9.0.dfsg.1-1 X Authentication library
ii  libxaw8                   6.9.0.dfsg.1-1 X Athena widget set library
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-1 X Window System miscellaneous exte
ii  libxfixes3                6.9.0.dfsg.1-1 X Window System miscellaneous 'fix
ii  libxft2                   2.1.7-1        FreeType-based font drawing librar
ii  libxi6                    6.9.0.dfsg.1-1 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-1 X Window System multi-head display
ii  libxkbfile1               6.9.0.dfsg.1-1 X Keyboard Extension file parsing 
ii  libxkbui1                 6.9.0.dfsg.1-1 X Keyboard Extension user interfac
ii  libxmu6                   6.9.0.dfsg.1-1 X Window System miscellaneous util
ii  libxmuu1                  6.9.0.dfsg.1-1 lightweight X Window System miscel
ii  libxp6                    6.9.0.dfsg.1-1 X Window System printing extension
ii  libxpm4                   6.9.0.dfsg.1-1 X pixmap library
ii  libxrandr2                6.9.0.dfsg.1-1 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  libxss1                   6.9.0.dfsg.1-1 X Screen Saver client-side library
ii  libxt6                    6.9.0.dfsg.1-1 X Toolkit Intrinsics
ii  libxtrap6                 6.9.0.dfsg.1-1 X Window System protocol-trapping 
ii  libxtst6                  6.9.0.dfsg.1-1 X Window System event recording an
ii  libxv1                    6.9.0.dfsg.1-1 X Window System video extension li
ii  libxxf86dga1              6.9.0.dfsg.1-1 X Direct Graphics Access extension
ii  libxxf86misc1             6.9.0.dfsg.1-1 X miscellaneous extensions library
ii  libxxf86vm1               6.9.0.dfsg.1-1 X Video Mode selection library
ii  xlibs                     6.9.0.dfsg.1-1 X Window System client libraries m
ii  xlibs-data                6.9.0.dfsg.1-1 X Window System client data
ii  zlib1g                    1:1.2.3-9      compression library - runtime

xbase-clients recommends no packages.

-- debconf-show failed
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Tue Nov 22 18:04:42 PST 2005

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
### END DEBCONF SECTION

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

			# local font server
	# if the local font server has problems, we can fall back on these
    FontPath        "unix/:7100"
    FontPath        "/usr/lib/X11/fonts/Type1"
    FontPath        "/usr/lib/X11/fonts/CID"
    FontPath        "/usr/lib/X11/fonts/Speedo"
    FontPath        "/usr/lib/X11/fonts/misc"
    FontPath        "/usr/lib/X11/fonts/cyrillic"
    FontPath        "/usr/lib/X11/fonts/100dpi"
    FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "dbe"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "record"
    Load           "speedo"
    Load           "type1"
    Load           "vbe"
	#Load	"Xrender"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xfree86"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
#    Option	   "Protocol"		"ImPS/2"
    Option         "Emulate3Buttons" "False"
    Option         "Buttons" "7"
    Option         "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 65.0
    VertRefresh     60.0 - 75.0
    Option         "DPMS"
	#ModeLine "768x576" 37.84 768 800 960 1024 576 578 590 616 #60Hz
EndSection

Section "Device"

	#Driver		"nv"
#	Option          "Coolbits"              "1"
#	Option          "OpenGLOverlay"         "off"
#	Option          "VideoOverlay"          "on"
#	Option          "NoDCC"
    Identifier     "GeForce2 MX/MX 400"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "GeForce2 MX/MX 400"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "backingstore" "true"
    Option         "NvAGP" "2"
    Option         "RenderAccel" "False"
    Option         "AGPMode" "4"
    Option         "AllowGLXWithComposite" "True"
    Option	   "FlatPanelProperties" "Scaling = default, Dithering = enabled"
    SubSection     "Display"
        Depth       1
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
    Option         "RENDER" "Enable"
EndSection


--- End Message ---
--- Begin Message ---
Alexandre Ahmim-Richard wrote:
>> About a year ago, you reported a bug to the Debian BTS regarding your
>> mouse button not being well recognized. The upstream bug that you said
>> could be relevant has been fixed since then. So, did you reproduce this
>> problem recently? With Xorg/Etch? If not, I will close this bug in the
>> next weeks.
>>
>
> You can close this bug. The workaround has been integrated in the Xorg
> upstream for a while.

Ok, closing then, thank you.

Brice


--- End Message ---

Reply to: