<br><br><div><span class="gmail_quote">On 6/23/07, <b class="gmail_sendername">Andrew Godwin</b> <<a href="mailto:andrewgodwin@gmail.com">andrewgodwin@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Instead of the usual thing of wanting to keep the display on, I want to<br>keep it off. Let me describe the situation...<br><br>I'm writing a music player (yes, another one!) which I can operate while<br>walking (I do a lot of this). Specifically, I wanted to be able to skip
<br>songs without getting the n800 out of my pocket, so I implemented a mode<br>where the player ignores all touchscreen input, and responds only to<br>hardware keypresses.<br><br>Only issue is that, of course, whenever the screen is hit, the display
<br>turns on again, even though nothing can happen. Any idea of how I'd go<br>about keeping it off? I've tried echoing "0" to<br>/sys/devices/platform/omapfb/panel/backlight_level, but something keeps<br>
turning the display back on (perhaps I can convince _that_ to keep it off?)<br></blockquote></div><br>Look at:<br><br>/sys/devices/platform/omap2_mcspi.1/spi1.0/disable_ts and disable_kp<br><br>Writing '1' to disable_ts should do what you want.
<br>Writing '1' to disable_kp should disable all keys _except_ the power key.<br clear="all"><br>Regards,<br>Amit <br>--<br>Amit Kucheria, Embedded Consulting, Verdurent<br>