[lkml]   [2006]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe : Re : [HELP] Power management for embedded system
    Richard Purdie wrote:
    > It provides an apm_bios device which behaves the same way as a "real"
    > APM bios on x86. The same apmd used on x86 can be used on ARM.
    > Its main purpose is to be to run suspend/resume events past userspace
    > before acting on them (and allow suspend/resume events to be triggered
    > from userspace). It also allows exporting of battery status information
    > to userspace in a rather broken way.
    > It would be nice to move that to some arch independent generic
    > implementation of these things and to leave the APM emulation behind.

    Yes. Hence the generic code would deal with battery info, suspend/resume
    events to userspace, cpu idle logic. And arches specific code would deal
    with hardware to get status on battery for example. On i386 that would
    lead to call the BIOS, on others arches, they would use whatever available
    on the platform to report the status.

    > The battery information should be a sysfs class (see the backlight/led
    > classes as examples of sysfs classes). The suspend/resume event handling
    > would be something new as far as I know and ideally should support
    > suspending/resuming individual sections of device hardware as well as

    Well, maybe the first step is to unify this APM for all arches hence
    everybody could better improve it.

    > the whole system. The linux-pm mailing list might have more of an idea
    > of whether these things are being worked on and their current status.

    That's actually this status I was trying to get when posting my initial


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-08-24 16:45    [W:2.315 / U:0.004 seconds]
    ©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site