[Debian,QtMoko] X server and rotation

Chuck Norris norris.chuck at mail.ru
Wed Mar 24 11:19:51 CET 2010


Radek Polak пишет:
> Hi,
> 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
> scummvm
>
> 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 
> #!/bin/sh
> matchbox-window-manager &
> sleep 5
> scummvm
>
> 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?
>
> Regards
>
> Radek
>
>
> [1] http://activationrecord.net/radekp/pub/xserver-xfbdev_1.7.5-1_armel.deb
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
>   
with this kernel from
http://lists.openmoko.org/nabble.html#nabble-td4274107|a4274107
<http://lists.openmoko.org/nabble.html#nabble-td4274107%7Ca4274107>

shr and hackable:1 begin toggle rotation with xrandr(shr) and swap
rotation option under hackable:1. Also graphics became faster.



More information about the community mailing list