On 6/23/07, Andrew Godwin <[EMAIL PROTECTED]> 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
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
