backlight device, suspend/resume... [RANT]

Werner Almesberger werner at openmoko.org
Fri Jul 11 12:00:14 CEST 2008


andrzej zaborowski wrote:
> Another fun idea is: shut down and resume all the hardware manually
> from the userspace daemon with sysfs writes.

I think this is the general direction we should aim for. Even if we
can't go all the way, the trailblazing alone should be beneficial.

> It's a bit crazy though: you have to know what every
> application on the system does.

Worse yet, you also have to make sure they don't try to touch devices
you've just powered down.

> And you need your rootfs up, the kernel doesn't need it.

You mean for /dev ? That could be kept in RAM. The power daemon can
just mlock itself, so it doesn't need to page in from the executable.

- Werner




More information about the openmoko-kernel mailing list