[maemo-developers] Keeping the display OFF?

From: Amit Kucheria kucheria.amit at gmail.com
Date: Mon Jun 25 14:37:24 EEST 2007
On 6/23/07, Andrew Godwin <andrewgodwin at gmail.com> wrote:
>
> Instead of the usual thing of wanting to keep the display on, I want to
> keep it off. Let me describe the situation...
>
> I'm writing a music player (yes, another one!) which I can operate while
> walking (I do a lot of this). Specifically, I wanted to be able to skip
> songs without getting the n800 out of my pocket, so I implemented a mode
> where the player ignores all touchscreen input, and responds only to
> hardware keypresses.
>
> Only issue is that, of course, whenever the screen is hit, the display
> turns on again, even though nothing can happen. Any idea of how I'd go
> about keeping it off? I've tried echoing "0" to
> /sys/devices/platform/omapfb/panel/backlight_level, but something keeps
> turning the display back on (perhaps I can convince _that_ to keep it
> off?)
>

Look at:

/sys/devices/platform/omap2_mcspi.1/spi1.0/disable_ts and disable_kp

Writing '1' to disable_ts should do what you want.
Writing '1' to disable_kp should disable all keys _except_ the power key.

Regards,
Amit
--
Amit Kucheria, Embedded Consulting, Verdurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070625/f5d29cfd/attachment.htm 
More information about the maemo-developers mailing list