QVGA Mode
From Openmoko
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|QVGA Mode}} | ||
Information on getting into QVGA mode successfully | Information on getting into QVGA mode successfully | ||
=== SHR === | === SHR === | ||
− | On SHR-unstable (as of the | + | 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. | 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. | ||
Line 10: | Line 11: | ||
<pre> | <pre> | ||
#!/bin/sh | #!/bin/sh | ||
− | echo "qvga | + | xrandr --dpi 143 |
+ | echo "qvga" > /sys/bus/spi/devices/spi2.0/resolution | ||
xrandr -s 240x320 | xrandr -s 240x320 | ||
− | |||
killall -HUP enlightenment | killall -HUP enlightenment | ||
</pre> | </pre> | ||
Line 19: | Line 20: | ||
<pre> | <pre> | ||
#!/bin/sh | #!/bin/sh | ||
− | echo " | + | xrandr --dpi 280 |
+ | echo "vga" > /sys/bus/spi/devices/spi2.0/resolution | ||
xrandr -s 480x640 | xrandr -s 480x640 | ||
killall -HUP enlightenment | killall -HUP enlightenment | ||
</pre> | </pre> | ||
− | + | This usually creates a usable display | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | This usually creates a usable display | + | |
− | + | ||
− | + | ||
− | + | [[Category:SHR]] |
Latest revision as of 17:19, 20 July 2011
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
[edit] SHR
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 xrandr --dpi 143 echo "qvga" > /sys/bus/spi/devices/spi2.0/resolution xrandr -s 240x320 killall -HUP enlightenment
normal:
#!/bin/sh xrandr --dpi 280 echo "vga" > /sys/bus/spi/devices/spi2.0/resolution xrandr -s 480x640 killall -HUP enlightenment
This usually creates a usable display