ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: Sanja Byelkin <sanja@mysql.com>,
	ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: Re: [d-kernel] Re: Fwd: [sisyphus] i8k vs new kernels
Date: Sun, 07 Dec 2003 19:19:12 +0300
Message-ID: <3FD35300.7050600@altlinux.com> (raw)
In-Reply-To: <20030915135708.GA7015@sanja.is.com.ua>

Sanja Byelkin wrote:
> On Mon, Sep 15, 2003 at 05:48:52PM +0400, Sergey Vlasov wrote:
> [skip]
> 
>>>ACPI есть (по крайней мере на dell inspirion 4000), хотя заставить laptop
>>>заснуть с этим acpi так и не получилось - полное невнимание к кнопке
>>>'suspend' и захлопыванию экрана (может за это отвечал как раз i8k? хотя я
>>>лично сомневаюсь).
>>
>>Модуль button при этом был загружен?  (Там всё ACPI на отдельные
>>модули разобрано.)
> 
> 
> Даб Я это заметил и нагрузил модулей руками.
> 
> 
>>Кнопки находятся (/proc/acpi/...)?  Дальше их acpid должен
>>обрабатывать, а там по умолчанию только poweroff настроен.
> 
> 
> ага - точно.
> Только, что вообще можно повесить на suspend/sleep? я не нашел таких команд.
> Раньше похоже все делал BIOS (там настраивается, к примеру, что делать при
> захлопывании экрана). Но события в журнале acpi регистрировались (разные для
> кнопки и экрана) - так, что только одна беда - какими программами на них
> реагировать.

В ядре 2.4 - только software suspend, к сожалению

В ядре 2.6 - можно попробовать сказать echo "3" >/proc/acpi/sleep - 
вдруг уснет ? ;-)

Вообще есть acpid, который позволяет вешать события на приходящее из 
/proc/acpi/events

Rgds,
Rider



      parent reply	other threads:[~2003-12-07 16:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-14 13:00 [d-kernel] " Michael Shigorin
2003-09-15 11:13 ` [d-kernel] " Sergey Vlasov
2003-09-15 13:11   ` Sanja Byelkin
2003-09-15 13:48     ` Sergey Vlasov
2003-09-15 13:57       ` Sanja Byelkin
2003-09-15 14:12         ` Sergey Vlasov
2003-09-15 16:06           ` Anton Farygin
2003-12-07 16:19         ` Anton Farygin [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=3FD35300.7050600@altlinux.com \
    --to=rider@altlinux.com \
    --cc=devel-kernel@altlinux.ru \
    --cc=sanja@mysql.com \
    /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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git