lkml.org 
[lkml]   [2010]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [suspend/resume] Re: userspace notification from module
Date
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


\
 
 \ /
  Last update: 2010-01-16 23:33    [W:0.093 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site