ACPI support for add-on devices driver
Hi all,
I like know what I need to do if I want to have ACPI power management support in my driver for an add-on device. When I am browsing APM implementation, I found that Linux kernel have general PM Interfaces like pm_regsiter and pm_unregsiter. In APM driver, pm_send is being called to send notification to all registered add-on devices.
In the case of ACPI, we have Device power state D0,D1,D2,D3. I like to know how the interface between the ACPI driver, PM interface and ADD-ON Driver happens. Can any one please send me some details about it?
Thanks,
Siva
**************************Disclaimer**************************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged'
and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.
****************************************************************************************
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · siva
Hi all,
I like know what I need to do if I want to have ACPI power management support in my driver for an add-on device. When I am browsing APM implementation, I found that Linux kernel have general PM Interfaces like
pm_regsiterandpm_unregsiter. In APM driver,pm_sendis being called to send notification to all registered add-on devices.
Quoted 5 lines
In the case of ACPI, we have Device power state D0,D1,D2,D3. I like to know how the interface between the ACPI driver, PM interface and ADD-ON Driver happens.
Can any one please send me some details about it?
This is one of the main issue actually which is supposed to be somehow resolved in 2.5 with the 'new device driver model' (and still have to be correctly implemented, discuted, probably some flame war to come, etc.).
Signature · 10 lines
Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com
Quoted 5 lines · siva
I like know what I need to do if I want to have ACPI power management support in my driver for an add-on device. When I am browsing APM implementation, I found that Linux kernel have general PM Interfaces like
pm_regsiterandpm_unregsiter. In APM driver,pm_sendis being called to send notification to all registered add-on devices.
Presumably you're talking about a PCI device? If so, you should implement the `new-style' PCI driver interface (Documentation/pci.txt), and provide implementations for ->suspend, ->resume and ->save_state. Also see Documentation/power/pci.txt.
Signature · 9 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com