From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Управление Питанием hal/pm-utils vs. powersaved
Date: Tue, 24 Jun 2008 18:56:13 +0400
Message-ID: <20080624145613.GZ8648@hell.fortress> (raw)
In-Reply-To: <1214283201.11996.0@ildar.innovations.kz>
[-- Attachment #1: Type: text/plain, Size: 978 bytes --]
Получается, что Идеальная Power Management Система выглядит так:
Получает сообщения через DBus от HAL или "управляющего апплета"
(управляющим апплетом может быть и CLI утилита).
Сообщение это сигнал AC Power Lost, нажатие Hardware Button,
команда от апплета и т.д.
При поступлении события выполняет какую-то задачу.
Задача состоит из простой последовательности команд. Эта
последовательность (и только она) может (и должна) настраиваться
пользователем.
Команда - простое действие. Послать сообщение черед DBus
(suspend, backlight), опустить/поднять интерфейс, изменить
частоту процессора, загрузить/выгрузить модуль, залочить экран,
запустить/остановить сервис и т.д.
Этому диспетчеру вообще ничего не надо знать о железе, на котором
он работает. Все архитектурные квирки загоняются в одно место,
которое называется HAL.
В первом приближении, нам не хватает демона-диспетчера, набора
команд и разумных дефолтов.
--
Regards,
Sir Raorn.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2008-06-24 14:56 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 11:12 [sisyphus] Управление Питанием - комментарии? Ildar Mulyukov
2008-06-23 11:25 ` Alexey I. Froloff
2008-06-23 11:46 ` Mikhail Gusarov
2008-06-23 11:59 ` Anton Farygin
2008-06-23 12:06 ` Mikhail Gusarov
2008-06-23 12:19 ` Alexey I. Froloff
2008-06-23 12:44 ` [sisyphus] Управление Питанием hal/pm-utils vs. powersaved Ildar Mulyukov
2008-06-23 12:50 ` Valery V. Inozemtsev
2008-06-23 13:13 ` Alexey I. Froloff
2008-06-23 13:37 ` Andrii Dobrovol`s`kii
2008-06-23 16:11 ` Michael Shigorin
2008-06-24 4:53 ` Ildar Mulyukov
2008-06-24 8:40 ` Alexey I. Froloff
2008-06-24 10:45 ` Ildar Mulyukov
2008-06-24 15:06 ` Alexey I. Froloff
2008-06-25 4:22 ` Ildar Mulyukov
2008-06-25 5:14 ` Anton Farygin
2008-06-25 6:42 ` Ildar Mulyukov
2008-06-25 6:47 ` Anton Farygin
2008-06-25 19:10 ` Michael Shigorin
2008-07-03 10:46 ` Alexey I. Froloff
2008-07-03 11:23 ` Alexey Shabalin
2008-07-03 11:31 ` Ildar Mulyukov
2008-06-25 8:25 ` Alexey I. Froloff
2008-06-24 14:44 ` [sisyphus] [JT] вот такие вот ап-стримы Michael Shigorin
2008-06-24 15:08 ` Alexey I. Froloff
2008-06-24 14:56 ` Alexey I. Froloff [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080624145613.GZ8648@hell.fortress \
--to=raorn@altlinux.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git