View source for QVGA Mode
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to QVGA Mode.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to QVGA Mode.
Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |
Information on getting into QVGA mode successfully
On SHR-unstable (as of the july 2011 (openembedded)builds) the following worked.
Create two new scripts - I put these in /usr/local/bin, and added /usr/local/bin to my PATH in my .profile file - but you can put 'em where ever you like, as long as they are on your PATH, or you use the full path to invoke 'em.
qvga:
#!/bin/sh echo "qvga" > /sys/bus/spi/devices/spi2.0/resolution xrandr -s 240x320 killall -HUP enlightenment
normal:
#!/bin/sh echo "vga" > /sys/bus/spi/devices/spi2.0/resolution xrandr -s 480x640 killall -HUP enlightenment
This usually creates a usable display - although occasionally enlightnment get confused and crashes.
Unfortunately there's a problem with the touchscreen, so the upper quarter of the screen maps to the entire screen, so using this for anything real isn't possible. Apparently this is fixed in the Xorg based X server, which should be available soon, so hopefully this will be resolved soon.
Also - changing /sys/.../state should not be required once the switch to Xorg is complete.