On 11/12/09, Warren Baird <[email protected]> wrote:
> Just to follow up - I added two scripts as follows:
> qvga:
> #!/bin/sh
> echo "qvga-normal" > /sys/bus/spi/devices/spi2.0/state
> xrandr -s 240x320
> fbset 240x320
> killall -HUP enlightenment
>
>
> normal:
> #!/bin/sh
> echo "normal" > /sys/bus/spi/devices/spi2.0/state
> xrandr -s 480x640
> killall -HUP enlightenment
>
> and added the following to /etc/fb.modes:
> mode "240x320"
>        geometry 240 420 240 320 16
>        timings 100000 8 88 2 2 8 2
>        accel false
> endmode
>
> This usually creates a usable looking display - although occasionally
> enlightnment get confused and crashes.   However, due to the touchscreen
> scaling issue, I can't really test things well.   However, from my somewhat
> random flailing, it does look a lot more responsive.
>
> Looking forward to an Xorg based shr build so we can test this for real...
>
> Since this seems to be of interest, and I couldn't find much on the wiki, I
> created http://wiki.openmoko.org/wiki/QVGA_Mode with my observations...
>
> Warren
>
>
>
> On Thu, Nov 12, 2009 at 2:30 PM, Sebastian Krzyszkowiak <[email protected]
>> wrote:
>
>> On Thu, Nov 12, 2009 at 20:05, Alex Sunekants <[email protected]>
>> wrote:
>> > How does one disable the scaling? :)
>>
>> You don't have to. Just restart enlightenment after switching
>> resolution, for instance with "killall -HUP enlightenment" command.
>>
>> --
>> Sebastian Krzyszkowiak
>> dos
>> _______________________________________________
>> Shr-User mailing list
>> [email protected]
>> http://lists.shr-project.org/mailman/listinfo/shr-user
>>
>
>
>
> --
> Warren Baird - Photographer and Digital Artist
> http://www.synergisticimages.ca
>

xrandr -s 1 should be enough, fiddling with sysfs was hack on Xglamo,
not needed anymore with Xorg.

-- 
Sebastian Krzyszkowiak
dos
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to