[gpm]Re: two bugs in gpm

Nico Schottelius nicos@pcsystems.de
Mon, 01 Oct 2001 15:50:42 +0200


I added those two bugs to the new BUGS file.

If anybody has good ideas, make a patch, submit it and I will

include it.



> Hi! Glad to see someone's maintaining GPM again. There are a few bugs
> I've been having to locally patch in it for a long time now, and I'm
> hoping you might be able to fix them in the official release.

Where's the patch you talked about ?

> One is the way the baud rate setting is done. It worked fine in old
> versions of gpm, but the special case for mman in the baud rate
> setting code now actually *breaks* support for my Logitech MoiseMan
> (the version with 4 buttons). Could you provide an way to initialize
> it to 9600 baud just like all the other mice, without using the
> special mman code that doesn't work for this mouse?

For now I have to pass this question to Alessandro.

> The second bug, which probably affects more people, is that gpm fails
> to detect increases in the console size, e.g. if resizecons is run or
> if the console size changes as a result of fbcon mode switching. When
> this happens, the mouse cursor becomes stuck in the smaller old screen
> region. The way I normally fix this problem is just to make gpm
> re-check the console size on every mouse motion event, but there
> should be a better way...

Could you provide the code you used ?

Nico