QVGA Mode

From Openmoko

Revision as of 16:16, 20 July 2011 by GNUtoo (Talk | contribs)

Jump to: navigation, search

Information on getting into QVGA mode successfully

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
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

Personal tools

Information on getting into QVGA mode successfully

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
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