[Debian,QtMoko] X server and rotation

Radek Polak psonek2 at seznam.cz
Wed Mar 24 08:58:14 CET 2010

i have been struggling for some time to get X server working in landscape 
mode. I was trying:

- Xglamo with xrandr - screen always goes white, reboot needed
- Xglamo -screen 480x640 at 90 - does not work either, screen is somehow shifted
- Xorg with fbdev driver and CCW option in xorg.conf - seems to have no effect
- Xfbdev - does not support tslib in debian

Yesterday i recompiled Xfbdev package with tslib support and now it seems to 
be working. For running the X server i do:

Xfbdev -retro -screen 480x640 at 90 -mouse tslib,,device=/dev/input/event1

But still it's not perfect. I am trying to run scummvm on this Xserver:

export DISPLAY=:0

but the Xserver segfaults. But I have found out that if start matchbox window 
manager before scummvm it works. So i have now this script:

neo:~# cat /bin/scummvm.sh 
matchbox-window-manager &
sleep 5

I am doing this on debian testing. My Xfbdev with tslib support is here [1]. I 
build it with:

apt-get build-dep xserver-xfbdev
apt-get source xserver-xfbdev
edited debina/rules and replaced disable-tslib with enable-tslib
dpkg-buildpackage -b

Hope this helps someone. Anyone has better way how to do this?



[1] http://activationrecord.net/radekp/pub/xserver-xfbdev_1.7.5-1_armel.deb

More information about the community mailing list