On Sunday, February 06, 2011 09:44:48 dukelec wrote: > I tried many distributions of openmoko(current is FSR on FreeRunner), the > same problem is : There was nothing display but white when resume from black > screen sometimes. > > I consider to write a shell, and bind it to aux button... but I need the > command which can reset & init screen(How To?)... > > It's better for me if you guys to put the actions to kernel...
try this script: #!/bin/sh export DISPLAY=:0 echo "qvga-normal" > /sys/bus/spi/devices/spi2.0/state echo "normal" > /sys/bus/spi/devices/spi2.0/state xrandr -s 480x640 To run it automatically on every wakeup put the script to /etc/apm/resume.d/01display Don't forget to make it executable! Cheers, Michael _______________________________________________ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support