ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] apmsleep и pcmcia
@ 2004-08-21 13:10 ` Kirill A. Shutemov
  2004-08-21 13:53   ` Kirill A. Shutemov
  0 siblings, 1 reply; 3+ messages in thread
From: Kirill A. Shutemov @ 2004-08-21 13:10 UTC (permalink / raw)
  To: devel

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

Когда мой ноутбук(ThinkPad 390E) просыпается после apmsleep'a приходится
руками поднимать pcmcia т.е. каждай раз делать service pcmcia restart, что
есть очень не удобно.

Это баг? Если да, то на что вешать?

-- 
Kirill A. Shutemov				Belarus, Minsk
E-mail:	kirya85@mail.ru
JID: kas@altlinux.org
ICQ: 152302675

> Ведь Вы, Дмитрий, всю эту информацию и так держите в голове. Она нужна
> другим.
Зачем вам моя голова? 8-)
		-- ldv in sisyphus@

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] apmsleep и pcmcia
@ 2004-08-21 13:19 Valery V. Inozemtsev
  2004-08-21 13:10 ` Kirill A. Shutemov
  0 siblings, 1 reply; 3+ messages in thread
From: Valery V. Inozemtsev @ 2004-08-21 13:19 UTC (permalink / raw)
  To: devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] apmsleep и pcmcia
  2004-08-21 13:10 ` Kirill A. Shutemov
@ 2004-08-21 13:53   ` Kirill A. Shutemov
  0 siblings, 0 replies; 3+ messages in thread
From: Kirill A. Shutemov @ 2004-08-21 13:53 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Sat, Aug 21, 2004 at 05:19:49PM +0400, Valery V. Inozemtsev wrote:
> В сообщении от 21 Август 2004 17:10 Kirill A. Shutemov написал(a):
> > Когда мой ноутбук(ThinkPad 390E) просыпается после apmsleep'a приходится
> > руками поднимать pcmcia т.е. каждай раз делать service pcmcia restart, что
> > есть очень не удобно.
> 
> я сделал так:
<skip/>
Спасибо! Работает.


> > Это баг? Если да, то на что вешать?
> 
> powermgmt-base
Повесил.

-- 
Kirill A. Shutemov				Belarus, Minsk
E-mail:	kirya85@mail.ru
JID: kas@altlinux.org
ICQ: 152302675

Если бы вы знали, сколько еще пакетов застревает на подходах к Сизифу из-за
претензий по качеству пакетов...

Лучше меньше, да лучше. Можно и больше, но только не хуже.
		-- ldv in sisyphus@

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-21 13:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-21 13:19 [devel] apmsleep и pcmcia Valery V. Inozemtsev
2004-08-21 13:10 ` Kirill A. Shutemov
2004-08-21 13:53   ` Kirill A. Shutemov

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