From: Michael Pozhidaev <msp@altlinux.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] acpi-события
Date: Sat, 08 Mar 2008 03:17:20 +0600
Message-ID: <m3zltaz127.fsf@blard.localdomain> (raw)
In-Reply-To: <200803071306.37328.trash4@yandex.ru> (Guest's message of "Fri\, 7 Mar 2008 13\:06\:37 +0300")
Здравствуйте, Guest007!
> Это я сначала выключил bluetooth соотв. кнопкой, а потом нажал кнопку рядом
> (включение wi-fi карточки).
>
>
> И как переназначить имеющееся (например Fn-F1 поидее должна переводить в
> ждущий режим (suspend-to-RAM) а на самом деле засыпает ноут на диск.
А Fn-F1 генерит ACPI событие? Видимо, тут нужно
свериться с /etc/powersave/event.
То что там пишется после равно справа - это скрипты из /usr/lib/powersave/scripts, плюс ещё есть некоторые внутренние команды.
Порядок действий можно сделать таким:
1. Запустить acpi_listen, нажать нужную клавишу и посмотреть что за событие
вылазит и с каким кодом.
2. Проверить файл events на предмет этого события.
Эти события можно ловить ещё и через acpid в /etc/acpi/events.ignore,
но это, как мне кажется, очень плохая идея, и не предполагается, что так будет делаться, хотя работает.
Обработчики, вообще, могут быть любыми, но иногда не совсем очевидно, как составить нужный скрипт.
>
--
С уважением и наилучшими пожеланиями, Михаил Пожидаев. E-mail: msp@altlinux.ru.
Томский государственный университет. Факультет информатики. http://www.csd.tsu.ru
AltLinux Team. http://www.altlinux.ru
next prev parent reply other threads:[~2008-03-07 21:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 10:06 Guest007
2008-03-07 11:59 ` ABATAPA
2008-03-07 21:17 ` Michael Pozhidaev [this message]
2008-03-12 11:35 ` Guest007
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=m3zltaz127.fsf@blard.localdomain \
--to=msp@altlinux.ru \
--cc=hardware@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 hardware support
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
public-inbox-index hardware
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.hardware
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git