public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Daemon that handles ACPI
@ 2003-03-26  2:07 Stephen Torri
       [not found] ` <1048644460.2910.39.camel-NN61vRp3iFIP0m8IYG7BWw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Torri @ 2003-03-26  2:07 UTC (permalink / raw)
  To: ACPI Development

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

I know that development is going great for doing ACPI inside the kernel.
What I do not know is if there is a daemon that does work similar to
apmd which handles apm stuff from the kernel. I see that there are two
programs, acpid and ospmd, there for me to use. Unfortunately they are
both going on being 5 months to a 1 year behind the present development
if the dates of when they were placed on the web is true. Is that
because they are already well-defined and as a user I just need to
configure it? Or are they behind because developement of them has lagged
the kernel development?

Stephen
-- 
Stephen Torri <storri-rphTv4pjVZMJGwgDXS7ZQA@public.gmane.org>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: Daemon that handles ACPI
@ 2003-03-27  2:24 Grover, Andrew
  0 siblings, 0 replies; 8+ messages in thread
From: Grover, Andrew @ 2003-03-27  2:24 UTC (permalink / raw)
  To: Sérgio Monteiro Basto, Stephen Torri; +Cc: acpi-devel

> From: Sérgio Monteiro Basto [mailto:sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org] 
> and talking about ospmd, yes, it never worked, we have a 
> missing config
> file that make GUI doens't work, and in this case I never knew about a
> basic example... 
> Normally is the thing that is missed on every man and help pages of
> Linux :) 

OK so here's the deal with ospmd:

It works. On my RH 8 machine. ;-) Specifically, the qt include path is
hardcoded in the gui Makefile. Bad, bad, I know. But look, the raw materials
of what I envision for a power policy daemon and power library are there:

- ospmd handles *both* ACPI and APM kernel interfaces, and presents a
uniform PM interface. Other PM interfaces could be easily supported, too.

- ospmd creates a config file with default values, and these can be changed
in the .conf file (/var/ospmd.conf) or can be set via libpower.

- libpower presents a rich, uniform interface for power applets to use.
Power policy is centralized, so changes made through a kde and gnome applet
(for example) both affect the same policy. Applets and battery meters no
longer have to parse /proc, or perform battery life calculations - libpower
handles it.

- further enhancements could include APIs for apps to request that the
screen not be blanked (e.g. presentation apps) or to keep the system out of
suspend (e.g. cd writing apps).


I really believe strongly that ospmd (or something like it) will be the way
to go for a standard PM policy daemon and interface in the future. I am
frustrated that ACPI kernel issues and other work have prevented me from
productionalizing it with man pages, better build system, better test gui,
etc. but I think this will be a very important part of a modern system's
power management architecture.

Regards -- Andy


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-03-27 15:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26  2:07 Daemon that handles ACPI Stephen Torri
     [not found] ` <1048644460.2910.39.camel-NN61vRp3iFIP0m8IYG7BWw@public.gmane.org>
2003-03-26  2:33   ` Randy.Dunlap
2003-03-26 13:57     ` Derek Broughton
     [not found]       ` <005901c2f39f$ac481530$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-03-27  0:06         ` Stephen Torri
     [not found]           ` <1048723591.3593.2.camel-NN61vRp3iFIP0m8IYG7BWw@public.gmane.org>
2003-03-27  1:46             ` Sérgio Monteiro Basto
     [not found]               ` <1048729567.1490.17.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2003-03-27 15:08                 ` Ducrot Bruno
2003-03-27 13:25           ` Derek Broughton
  -- strict thread matches above, loose matches on Subject: below --
2003-03-27  2:24 Grover, Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox