[Comm] hibernate - suspend in ram, pidgin

Владимир Гусев =?iso-8859-1?q?vova1971_=CE=C1_narod=2Eru?=
Пт Ноя 7 12:57:09 MSK 2008


> >> [..]
> > Не, что-то как-то не так работает этот режим 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



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


Подробная информация о списке рассылки community