ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: кнопка power & poweroff ?
Date: Thu, 14 Aug 2003 21:16:42 +0400
Message-ID: <3F3BC3FA.1040009@altlinux.com> (raw)
In-Reply-To: <20030814115402.GW17616@osdn.org.ua>

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

Michael Shigorin пишет:
> On Thu, Aug 14, 2003 at 12:14:34PM +0300, Vadim V. Zhytnikov wrote:
> 
>>>а модуль button в ядро загружен ?
>>
>>Оп!  В этом и была вся засада.  С button всё отлично заработало.
> 
> 
> Угу, на .21-alt12 завелось. (на alt7 дополнительно что-то про
> отключаемый при загрузке via acpi было, если склероз подводит --
> но про depmod -a; modprobe button я тогда не додумался)
> 
> Антон, а как ты думаешь, при каких условиях было бы осмысленно
> помещать button в /etc/modules автоматом?  Или ну его?

В /etc/modules его не надо помещать ни при каких условиях.

Сделай так:

1) Объеденить скрипты apmd и acpid в один  (как назвать - сам придумай)
2) Скрипт должен смотреть на наличие /proc/acpi и если есть - пробовать 
подгружать все модули, прописанные например в /etc/sysconfig/acpi
3) Если нет /proc/acpi (и нет /usr/sbin/acpid) - стартуй apmd

Вот. Я так думаю - будет правильно.

Rgds,
Rider

[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]

  reply	other threads:[~2003-08-14 17:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-14  7:49 [sisyphus] " Vadim V. Zhytnikov
2003-08-14  7:33 ` Anton Farygin
2003-08-14  9:14   ` Vadim V. Zhytnikov
2003-08-14 11:54     ` [sisyphus] " Michael Shigorin
2003-08-14 17:16       ` Anton Farygin [this message]
2003-08-14 19:13         ` Michael Shigorin
2003-08-14 20:09           ` Anton Farygin
2003-08-14 20:19             ` Michael Shigorin
2003-08-15  4:22               ` Anton Farygin
2003-08-14  9:52   ` [sisyphus] " Mike Lykov
2003-08-14 10:04     ` Ildar Mulyukov
2003-08-14 17:17     ` Anton Farygin
2003-08-15  8:55       ` Mike Lykov

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=3F3BC3FA.1040009@altlinux.com \
    --to=rider@altlinux.com \
    --cc=sisyphus@altlinux.ru \
    /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