Xglamo X server progress report
dodji at openedhand.com
Fri Jan 11 18:00:37 CET 2008
I have recently added support of RandR to the Xglamo X server for the
GTA02 device. It supports rotation and resise from vga to qvga.
The code for that can be found in the xglamo source code repository at
http://cgit.freedesktop.org/~dodji/xglamo. So if someone wants to hack
o the xserver, he can just clone the server and update the recipe file
of the xserver in OpenMoko to point to his cloned repository.
The xserver recipe packages/xorg-xserver/xserver-kdrive_126.96.36.199.bb has
been updated to grab the xserver code from
http://cgit.freedesktop.org/~dodji/xglamo now by default.
To make that support work, Olv and I did add a few patches to the
Those patches are activated in the default gta02 build now. Big thanks
to Werner for reviewing the patches and pushing them.
So in short, just compiling a new gta02 image should get you a working
RandR powered X server on the gta02 device.
To test it, you can connect to the device and do things like:
* xrandr --output default --rotate left <-- rotate the screen to
* xrandr --output default --rotate normal <-- rotate back to normal.
* xrandr --output default --mode 240x320 <-- switch to qvga
* xrandr --output default --mode 480x640 <-- switch to vga.
So now, when the accelerometer driver is ready someone should add hack
the neod deamon to detect when the device is flipped and use the
libxrander library to instruct the Xglamo server to rotate the screen
Until then, here are the mandatory screenshots for:
* screen in landscape:
* screen in portrait: (okay you know this one)
* screen in qvga portrait:
* screen in qvga landscape:
Unit R, Homesdale Business Center / 216 - 218 Homesdale Road /
Bromley / BR1 2QZ / United Kingdom. Tel,fax: +44 (0) 208 819 6559
Expert Open Source For Consumer Devices - http://www.openedhand.com
More information about the openmoko-devel