OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Mouse Directions Rotated (xfbdev), mouse directions wromg
dlj0
post Sep 16 2007, 01:07 PM
Post #1





Group: Members
Posts: 219
Joined: 3-March 06
Member No.: 9,282



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.
Go to the top of the page
 
+Quote Post
Meanie
post Sep 16 2007, 04:18 PM
Post #2





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



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...
Go to the top of the page
 
+Quote Post
InSearchOf
post Sep 16 2007, 04:34 PM
Post #3





Group: Admin
Posts: 1,210
Joined: 20-January 06
From: York, Pennsylvania
Member No.: 8,961



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
Go to the top of the page
 
+Quote Post
utx
post Sep 17 2007, 02:16 PM
Post #4





Group: Members
Posts: 135
Joined: 27-June 05
From: Prague, Czech Republic, Europe
Member No.: 7,468



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th November 2014 - 12:05 AM