[suspend/resume] Re: userspace notification from module
Rafael J. Wysocki
rjw at sisk.pl
Sat Jan 16 17:31:15 EST 2010
On Saturday 16 January 2010, Pavel Machek wrote:
> > > IMHO it should just plain shutdown in that case. Suspending doesn't really
> > > solve the problem, because the battery is going to drain still. Unless you
> > > mean suspend=hibernate, but I guess you don't.
>
> BTW I was talking spitz before, but there's collie, too. It was
> shipped in configuration where all user data was in RAM and RAMdisk --
> no writable flash. On such machine, shutdown is never option. (And
> yes, such design was very common in windowsCE days).
>
> Spitz got disk, but inherited that powermanagement design; and it
> works very well.
>
> And now, if you want collie for a year (or two), you can have
> mine... it still works and battery still lasted for 5 hours 2 years
> ago -- not bad for 10 year old battery. You'll note that it is very
> different design from PC.
Well, I guess I wouldn't have the time to study it anyway, so thanks. :-)
All in all, it looks like these particular platforms are just specific design
having special requirements. And even on these platforms sending a battery
critical notification to the user space before the kernel emergency suspends
(or shuts down or whatever) the system seems to be a good idea in general.
Rafael
More information about the linux-arm-kernel
mailing list