OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: ins0mniaque on September 29, 2005, 10:03:20 am

Title: Matchbox And Rotation
Post by: ins0mniaque on September 29, 2005, 10:03:20 am
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
Title: Matchbox And Rotation
Post by: Sequethin on September 29, 2005, 10:29:43 am
Quote
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.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=97549\"][{POST_SNAPBACK}][/a][/div]

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

Mike
Title: Matchbox And Rotation
Post by: jpmatrix on June 08, 2007, 10:09:36 am
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
(i'm under Icewm)
Title: Matchbox And Rotation
Post by: ZDevil on June 08, 2007, 01:38:54 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.
Title: Matchbox And Rotation
Post by: mathemajikian on June 20, 2007, 04:55:07 pm
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162839\"][{POST_SNAPBACK}][/a][/div]

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.  
Title: Matchbox And Rotation
Post by: Meanie on June 20, 2007, 08:06:45 pm
Quote
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162839\"][{POST_SNAPBACK}][/a][/div]

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.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163467\"][{POST_SNAPBACK}][/a][/div]

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..
Title: Matchbox And Rotation
Post by: iamasmith on June 21, 2007, 03:28:42 am
Quote
...
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..
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=163471\")

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..

[a href=\"http://marc.info/?l=openbsd-arm&m=113993195221600&w=2]http://marc.info/?l=openbsd-arm&m=113993195221600&w=2[/url]

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

-Andy
Title: Matchbox And Rotation
Post by: PacoBell on April 22, 2008, 08:25:57 am
Quote from: iamasmith
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 from: Andrew Smith
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 (http://marc.info/?l=openbsd-cvs&m=120861615824835&w=2)
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?