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

Re: Issues with mouse and a suggested fix



On Sun, Aug 26, 2001 at 01:54:34AM +0200, Claes Andersson wrote:
> Hello,
> 
> X, gpm and wheel mouse is not a combination that works well together by 
> default in Debian. At least not when I installed it. This was the first 
> serious issue I had to deal with, and by looking at the debian-user archive 
> I can see that I am not alone.
> 
> I struggled with this for a while and the solution for me was to change 
> gpm.conf to  look like this:

The proper config is this:
> 
> type=imps2
> device=/dev/psaux
repeat_type=ms3
> responsiveness=
> append=""
> 
> while at the same time making the relevant section in XF86Config-4 to look 
> like this:
> 
>    Protocol    "IntelliMouse"
>    Device      "/dev/gpmdata"
> # For wheel mice
>    ZAxisMapping 4 5
>    Buttons 5
> 
> The important part seems to be to set repeat type to raw in gpm. This way I 
> get the mouse to work both in console mode and in X, including the mouse 
> wheel.
> 
> The protocol must of course be different between different mouses and the 
> gpm device will also have to change if the mouse is serial for example. 
> Apart from that, do you think that this is a sensible setting to have as 
> default? That is, gpm  repeats "raw" to /dev/gpmdata? Also, will having 
> ZAxisMappings hurt a non-wheel mouse?

The proper repeat type is ms3, with X reading in the IntelliMouse
protocol, this should work in all cases.
> 
> In that case, I found that gpm has different defaults than this in the
> version of gpm I have (1.19.3), so I can file something on that.
> However, I could not find out where XF86Config is created and what
> defaults it has. Can anyone help?

The X maintainer has been historicly unhelpful in trying to get the
default sane for the X and gpm case.

Zephaniah E. Hull.
> 
> Claes
> 
> _________________________________________________________________
> H?mta MSN Explorer kostnadsfritt p? http://explorer.msn.se
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-x-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 

-- 
	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.

Don't Snoop...
...the government hates competition.

If the government wants us to respect the law, it should set a better
example.
 --  Steve B (steveb@NoPinkStuff.Radix.Net) on /.

Attachment: pgpcmf5P5BRRu.pgp
Description: PGP signature


Reply to: