Mouse orientation problem with kdrive server on Zaurus



I have a Zaurus 3100 palmtop running titchy debian-arm (upgraded to lenny). It has a touchscreen, but I also want to be able to use a mouse. I managed to get it to listen to the mouse, but....

Moving the mouse horizontally moves the pointer vertically, and conversely. I can use the mouse if I rotate it 90-degrees to the left of normal, but then pushing buttons requires a bit of dexterity.

The problem comes from the fact that the server is called with 480x640 geometry rotated 270 degrees. It's the kdrive server (from DSL, I think), Xfbdev. The machine is a very small clamshell design, with a landscape screen. But I suspect that the hardware was originally intended to be portrait rather than landscape. If I remove the rotation, then the mouse movements make sense with respect to the screen, but of course the display is sideways.

I tried removing the rotation then using xrandr to rotate back, but the effect was the same. You'd think that xrander would rotate both, wouldn't you?

I can't adjust the xserver config file, since this server apparently does not read any such file. Are there any utils or tricks that might work? Using another server is pretty much out of the question on such a small machine.

--

David L. Johnson

I believe that the motion picture is destined to revolutionize our
educational system and that in a few years it will supplant largely,
if not entirely, the use of textbooks
-- Thomas Edison, 1922
.