Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124943 - x11-drivers/xf86-input-mouse-1.0.4 weird behaviour of middle button click
Summary: x11-drivers/xf86-input-mouse-1.0.4 weird behaviour of middle button click
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 05:54 UTC by Marcel Lilienthal
Modified: 2006-03-04 18:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Lilienthal 2006-03-04 05:54:41 UTC
under new modular X my usbmouse and my trackpoint behave weird, when switching from X to console and back. 
when i start X the middle button of both devices produce normal double-click events. when i switch to console and back to X, they produce double-click event twice. this happens even when i disable the trackpoint.
after restarting X the behaviour is normal again.

this is a problem, because i have to switch to console to suspend to ram and back to X when resuming. but it seems not to be a suspend2 problem, because the weird behaviour is even there when switching to console and back to X without suspending.


--parts of my xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option "BlankTime" "0"
        Option "StandbyTime" "0"
        Option "SuspendTime" "0"
        Option "OffTime" "5"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/input/mice"
        Option      "EmulateWheel" "on"
        Option      "EmulateWheelButton" "2"
        Option      "ZAxisMapping" "4 5"
#        Option      "XAxisMapping" "6 7"
#        Option      "Emulate3Buttons" "off"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
#        Option      "Emulate3Buttons" "off"
EndSection






--diff of Xorg.0.log before and after switching to console and back
(WW) I810(0): Successfully set original devices
> (II) I810(0): xf86UnbindGARTMemory: unbind key 7
> (II) I810(0): xf86UnbindGARTMemory: unbind key 0
> (II) I810(0): xf86UnbindGARTMemory: unbind key 1
> (II) I810(0): xf86UnbindGARTMemory: unbind key 3
> (II) I810(0): xf86UnbindGARTMemory: unbind key 2
> (II) I810(0): xf86UnbindGARTMemory: unbind key 4
> (II) I810(0): xf86UnbindGARTMemory: unbind key 5
> (II) I810(0): xf86UnbindGARTMemory: unbind key 6
> (WW) I810(0): Successfully set original devices (2)
> (II) I810(0): xf86BindGARTMemory: bind key 7 at 0x007df000 (pgoffset 2015)
> (II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767)
> (II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffb000 (pgoffset 32763)
> (II) I810(0): xf86BindGARTMemory: bind key 3 at 0x07fea000 (pgoffset 32746)
> (II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07ffa000 (pgoffset 32762)
> (II) I810(0): xf86BindGARTMemory: bind key 4 at 0x07c00000 (pgoffset 31744)
> (II) I810(0): xf86BindGARTMemory: bind key 5 at 0x07a00000 (pgoffset 31232)
> (II) I810(0): xf86BindGARTMemory: bind key 6 at 0x079f8000 (pgoffset 31224)
> (II) Loading sub module "ddc"
> (II) LoadModule: "ddc"
> (II) Reloading /usr/lib/xorg/modules/libddc.so
> (II) I810(0): VESA VBE DDC supported
> (II) I810(0): VESA VBE DDC Level none
> (II) I810(0): VESA VBE DDC transfer in appr. 0 sec.
> (II) I810(0): VESA VBE DDC read failed
> (II) I810(0): Display plane A is disabled and connected to Pipe A.
> (II) I810(0): Display plane B is enabled and connected to Pipe B.
> (II) I810(0): Enabling plane B.
> (II) I810(0): Display plane A is now disabled and connected to Pipe A.
> (II) I810(0): Display plane B is now enabled and connected to Pipe B.
> (II) I810(0): PIPEACONF is 0x80000000
> (II) I810(0): PIPEBCONF is 0x80000000
> (II) I810(0): Mode bandwidth is 47 Mpixel/s
> (II) I810(0): maxBandwidth is 1152 Mbyte/s, pipe bandwidths are 126 Mbyte/s, 0 Mbyte/s
> (II) I810(0): [drm] dma control initialized, using IRQ 11
> (II) Mouse1: ps2EnableDataReporting: succeeded
> (II) Mouse0: ps2EnableDataReporting: succeeded





--emerge --info
Portage 2.1_pre5-r3 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-suspend2-r8 i686)
=================================================================
System uname: 2.6.15-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/"
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 audiofile avi berkdb bitmap-fonts bluetooth bonobo bzip2 cairo cdda cddb cdparanoia cdr crypt cscope cups dbus dga directfb divx4linux doc dri dvd dvdr dvdread eds emboss encode ethereal evo f77 faad fame fbcon ffmpeg firefox flac flash foomaticdb fortran freetype gcj gd gdbm ggi ggz gif gimp gimpprint gnome gpm gps graphviz gstreamer gtk gtk2 gtkhtml hal i8x0 icc imagemagick imlib innodb ipv6 irmc jack java jikes joystick jpeg kdeenablefinal lcms leim libg++ libwww lzo mad maildir matroska mbox mikmod mjpeg mmx mng motif mozsvg mp3 mpeg mule musepack mysql nas ncurses network nls nptl nsplugin objc offensive ogg oggvorbis openal opengl oss pdflib perl pic plotutils png ppds python qt quicktime readline real scanner sdl slp sndfile speex spell sse sse2 ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vidix vorbis wmf x86 xine xml xml2 xosd xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_i810 video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-04 12:49:46 UTC
Please file a bug at bugs.freedesktop.org in the xorg product and post the URL
here.

Thanks!
Comment 2 Marcel Lilienthal 2006-03-04 16:51:41 UTC
i filed the bug at bugs.freedesktop.org now...

http://bugs.freedesktop.org/show_bug.cgi?id=6134