Hi, attached to this mail are two modified drivers I expect somebody can test:
mouse/lnxinput.c It handles /dev/psaux directly, so it works with the linuxfb driver and even with the svgalib driver (indeed it works better for me than the svgalib mouse driver). The problem: only PS/2 mouses are handled.
vdrivers/vd_lnxfb.c It puts the console in graphics or text mode as required, so the text cursor disappear and the mouse driver doesn't collide with GPM.
I will be happy if somebody can test:
- a PS/2 Intellimouse, if the driver doesn't work with it, the tt.c test program can helps to understand the mouse protocol.
- a USB mouse, the linux USB mouse driver has a PS/2 compatible device driver, so opening /dev/input/mice instead /dev/psaux in lnxinput.c must work.
Problems:
- sometimes at the begining the mouse works badly, exiting the program and reruning it and the problem disappear.
- when exit from a grx program the text console doesn't restart well, issuing a simple "ll" command and all is ok.
Greetings, M.Alvarez