Re: Question regarding linux acpi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 05, 2010 at 04:13:42AM +0530, Raj Kumar wrote:

>    I have implemented run time power management in my drivers. Do you mean to
>    say
>    In case of ACPI also, again run time power management will get to device
>    in low
>    power mode or full working mode.

Unless you're coding for an ACPIPNP device, you don't need to care about 
ACPI at all in your driver. The code in 2.6.35 and higher will handle 
that for you.

>    The another thing is suppose BIOS is ACPI based, ok as you told that bus
>    will handle
>    all the things do you mean ACPI driver will notify the bus about various
>    device states?

The core ACPI code will inform the PCI code (for instance) that a wakeup 
event has been generated, or the PCI code (for instance) will call the 
appropraite ACPI functions while putting the device in a low power 
state.

>    If yes then what the standard interface between bus driver  and device
>    driver?

It's documented in the runtime pm document I pointed you at.

>    Do you mean if there is ACPI, still ACPI is hooked with standard linux
>    static power management
>    core and run time power management core?

Yes.

>    I mean to say ACPI notify the bus via linux power management core (static
>    and run time)?

Yes.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux