From: "Valery V. Inozemtsev" <shrek@freesource.info>
To: devel@altlinux.ru
Subject: Re: [devel] apmsleep и pcmcia
Date: Sat, 21 Aug 2004 17:19:49 +0400
Message-ID: <200408211719.59408.shrek@freesource.info> (raw)
In-Reply-To: 8508a086a8891526d3019e02b01948f4 -@kashome.kasnet
[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]
В сообщении от 21 Август 2004 17:10 Kirill A. Shutemov написал(a):
> Когда мой ноутбук(ThinkPad 390E) просыпается после apmsleep'a приходится
> руками поднимать pcmcia т.е. каждай раз делать service pcmcia restart, что
> есть очень не удобно.
я сделал так:
/etc/apm/scripts.d/pcmcia
--------------------------------------------------------------------------
#!/bin/sh -e
# Restart pcmcia around suspend/resume.
# suspend,resume: 70,20
[ -x /etc/init.d/pcmcia ] || exit 0
lock=/var/run/apm/pcmcia
case "$1,$2" in
suspend,*)
if [ -f /var/lock/subsys/pcmcia ]; then
service pcmcia stop
touch "$lock"
else
rm -f "$lock"
fi
;;
resume,suspend)
if [ -f "$lock" ]; then
rm -f "$lock"
service pcmcia start
fi
;;
esac
exit 0
-------------------------------------------------------------------------
/etc/apm/suspend.d/70pcmcia -> ../scripts.d/pcmcia
/etc/apm/resume.d/20pcmcia -> ../scripts.d/pcmcia
>
> Это баг? Если да, то на что вешать?
powermgmt-base
--
Valery V. Inozemtsev
Powered by ALT Linux Sisyphus (20040813)
ftp://ftp.altlinux.ru/pub/people/shrek/
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2004-08-21 13:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-21 13:19 Valery V. Inozemtsev [this message]
2004-08-21 13:10 ` Kirill A. Shutemov
2004-08-21 13:53 ` Kirill A. Shutemov
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=200408211719.59408.shrek@freesource.info \
--to=shrek@freesource.info \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git