This is the config that used to work with XFree 4.2.1 Section "InputDevice" Identifier "Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/gpmdata" Option "Protocol" "ps2" Option "Emulate3Buttons" "true" EndSection This now hangs X at startup with both the nvidia and the nv drivers. Reproducible: Always Steps to Reproduce: 1. startx 2. 3. Actual Results: blank screen with the nv driver and the nvidia logo with the nvidia driver was stuck on the screen.
Try a different kernel.
Ok. I'll wait for the next stable kernel... I rarely use the console anymore.
Sorry, what I meant, was that if you are using gentoo-sources, or any other patched kernel, please try a vanilla version. What you running btw ? Also include output of 'emerge info' please.
I am running vanilla allready. Here is the output you asked for: Portage 2.0.46-r11 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow cups libg++ mikmod mpeg qtmt quicktime gdbm berkdb tetex svga tcltk guile libwww perl python qt -arts alsa apm atlas avi bonobo cdr crypt dga dvd encode esd evo fbcon gif gnome gphoto2 gpm gtk -gtk2 gtkhtml imlib java jpeg -kde -maildir mbox mmx motif mozilla ncurses nls oggvorbis opengl oss pam pda png pdflib postgres readline samba sdl slang spell sse ssl tcpd tiff truetype X xml xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CXXFLAGS="-march=pentium4 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Just a question, why do you have 3dnow in your use flags? :)
Also try to remerge gpm with -march=pentium3.
alexander is this an issue with xfree-4.3.0-r2 as well?
There is a new gpm ebuild that is masked in portage.. could you please test that and see how X does? gpm-1.20.1.ebuild naz
Alexander?
I'm now running: * x11-base/xfree Latest version available: 4.3.0-r3 Latest version installed: 4.3.0-r3 Size of downloaded files: 70,989 kB Homepage: http://www.xfree.org Description: Xfree86: famous and free X server * sys-libs/gpm Latest version available: 1.20.1 Latest version installed: 1.20.1 Size of downloaded files: 558 kB Homepage: ftp://arcana.linux.it/pub/gpm/ Description: Console-based mouse driver With this configuration: deepthink@dtk:~ :cat /etc/conf.d/gpm MOUSE=imps2 MOUSEDEV=/dev/mouse REPEAT_TYPE=ps2 (I have also tired raw) APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\"" :cat /etc/X11/XF86Config-4 Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/gpmdata" Option "ZAxisMapping" "4 5" Option "Buttons 5" EndSection X will freeze for up to ten seconds everytime I move the mouse. I haven't used gpm in a while that's why I haven't answered earlier. Sorry about that.
Question why use /dev/gpmdata and not /dev/psaux?
I thougt that both the console mousedriver (read gpm) and X couldn't use the same device at once. That's why gpmdata was created to solve that problem. Gpm uses /dev/mouse -> /dev/psaux and simply repeats the data to /dev/gpmdata. Correct me if I'm wrong.
Alexander, you are quite right. My first thinking would be that the Protocol might be the problem (as it normally is with gpm and X). Could you try the following? - Set gpm's Reapeat Type to imps2 (you seem to use an imps2 device but only use ps2 as the protocol) - Set the Protocol Option in the XFR86Config-4 to something other than auto. If all that fails, look into your X log file (/var/log/XFree86.0.log) for any mouse related messages. May be you could post the whole log here or only the mouse extracts. GPM might also tell you something in your syslog (depending on the logger and config you use, it might also be in /var/log/messages or somewhere completely different :) You could also: Stop gpm Start gpm manually with the -D option (see man gpm) Switch to X, startx, whatever and move the mouse around Switch back to a console by pressing CTRL-ALT-BCKSP (kills X), CTRL-Fn, shutting X down gracefully or whatever you prefer Then have a look at the gpm output. Anything that looks strange? If all this fails, then I will try to reproduce your set-up on one of my machines. One last question, you are talking about a config that has worked. What exactly changed? You are only using a different graphic card? Did you try the standard VGA driver (though this should have _nothing_ to do with the mouse ;)?
Still an issue?
To tell the truth I'm not sure. I stopped using gpm when I filed this bug.
Could you please test this for us again... I asked a few people on irc and they said it was working for them so you might find the bugs been fixed with the latest versions...
Prod, Alexander??? Any futher problems etc..?
Can we close this bug as we have no futher complaints or information???
Yes that's fine with me. Sorry for not replying earlier but I haven't used gpm in a while I was planning to merge it to try it out but haven't found the time.
closing as requested