Re: How to reset the screen through command?

2011-02-10 Thread Al Johnson
On Thursday 10 February 2011, dukelec wrote:
 duke@dukelec:~$ ssh root@192.168.0.202
 root@om-gta02 ~ # export DISPLAY=:0
 root@om-gta02 ~ # echo qvga-normal  /sys/bus/spi/devices/spi2.0/state
 -sh: can't create /sys/bus/spi/devices/spi2.0/state: nonexistent directory
 root@om-gta02 ~ # echo normal  /sys/bus/spi/devices/spi2.0/state
 -sh: can't create /sys/bus/spi/devices/spi2.0/state: nonexistent directory
 root@om-gta02 ~ # xrandr -s 480*640
 Size index 480 is too large, there are only 3 sizes
 root@om-gta02 ~ #
 
 I need more help. close to success ...

Correct your typo in the xrandr line. You have * in place of x.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: How to reset the screen through command?

2011-02-10 Thread Joachim Ott
On 10 February 2011 08:42, dukelec d...@dukelec.com wrote:

 duke@dukelec:~$ ssh root@192.168.0.202
 root@om-gta02 ~ # export DISPLAY=:0
 root@om-gta02 ~ # echo qvga-normal  /sys/bus/spi/devices/spi2.0/state
 -sh: can't create /sys/bus/spi/devices/spi2.0/state: nonexistent directory
 root@om-gta02 ~ # echo normal  /sys/bus/spi/devices/spi2.0/state
 -sh: can't create /sys/bus/spi/devices/spi2.0/state: nonexistent directory
 root@om-gta02 ~ # xrandr -s 480*640
 Size index 480 is too large, there are only 3 sizes
 root@om-gta02 ~ #

 I need more help. close to success ...

Have you tried  xrandr -s 480x640?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: How to reset the screen through command?

2011-02-10 Thread dukelec

I have tried 'x' instead, nothing happen  keep WSOD.
I also use /sys/devices/platform/glamo3362.0/glamo-fb.0/graphics/fb0/state
instead, no use.
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/How-to-reset-the-screen-through-command-tp5998033p6011905.html
Sent from the Openmoko Support mailing list archive at Nabble.com.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: How to reset the screen through command?

2011-02-10 Thread dukelec

I also want to set LCD frequency from 73Hz to 60Hz, reduce EMI, maybe useful.
(How to do this?)

I got this error:

root@om-gta02 /sys # xrandr -q
Screen 0: minimum 240 x 320, current 480 x 640, maximum 480 x 640
LCD connected 480x640+0+0 (normal left inverted right) 43mm x 58mm
   480x64072.5*+
   640x48072.8 59.9  
   240x32050.2  
root@om-gta02 /sys # xrandr -s 640x480
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  2 (RRSetScreenConfig)
  Value in failed request:  0x280
  Serial number of failed request:  14
  Current serial number in output stream:  14
root@om-gta02 /sys # xrandr -r 60
Rate 60.0 Hz not available for this size
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/How-to-reset-the-screen-through-command-tp5998033p6011938.html
Sent from the Openmoko Support mailing list archive at Nabble.com.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: How to reset the screen through command?

2011-02-10 Thread Petr Vanek
I have tried 'x' instead, nothing happen  keep WSOD.
I also use
/sys/devices/platform/glamo3362.0/glamo-fb.0/graphics/fb0/state
instead, no use. -- 

There was an email in the kernel list with a subject WSOD fix. in
December.

it contained link to this patch
http://git.openmoko.org/?p=kernel.git;a=commitdiff;h=43f0161295bc311d09d705db7b381653fbbb9e46

and the two scripts as per below.

i also suffer the recent WS issue and i haven't had too much to play
with this though, but perhaps it can help?


#!/bin/sh
# display_on.sh
echo 0  /sys/class/graphics/fb0/blank
echo 0  /sys/class/lcd/jbt6k74-lcd/lcd_power
echo 63  /sys/class/backlight/pcf50633-backlight/brightness

#!/bin/sh
# display_off.sh
echo 0  /sys/class/backlight/pcf50633-backlight/brightness
echo 4  /sys/class/lcd/jbt6k74-lcd/lcd_power
echo 4  /sys/class/graphics/fb0/blank



Petr


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: How to reset the screen through command?

2011-02-10 Thread dukelec

No use..
I got a call just now, while WSOD, Guess the location of Accept Button.
After call, run 「display_on.sh - display_off.sh - display_on.sh 」,and
still WSOD...
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/How-to-reset-the-screen-through-command-tp5998033p6014332.html
Sent from the Openmoko Support mailing list archive at Nabble.com.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support