Help - Search - Members - Calendar
Full Version: Matchbox And Rotation
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > OpenBSD
ins0mniaque
I am really interested in using OpenBSD on my Zaurus. I've been reading this forum ever since I had my SL-C3000. My main purpose for the unit is using it for C++/C# (especially when Mono 1.2 gets released) programming, MP3 player, wardriving and sometimes like a real PDA (well, more a eBook reader/web browser). I tried OpenBSD a while ago, but audio was not working so I had to return to Cacko. Right now it seems to have everything I need for programming, music and wardriving, but to use it as a PDA, I would like to use Matchbox (especially matchbox-keyboard) and a rotated screen.

I would like to know if any of you got a rotation applet/program/script/whatever (or even better, an automatic one like to original ROM) and got Matchbox compiled from ports.

I'll start installing OpenBSD tonight anyway.


TIA
Sequethin
QUOTE(ins0mniaque @ Sep 29 2005, 10:03 AM)
I would like to know if any of you got a rotation applet/program/script/whatever (or even better, an automatic one like to original ROM) and got Matchbox compiled from ports.

*


Matchbox works great, but I haven't gotten any rotation working yet. As far as "a real PDA", to me that means a GUI PIM, and I'm actually workin on getting ka/pi to run. So far opiemail and the password manager both run, but the address book and organizer both segfault.

Good luck smile.gif

Mike
jpmatrix
i'm back with a rotation question:

some says:
"In this case you can disable the X.Org screen rotation in
/etc/X11/xorg.conf. "

does that mean that screen rotation should be active by default ? because i tried and nothing happens smile.gif
(i'm under Icewm)
ZDevil
What is the command to rotate the screen under obsd? If there is one then I think it is possible to edit ./icewm/menu or ./icewm/toolbar and add the function there.
mathemajikian
QUOTE(ZDevil @ Jun 8 2007, 05:38 PM)
What is the command to rotate the screen under obsd? If there is one then I think it is possible to edit ./icewm/menu or ./icewm/toolbar and add the function there.
*


There's not a command but rather an option in the xorg.conf file. However, for the rotation to take effect X must be restarted. sad.gif
Meanie
QUOTE(mathemajikian @ Jun 21 2007, 06:55 AM)
QUOTE(ZDevil @ Jun 8 2007, 05:38 PM)
What is the command to rotate the screen under obsd? If there is one then I think it is possible to edit ./icewm/menu or ./icewm/toolbar and add the function there.
*


There's not a command but rather an option in the xorg.conf file. However, for the rotation to take effect X must be restarted. sad.gif
*



isn't there an xrandr command?

i have patched icewm to actually have an additional rotate button and option which then calls rotate.sh script which in turn calls other things to ensure correct rotation, etc.. but in essence it calls xrandr

if you are interested, look under the icewm thread on the pdaxrom subforum where i attached patches for icewem..
iamasmith
QUOTE(Meanie @ Jun 21 2007, 12:06 AM)
...
isn't there an xrandr command?

i have patched icewm to actually have an additional rotate button and option which then calls rotate.sh script which in turn calls other things to ensure correct rotation, etc.. but in essence it calls xrandr

if you are interested, look under the icewm thread on the pdaxrom subforum where i attached patches for icewem..
*


xrandr extensions work now? man I wish I still had as much time to play with my Z.

The last time I chatted with Matthieu he mentioned that xrandr rotate extensions were going to go into the driver... do you know if he triggered touch screen rotation with xrandr? The best way that I could find for managing touch screen rotation was with a Kernel patch that rotated the co-ordinates prior to scaling against the calibration parameters - the previous mechanism where x and y co-ordinates were handled by the X touch screen driver meant that the Kernel scaling was making the touch screen inaccurate when rotated.

Here is the proof of concept patch that I wrote at the time..

http://marc.info/?l=openbsd-arm&m=113993195221600&w=2

Look right to the end of the posting for a full explanation of the co-ordinate issue.

-Andy
PacoBell
QUOTE(iamasmith @ Jun 21 2007, 12:28 AM) *
xrandr extensions work now? man I wish I still had as much time to play with my Z.

The last time I chatted with Matthieu he mentioned that xrandr rotate extensions were going to go into the driver... do you know if he triggered touch screen rotation with xrandr?
QUOTE(Andrew Smith @ Feb 14 2006, 03:43 PM)
Ok I accept that Xorg may at some stage create an extension for doing this but right \
now, and until OpenBSD accepts that release of Xorg there are scaling issues in the \
zts driver when subject to rotation.
QUOTE
List: openbsd-cvs
Subject: CVS: cvs.openbsd.org: xenocara
From: Matthieu Herrb <matthieu () cvs ! openbsd ! org>
Date: 2008-04-19 14:40:52
Message-ID: 200804191440.m3JEeqFZ013150 () cvs ! openbsd ! org
[Download message RAW]

CVSROOT: /cvs
Module name: xenocara
Changes by: matthieu@cvs.openbsd.org 2008/04/19 08:40:52

Modified files:
app/xrandr : COPYING ChangeLog Makefile.am Makefile.in
aclocal.m4 configure configure.ac xrandr.c
xrandr.man
Added files:
app/xrandr : xrandr_test.pl

Log message:
Update to xrandr 1.2.3.
Time to test it again?

P.S. Then again, in Matthieu's FOSDEM address this year, he mentioned "Generalisation of XRandr 1.2 in drivers" in the slide entitled "Coming next: X.Org 7.4". A few slides later, it's mentioned that "OpenBSD 4.3 (to be released on May 1) will include X.ORg 7.3" and that "We should be able to include X.Org 7.5 in OpenBSD 4.4." Looks like we've gotta wait for 4.4 or, at least, 4.3-current?
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.