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

Re: Mouse freezes after X logout - why?



On Son, 2002-11-24 at 21:22, Kent West wrote:
> >
> >On Fri, Nov 22, 2002 at 06:23:34PM -0600, Kent West wrote:
> >
> >>>On Fre, 2002-11-22 at 21:10, William Crowshaw wrote:
> >>>
> >>>>Just upgraded to woody (PowerMac 7500 using kernel
> >>>>2.2.20). Every time -- and I mean every time -- I
> >>>>logout of an X session (regardless of which wm I'm
> >>>>using) and am thrown back to gdm, my mouse freezes up.
> >>>>The keyboard works, but I loose the mouse entirely in
> >>>>gdm and when I log back in.  I have to
> >>>>/etc/init.d/./gdm stop and start again to get my mouse
> >>>>back.
> >>>
> >>What does your "/etc/gpm.conf" file and the mouse section of your 
> >>"/etc/X11/XF86Config-4" file look like?
> 
> W. Crowshaw wrote:
> 
> My gpm.conf file looks like this
> 
> #  /etc/gpm.conf - configuration file for gpm(1)
> device=/dev/input/mice
> responsiveness=
> repeat_type=ms3
> type=ps2
> append=""
> 
> And the Mouse section of my XF86Config-4 looks like
> this:
> 
> Section "InputDevice"
> 	Identifier	"Generic Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"	
> 	Option		"SendCoreEvents"	"true"
> 	Option		"Device"		"/dev/input/mice"
> 	Option		"Protocol"		"ImPS/2"
> 	Option		"Emulate3Buttons"	"true"
> 	Option		"ZAxisMapping"		"4 5"
> EndSection
> 
> 
> If you're going to use both gpm and X, as a general rule you'll want 
> gpm's repeat type to be "raw" rather than "ms3", and you'll want 
> XF86Config-4's "Device=" line set to "/dev/gpmdata".
> 
> Basically you have two mouse drivers fighting over the same data; by 
> configuring gpm to read the data and then repeat it just as it's read 
> (raw), and then configuring X to read gpm's repeated data instead of the 
> "normal" mouse port, the two should start getting along just fine.

That's only a problem with devices like /dev/psaux. Any number of apps
can use /dev/input/mice concurrently without a problem.

I wonder why gpm is set up to repeat at all and if removing the
redundant options like SendCoreEvents and Emulate3Buttons from the X
config makes a difference.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Reply to: