[maemo-developers] turn screen off, from code (dbus/osso/etc)

From: Jesse Guardiani jesse at guardiani.us
Date: Tue Aug 14 07:52:42 EEST 2007
Hello,

What's the best way to turn the screen OFF from within code?
I saw the previous post entitled "Keeping the display OFF?" and the
recommendation to write '1' to
/sys/devices/platform/omap2_mcspi.1/spi1.0/disable_ts

Is that the only way to do it? That file is owned by root on my n800, so
that's not really a good choice for my application.

Is there an osso or dbus alternative?
BTW, I'm using Python.

Thanks!


-- 
Jesse Guardiani
Programmer/Sys Admin
jesse at guardiani.us

More information about the maemo-developers mailing list