ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] hal-laptop: no effects on event
Date: Tue, 24 Feb 2009 21:05:30 +0300
Message-ID: <49A436EA.2010808@altlinux.org> (raw)
In-Reply-To: <1235454576.9763.7@ildar.innovations.kz>

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

Ildar Mulyukov пишет:
> On 24.02.2009 11:08:19, Ildar Mulyukov wrote:
>> On 23.02.2009 14:50:45, Vitaly Ostanin wrote:
>>> Здравствуйте.
>>>
>>> Пытаюсь научить ноут засыпать при закрывании крышки. Поставил
>>> hal-laptop-0.1.2-alt1
>>> pm-utils-1.1.2.4-alt1
>>> , скопировал 10-events-key.fdi в /etc/hal/fdi/policy,
>>> перезапустил haldaemon, потом на всякий случай перезагрузился.
>>>
>>> Реакции на закрывание крышки нет. acpi_listen событие видит как
>>> button/lid LID0 00000080 00000003
>>>
>>> Ноут fujitsu siemens esprimo mobile u9200.
>>>
>>> Скажите, куда копать дальше? Внятного howto не нашёл.
>> Такие вещи "по идее" должен регламентировать "агент" (часто это  
>> gnome-power-manager). Не хватает его.
>>
>> Взял в кавычки некоторые термины, т.к. не совсем согласен с текущим  
>> порядком дел.
> 
> Постойте, я упустил из вида hal-laptop!
> По-моему, он был создан как раз для того, чтобы работать без агента.
> 
> То есть в Вашем случае надо добавить "магическую" строчку в файл  
> /etc/hal/fdi/что-то-там. 

Цитирую своё письмо: "скопировал 10-events-key.fdi в
/etc/hal/fdi/policy".

Добавлю, что удалил оттуда строку с append.


> Что именно... ммм. Надо порыть или спросить  
> Valery Inozemtsev.

Пытался его сегодня добавить в jabber.

> Либо, что проще, всё-таки запустить агента. У меня работает.

Я почитал архивы альтовых рассылок, говорят, модно нынче
использовать hal-laptop и pm-utils.

Ещё детали:
# dbus-monitor --system
ничего не пишет на закрывание крышки. То есть в acpi событие
есть, а в dbus нет. Был запущен acpid, сейчас его остановил на
всякий случай, завтра проверю, что это дало :)

-- 
Regards, Vyt
mailto:  vitaly.ostanin@gmail.com
jabber:  vitaly.ostanin@gmail.com


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2009-02-24 18:05 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23  8:50 Vitaly Ostanin
2009-02-24  5:08 ` Ildar Mulyukov
2009-02-24  5:49   ` Ildar Mulyukov
2009-02-24 18:05     ` Vitaly Ostanin [this message]
2009-02-25 18:21       ` Vitaly Ostanin
2009-02-25 18:36         ` Konstantin A. Lepikhov
2009-02-25 18:54           ` [sisyphus] [JT] " Vitaly Ostanin
2009-02-25 22:19         ` [sisyphus] " Alexey Rusakov
2009-02-25 22:53           ` Alexey I. Froloff
2009-02-26 10:00             ` Alexey Rusakov
2009-02-26 10:01               ` Alexey Rusakov
2009-02-26 10:32             ` Konstantin A. Lepikhov
2009-02-26 10:33               ` Alexey Rusakov
2009-02-26 11:01           ` Anton Farygin
2009-02-26 11:19             ` Konstantin A. Lepikhov
2009-02-26 11:29             ` [sisyphus] [JT] " Alexey Rusakov
2009-02-26 12:59               ` Anton Farygin
2009-02-26 13:11                 ` Alexey I. Froloff
2009-02-26 13:15                   ` Anton Farygin
2009-02-26 13:30                     ` Alexey I. Froloff
2009-02-26 14:00                       ` Anton Farygin
2009-02-26 23:29                         ` Alexey I. Froloff
2009-03-02 15:17                           ` Anton Farygin
2009-03-02 16:14                             ` Alexey I. Froloff
2009-02-26 14:03                       ` Konstantin A. Lepikhov
2009-02-26 14:57                         ` Alexey I. Froloff
2009-02-26 15:11                           ` Konstantin A. Lepikhov
2009-02-26 15:27                             ` Alexey I. Froloff
2009-02-26 15:45                               ` Konstantin A. Lepikhov
2009-02-26 15:56                                 ` Alexey I. Froloff
2009-02-26 20:44                       ` Vitaly Ostanin
2009-03-02 16:57                         ` Valery V. Inozemtsev
2009-03-02 17:52                         ` Slava Dubrovskiy
2009-03-02 20:43                           ` Alexey Rusakov
2009-03-03 18:01                           ` Vitaly Ostanin
2009-03-03 19:09                             ` Slava Dubrovskiy
2009-03-03 19:53                               ` Vitaly Ostanin
2009-03-04  4:51                                 ` Ildar Mulyukov
2009-03-04 11:39                                   ` Yuri N. Sedunov
2009-03-04 11:44                                     ` Valery V. Inozemtsev
2009-02-26 20:00                 ` Alexey Rusakov

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=49A436EA.2010808@altlinux.org \
    --to=vyt@altlinux.org \
    --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