ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] hibernate - suspend in ram, pidgin
Date: Fri, 7 Nov 2008 12:57:09 +0300
Message-ID: <20081107125709.1076c98c@book.gusev.ru> (raw)
In-Reply-To: <4913F9FF.7030007@rambler.ru>

> >> [..]
> > Не, что-то как-то не так работает этот режим suspend в ram..
> > Поначалу все работало, но вот потом, при подключении к
> > порт-коннектору, все как-то не так. Например, такой алгоритм
> > действий:
> > [..]
> >> [..]
> >> В /etc/hibernate/common.conf есть строки про Gaim. Рудимент ли это
> >> (баг?), или эти настройки про Gaim будут применимы к Pidgin?
> >> Программа все-таки переименовалась и видоизменилась сильно..
> > Заглянул и в /etc/hibernate/scriptlets.d/gaim - там везде gaim..
> > Может где-то есть какой-нибудь алиас, что ли, который привязывает
> > pidgin (или purple) с gaim? Или действительно ошибка. Ибо на любые
> > изменения с common.conf, касающиеся Gaim, не особо влияют на
> > поведение Pidgin после пробуждения ноута..
> powersave стоит? powersaved запущен?

Да.

[root@book hibernate]# rpm -qa |grep power
powersave-0.15.20-alt1.M41.2
powermgmt-base-1.22-alt1
wmpower-0.4.2-alt4
libpowersave-0.15.20-alt1.M41.2

[root@book hibernate]# rpm -qa |grep hiber
hibernate-1.97-alt2
hibernate-cleanup-1.97-alt2

[root@book hibernate]# rpm -qa |grep susp
suspend-0.50.cvs20070216-alt2

powersaved     	0:off 1:off 2:on 3:on 4:on 5:on 6:off

[root@book hibernate]# service powersaved status
acpid is running
powersaved is running

[root@book hibernate]# cat hibernate.conf
# hibernate.conf is split into separate configuration files.
# 
# Each file is tried in the order below, until an available suspend
# method is found.
# 
# Options specific to a particular suspend method should be placed in the
# appropriate configuration file (suspend2.conf, ususpend.conf, disk.conf
# or ram.conf).
# Options common to all suspend methods should be placed in common.conf.
#
# See hibernate.conf(5) for help on the configuration items.

TryMethod ram.conf
TryMethod suspend2.conf
TryMethod disk.conf

[root@book hibernate]# cat sysfs-ram.conf
# This file is used when suspending to RAM. Add any configuration options
# specific to suspend-to-RAM to this file. Ordering is not crucial, and options
# are not case-sensitive.
# 
# See hibernate.conf(5) for help on the configuration items.

UseSysfsPowerState mem

Include common.conf
[root@book hibernate]# cat ususpend-ram.conf
# This file is used when suspending to RAM using the uswsusp functionality in
# the kernel. You will require the s2disk binary to be installed - this can be
# downloaded from http://suspend.sourceforge.net/ . On Debian systems, just
# install the uswsusp package.
# Add any configuration options specific to ususpend to this file. Ordering is
# not crucial, and options are not case-sensitive.
# 
# See hibernate.conf(5) for help on the configuration items.

USuspendMethod ram

## if needed, pass the -f option to s2ram
USuspendRamForce yes

## if s2ram is unsure, let it use system-specific options instead of having to
## force it.
# USuspendRamUnsureOk yes

## if needed, pass the -m option to s2ram
## (-m should be used instead of -s, if possible; see
## https://bugzilla.novell.com/show_bug.cgi?id=229603)
# USuspendRamVbeMode yes

## if needed, pass the -s option to s2ram
## (if possible, prefer -m to -s; see above)
# USuspendRamVbeSave yes

## if needed, pass the -p option to s2ram
# USuspendRamVbePost yes

## if needed, pass the -a option to s2ram
## (Intel users see: http://en.opensuse.org/S2ram#Intel_Graphics_Chipsets)
# USuspendRamAcpiSleep 3

Include common.conf



-- 
С уважением,
Владимир Гусев


  reply	other threads:[~2008-11-07  9:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06 17:19 Владимир Гусев
2008-11-07  7:05 ` Владимир Гусев
2008-11-07  8:19   ` Kharitonov A. Dmitry
2008-11-07  9:57     ` Владимир Гусев [this message]
2008-11-07 10:09       ` Владимир Гусев
2008-11-07 10:45         ` Kharitonov A. Dmitry
2008-11-08 19:42           ` Kharitonov A. Dmitry
2008-11-11  8:56             ` Владимир Гусев
2008-11-11 10:21               ` Kharitonov A. Dmitry
2008-11-13 19:36                 ` Владимир Гусев
2008-11-13 20:41                   ` Kharitonov A. Dmitry
2008-11-13 20:47                     ` Владимир Гусев
2008-11-14  3:19                       ` Denis G. Samsonenko

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=20081107125709.1076c98c@book.gusev.ru \
    --to=vova1971@narod.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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