Mouse drivers

Does anyone have information on writing mouse drivers for the PPC and
SPARC architectures? The frame buffer console support under Linux works
great, but there’s no mouse input for those architectures.

Any information or patches would be appreciated.

Thanks!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

/dev/adbmouse works fine for me with gpm and X. I think it shows as the
’busmouse’ mouse protocol, but I forget. (my PPC is in my cupboard acting as
a router :)On Tue, Nov 23, 1999 at 12:36:29PM -0800, Sam Lantinga wrote:

Does anyone have information on writing mouse drivers for the PPC and
SPARC architectures? The frame buffer console support under Linux works
great, but there’s no mouse input for those architectures.

Any information or patches would be appreciated.


– Michael Samuel <@Michael_Samuel>

Great!
The mouse now works using the fbcon driver under Linux/PPC, but the
visible window is shifted left two inches and wraps around to the
other side of the screen. The X server runs properly. If anyone
has any ideas offhand, that would be great. Otherwise it will have
to wait.

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software> On Tue, Nov 23, 1999 at 12:36:29PM -0800, Sam Lantinga wrote:

Does anyone have information on writing mouse drivers for the PPC and
SPARC architectures? The frame buffer console support under Linux works
great, but there’s no mouse input for those architectures.

Any information or patches would be appreciated.

/dev/adbmouse works fine for me with gpm and X. I think it shows as the
’busmouse’ mouse protocol, but I forget. (my PPC is in my cupboard acting as
a router :slight_smile:


“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

Great!
The mouse now works using the fbcon driver under Linux/PPC, but the
visible window is shifted left two inches and wraps around to the
other side of the screen. The X server runs properly. If anyone
has any ideas offhand, that would be great. Otherwise it will have
to wait.

From a quick look at SDL_fbvideo.c it seems that you don’t take in
account
the virtual res and the offset of the fb, i am not sure if thats the
case
here but a bigger virtual res is often used in the yaxis to speed up the
console.

Kostas Gewrgiou>

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec