Re: [iPAQ] Framebuffer Programming - Need to switch lcd back on

From: Scott Lanham <scott.a.t.mail.sael.com.au>
Date: Thu Feb 27 2003 - 06:05:21 EST

> I am just running a familiar 0.6.1 root install. Playing around programming
> the framebuffer is fun, until the lcd switches off. I can't find a way to
> stop this from happening.

Talking to myself again ;-) It is either a sign of intelligence or craziness,
take your pick.

Worked it mostly out.

>From "man console_codes", qt-embedded and lots of googling:

To switch the screen back on: echo -e '\033[13]' > /dev/tty0
To hide the cursor: echo -e '\033[?25l' > /dev/tty0
To unhide the cursor: echo -e '\033[?25h' > /dev/tty0
To stop the screen blanking: echo -e '\033[9;0]' > /dev/tty0
To set time until screen blankingt: echo -e '\033[9;n]' > /dev/tty0
                                                        ( replace n with number of minutes required ).

I don't know why qt-embedded also uses '\033[?33l'

Hope this saves someone else some frustration.

Cheers,

Scott.
Received on Thu Feb 27 11:06:24 2003

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:45:01 EDT