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

Bug#233933: X server 4.3 stalls for a few seconds when switching from console back to X



On Sat, Feb 21, 2004 at 02:24:35PM +0100, Raphael Zimmerer wrote:
<snip>
> I tried to track down the problem. I found out that XFree86 spends
> lots of time in ps2Reset() at /hw/xfree86/input/mouse/pnp.c.
> 
> My pointer-device was configured to take data from gpm:
> 
> Section "InputDevice" Identifier "Configured Mouse"
>     Driver "mouse" 
>     Option "CorePointer" 
>     Option "Device" "/dev/gpmdata"
>     Option "Protocol"        "PS/2"

I have said it MANY times, and I will say it again.

There is exactly ONE protocol which it is valid to talk to gpm over
/dev/gpmdata with, and that protocol is NOT PS/2.

No matter how much people scream and yell about how it works fine, this
is a perfect example of why trying to use a bi-directional protocol over
a fifo DOES NOT WORK.

The protocol you need to use is the one gpm calls ms3, X calls it
IntelliMouse, which is the serial version of the IMPS/2 protocol,
however it is NOT bi-directional, it has 3 buttons, a wheel, and it is
safe to use over the fifo.
</rant>

-- 
	1024D/E65A7801 Zephaniah E. Hull <warp@babylon.d2dc.net>
	   92ED 94E4 B1E6 3624 226D  5727 4453 008B E65A 7801
	    CCs of replies from mailing lists are requested.

If books were designed by Microsoft, the Anarchist's Cookbook would
explode when you read it.
  -- Mark W. Schumann in the Scary Devil Monastery.

Attachment: signature.asc
Description: Digital signature


Reply to: