Help - Search - Members - Calendar
Full Version: Mouse Directions Rotated (xfbdev)
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 Hardware
dlj0
I'm currently using titchy linux, which provides a kernerl (2.6.20), some utilities including the Xfbdev kdriver Xserver, and then I installed debian-arm (now testing, originally etch) on top of it. I have a borzoi (Zaurus 3100).

The X server is started with
exec /opt/kdrive/Xfbdev -screen 480x640@270 "$@"
because without the rotation it starts in portrait mode. But, I want to connect a mouse to it, to make it a bit easier to use as my only computer while I am on sabbatical next semester. The mouse works, but ignores the screen rotation, whether I set it like the above, or change the orientation to 0 and rotate with xrandr. I can only use the mouse naturally by holding it rotated 90 degrees, which of course makes it awkward to push the buttons.

I imagine someone using Angstrom with the e17 window manager would have the same problem, since for that we have to rotate the screen as well.

Does anyone know of a way to re-map the pointer axes? xsetpointer seems to do nothing, xmodmap doesn't have such a setting. I saw one commercial program, but it of course is not available for arm.

It might make life easier if the kdrive server used a config file (such configuration seems possible in xorg). I don't know whether trying to use the xorg server would be worth it, since I imagine that takes up a lot more resources. I even took the mouse apart to see if I could swap the wires around, but that would not be easy, and I don't know which goes where.

Any hints?

BTW, if anyone wants to know more about Titchy linux and how it works on my Z, I'll be glad to expound. I am just pleased as punch with it, mostly because it has all the apps I want/need, and by gum they all work. I'd like to see it done in armel rather than arm, but I could not get the suggested hack by Locutus to get debian armel up and running to work.
Meanie
QUOTE(dlj0 @ Sep 17 2007, 07:07 AM)
I'm currently using titchy linux, which provides a kernerl (2.6.20), some utilities including the Xfbdev kdriver Xserver, and then I installed debian-arm (now testing, originally etch) on top of it.  I have a borzoi (Zaurus 3100).

The X server is started with
exec /opt/kdrive/Xfbdev -screen 480x640@270 "$@"
because without the rotation it starts in portrait mode.  But, I want to connect a mouse to it, to make it a bit easier to use as my only computer while I am on sabbatical next semester.  The mouse works, but ignores the screen rotation, whether I set it like the above, or change the orientation to 0 and rotate with xrandr.  I can only use the mouse naturally by holding it rotated 90 degrees, which of course makes it awkward to push the buttons. 

I imagine someone using Angstrom with the e17 window manager would have the same problem, since for that we have to rotate the screen as well.

Does anyone know of a way to re-map the pointer axes?  xsetpointer seems to do nothing, xmodmap doesn't have such a setting.  I saw one commercial program, but it of course is not available for arm.

It might make life easier if the kdrive server used a config file (such configuration seems possible in xorg).  I don't know whether trying to use the xorg server would be worth it, since I imagine that takes up a lot more resources.  I even took the mouse apart to see if I could swap the wires around, but that would not be easy, and I don't know which goes where.

Any hints?

BTW, if anyone wants to know more about Titchy linux and how it works on my Z, I'll be glad to expound.  I am just pleased as punch with it, mostly because it has all the apps I want/need, and by gum they all work.  I'd like to see it done in armel rather than arm, but I could not get the suggested hack by Locutus to get debian armel up and running to work.
*


i would say either the kernel needs a patch or the X server needs to be enhanced to allow for mouse pointer adjustments when rotated...
InSearchOf
It seems as if the mousedev in the kernel was configured correctly for 640x480 portrait....

When building the kernel flip flop the X and Y axis

Late
utx
QUOTE(InSearchOf @ Sep 17 2007, 02:34 AM)
When building the kernel flip flop the X and Y axis
*


Probably not. Touchscreen evdev returns coordinates in landscape coordinate system for me (Angstrom). Maybe another consequence of OE bug server returns inconsistent RandR on spitz/akita.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.