ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hibernate on wks26
@ 2006-07-03  5:20 Alexander Volkov
  2006-07-03  5:30 ` Andrey Rahmatullin
  2006-07-03  6:08 ` Alex Yustasov
  0 siblings, 2 replies; 14+ messages in thread
From: Alexander Volkov @ 2006-07-03  5:20 UTC (permalink / raw)
  To: sisyphus

Hi!
Народ, поделитесь тайным знанием ;), как уснуть на диск с помощью
hibernate, без powersave? Как то день промучился - не выходит
каменный цветок :(

Starting suspend at Sun Jul 2 20:18:39 MSD 2006                                           
Kernel 2.6.14-wks26-up-alt4                                                               
Config file /etc/hibernate/hibernate2.6.conf                                              
hibernate: [01] Executing CheckLastResume ...                                             
hibernate: [01] Executing LockFileGet ...                                                 
hibernate: [01] Executing NewKernelFileCheck ...                                          
hibernate: [10] Executing EnsureSwsusp2Capable ...                                        
Your kernel does not have any recent Software Suspend 2 support compiled
in.              
Please follow the HOWTO linked from http://www.suspend2.net/ for
instructions             
on how to compile Software Suspend into your kernel.                                      
hibernate: EnsureSwsusp2Capable refuses to let us continue.                               
hibernate: Aborting.                                                                      
hibernate: [01] Executing NoteLastResume ...                                              
hibernate: [01] Executing LockFilePut ...                                                 
Resumed at Sun Jul 2 20:18:39 MSD 2006 

Ну и попутный вопрос - как кнопку sleep на это дело повесить, которая при
закрывании крышки бука срабатывает?


--
 Regards, Alexander



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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  5:20 [sisyphus] hibernate on wks26 Alexander Volkov
@ 2006-07-03  5:30 ` Andrey Rahmatullin
  2006-07-03  6:58   ` Alexander Volkov
  2006-07-03  6:08 ` Alex Yustasov
  1 sibling, 1 reply; 14+ messages in thread
From: Andrey Rahmatullin @ 2006-07-03  5:30 UTC (permalink / raw)
  To: sisyphus

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

On Mon, Jul 03, 2006 at 09:20:08AM +0400, Alexander Volkov wrote:
> Your kernel does not have any recent Software Suspend 2 support compiled
> in.              
Гм.

> Ну и попутный вопрос - как кнопку sleep на это дело повесить, которая при
> закрывании крышки бука срабатывает?
acpid настроить.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

<Hiddenman> у меня вот java тормозит....как ее ускорить? ;-)
<Pilot> настоящие поклонники Явы никогда не говорят "тормозит", они говорят, что в данный момент самое подходящее время для запуска garbage collector или ещё что-то в таком роде :)

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

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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  5:20 [sisyphus] hibernate on wks26 Alexander Volkov
  2006-07-03  5:30 ` Andrey Rahmatullin
@ 2006-07-03  6:08 ` Alex Yustasov
  2006-07-03  6:56   ` Alexander Volkov
  1 sibling, 1 reply; 14+ messages in thread
From: Alex Yustasov @ 2006-07-03  6:08 UTC (permalink / raw)
  To: sisyphus

On Mon, Jul 03, 2006 at 09:20:08AM +0400, Alexander Volkov wrote:
> Hi!
> Народ, поделитесь тайным знанием ;), как уснуть на диск с помощью
> hibernate, без powersave? Как то день промучился - не выходит
> каменный цветок :(
> 
> Starting suspend at Sun Jul 2 20:18:39 MSD 2006                                           
> Kernel 2.6.14-wks26-up-alt4                                                               
> Config file /etc/hibernate/hibernate2.6.conf                                              
> hibernate: [01] Executing CheckLastResume ...                                             
> hibernate: [01] Executing LockFileGet ...                                                 
> hibernate: [01] Executing NewKernelFileCheck ...                                          
> hibernate: [10] Executing EnsureSwsusp2Capable ...                                        
> Your kernel does not have any recent Software Suspend 2 support compiled
> in.              
Это полностью сизиф или Compact? 
rpm -qa hibernate?

-- 
    Alex Yustasov

ALT Linux fortune:
Единственный helper, которому я доверяю, это /usr/lib/utempter/utempter из
пакета libutempter, ибо я написал его с нуля, пользуясь лишь идеей
Eric Troan'овского utempter'а.
		-- ldv in devel@


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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  6:08 ` Alex Yustasov
@ 2006-07-03  6:56   ` Alexander Volkov
  2006-07-03  8:18     ` Alex Yustasov
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Volkov @ 2006-07-03  6:56 UTC (permalink / raw)
  To: sisyphus; +Cc: Alex Yustasov

On 2006-07-03 09:08:08 +0300, Alex Yustasov wrote:
Y> > Your kernel does not have any recent Software Suspend 2 support compiled
AY> > in.              
AY> Это полностью сизиф или Compact? 
AY> rpm -qa hibernate?
это мастер с ядрами и mkinitrd из сизифа.
hibernate-1.0.8-alt2.M24.0.1
AY> -- 
AY>     Alex Yustasov
-
 Regards, Alexander



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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  5:30 ` Andrey Rahmatullin
@ 2006-07-03  6:58   ` Alexander Volkov
  2006-07-03 16:24     ` Andrey Rahmatullin
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Volkov @ 2006-07-03  6:58 UTC (permalink / raw)
  To: sisyphus

On 2006-07-03 11:30:31 +0600, Andrey Rahmatullin wrote:
AR> On Mon, Jul 03, 2006 at 09:20:08AM +0400, Alexander Volkov wrote:
AR> > Your kernel does not have any recent Software Suspend 2 support compiled
AR> > in.              
AR> Гм.

AR> > Ну и попутный вопрос - как кнопку sleep на это дело повесить, которая при
AR> > закрывании крышки бука срабатывает?
AR> acpid настроить.
а подробнее?

--
 Regards, Alexander



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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  6:56   ` Alexander Volkov
@ 2006-07-03  8:18     ` Alex Yustasov
  2006-07-03  8:59       ` Alexander Volkov
                         ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Alex Yustasov @ 2006-07-03  8:18 UTC (permalink / raw)
  To: sisyphus

On Mon, Jul 03, 2006 at 10:56:34AM +0400, Alexander Volkov wrote:
> On 2006-07-03 09:08:08 +0300, Alex Yustasov wrote:
> Y> > Your kernel does not have any recent Software Suspend 2 support compiled
> AY> > in.              
> AY> Это полностью сизиф или Compact? 
> AY> rpm -qa hibernate?
> это мастер с ядрами и mkinitrd из сизифа.
> hibernate-1.0.8-alt2.M24.0.1
Для 2.6.14 нужен hibernate-1.12 из сизифа.
А про acpi для кнопки power в /etc/acpi/events/power
event=button/power
action=hibernate
Для sleep в /etc/acpi/events/sleep
event=button/sleep
action=hibernate
А как называется событие, когда закрывается крышка - не знаю.

-- 
    Alex Yustasov

ALT Linux fortune:
Дупы, еще куда ни шло. А трипы зачем? ;-)
		-- zerg in sisyphus@


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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  8:18     ` Alex Yustasov
@ 2006-07-03  8:59       ` Alexander Volkov
  2006-07-03  9:03       ` Andrey Khavryuchenko
  2006-07-03  9:52       ` Alexander Volkov
  2 siblings, 0 replies; 14+ messages in thread
From: Alexander Volkov @ 2006-07-03  8:59 UTC (permalink / raw)
  To: sisyphus; +Cc: Alex Yustasov

On 2006-07-03 11:18:19 +0300, Alex Yustasov wrote:
AY> On Mon, Jul 03, 2006 at 10:56:34AM +0400, Alexander Volkov wrote:
AY> > On 2006-07-03 09:08:08 +0300, Alex Yustasov wrote:
AY> > Y> > Your kernel does not have any recent Software Suspend 2 support compiled
AY> > AY> > in.              
AY> > AY> Это полностью сизиф или Compact? 
AY> > AY> rpm -qa hibernate?
AY> > это мастер с ядрами и mkinitrd из сизифа.
AY> > hibernate-1.0.8-alt2.M24.0.1
AY> Для 2.6.14 нужен hibernate-1.12 из сизифа.

ок, пересобрался без проблем, заодно в бэкпортс закину...
AY> А про acpi для кнопки power в /etc/acpi/events/power
AY> event=button/power
AY> action=hibernate
AY> Для sleep в /etc/acpi/events/sleep
AY> event=button/sleep
AY> action=hibernate
AY> А как называется событие, когда закрывается крышка - не знаю.
я нажимал на кнопку - sleep срабатывает :)
Спасибо, бум пробовать.

-
 Regards, Alexander



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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  8:18     ` Alex Yustasov
  2006-07-03  8:59       ` Alexander Volkov
@ 2006-07-03  9:03       ` Andrey Khavryuchenko
  2006-07-03  9:52       ` Alexander Volkov
  2 siblings, 0 replies; 14+ messages in thread
From: Andrey Khavryuchenko @ 2006-07-03  9:03 UTC (permalink / raw)
  To: sisyphus

Alex,

"AY" == Alex Yustasov wrote:

 AY> А как называется событие, когда закрывается крышка - не знаю.

lid?

akhavr@t30 /tmp $ cat /etc/acpi/events/lid
event=button/lid
action=/etc/acpi/actions/sleep.sh "%e"


-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  8:18     ` Alex Yustasov
  2006-07-03  8:59       ` Alexander Volkov
  2006-07-03  9:03       ` Andrey Khavryuchenko
@ 2006-07-03  9:52       ` Alexander Volkov
  2006-07-03 10:22         ` Alex Yustasov
  2 siblings, 1 reply; 14+ messages in thread
From: Alexander Volkov @ 2006-07-03  9:52 UTC (permalink / raw)
  To: sisyphus; +Cc: Alex Yustasov

On 2006-07-03 11:18:19 +0300, Alex Yustasov wrote:
AY> On Mon, Jul 03, 2006 at 10:56:34AM +0400, Alexander Volkov wrote:
AY> > On 2006-07-03 09:08:08 +0300, Alex Yustasov wrote:
AY> > Y> > Your kernel does not have any recent Software Suspend 2 support compiled
AY> > AY> > in.              
AY> > AY> Это полностью сизиф или Compact? 
AY> > AY> rpm -qa hibernate?
AY> > это мастер с ядрами и mkinitrd из сизифа.
AY> > hibernate-1.0.8-alt2.M24.0.1
AY> Для 2.6.14 нужен hibernate-1.12 из сизифа.
AY> А про acpi для кнопки power в /etc/acpi/events/power
AY> event=button/power
AY> action=hibernate
AY> Для sleep в /etc/acpi/events/sleep
AY> event=button/sleep
AY> action=hibernate
AY> А как называется событие, когда закрывается крышка - не знаю.

[Sun Jul  2 20:44:31 2006] received event "button/sleep SLPB 00000080
00000001"           
[Sun Jul  2 20:44:31 2006] completed event "button/sleep SLPB 00000080
00000001"          
это вчера поймалось. А сегодня, сколько не нажимаю - никак событие не
генерится :( Только мартица гаснет. Странно.
--
 Regards, Alexander



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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  9:52       ` Alexander Volkov
@ 2006-07-03 10:22         ` Alex Yustasov
  2006-07-03 10:44           ` Alexander Volkov
  0 siblings, 1 reply; 14+ messages in thread
From: Alex Yustasov @ 2006-07-03 10:22 UTC (permalink / raw)
  To: sisyphus

On Mon, Jul 03, 2006 at 01:52:42PM +0400, Alexander Volkov wrote:
> [Sun Jul  2 20:44:31 2006] received event "button/sleep SLPB 00000080
> 00000001"           
> [Sun Jul  2 20:44:31 2006] completed event "button/sleep SLPB 00000080
> 00000001"          
> это вчера поймалось. А сегодня, сколько не нажимаю - никак событие не
> генерится :( Только мартица гаснет. Странно.
kernel: ACPI: Battery Slot [BAT0] (battery present)
kernel: ACPI: AC Adapter [AC] (on-line)
kernel: ACPI: Power Button (FF) [PWRF]
kernel: ACPI: Sleep Button (CM) [SLPB]
kernel: ACPI: CPU0 (power states: C1[C1] C2[C2])
kernel: ACPI: Processor [CPU0] (supports 8 throttling states)

Это при загрузке. Может acpid не стартует?
Не помню, когда вместо acpid и apm стал service power.
Модуль button грузится? У меня в /etc/modules.
Последнее, кажется, вероятнее.

-- 
    Alex Yustasov

ALT Linux fortune:
опять где-то что-то недонастроено ;-(
		-- rider in devel@


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

* Re: [sisyphus] hibernate on wks26
  2006-07-03 10:22         ` Alex Yustasov
@ 2006-07-03 10:44           ` Alexander Volkov
  2006-07-03 11:32             ` Alex Yustasov
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Volkov @ 2006-07-03 10:44 UTC (permalink / raw)
  To: sisyphus; +Cc: Alex Yustasov

On 2006-07-03 13:22:25 +0300, Alex Yustasov wrote:
AY> On Mon, Jul 03, 2006 at 01:52:42PM +0400, Alexander Volkov wrote:
AY> > [Sun Jul  2 20:44:31 2006] received event "button/sleep SLPB 00000080
AY> > 00000001"           
AY> > [Sun Jul  2 20:44:31 2006] completed event "button/sleep SLPB 00000080
AY> > 00000001"          
AY> > это вчера поймалось. А сегодня, сколько не нажимаю - никак событие не
AY> > генерится :( Только мартица гаснет. Странно.
AY> kernel: ACPI: Battery Slot [BAT0] (battery present)
AY> kernel: ACPI: AC Adapter [AC] (on-line)
AY> kernel: ACPI: Power Button (FF) [PWRF]
AY> kernel: ACPI: Sleep Button (CM) [SLPB]
AY> kernel: ACPI: CPU0 (power states: C1[C1] C2[C2])
AY> kernel: ACPI: Processor [CPU0] (supports 8 throttling states)

AY> Это при загрузке. Может acpid не стартует?
AY> Не помню, когда вместо acpid и apm стал service power.
AY> Модуль button грузится? У меня в /etc/modules.
AY> Последнее, кажется, вероятнее.
У меня так же...кнопак события не генерит.
Повесил hibernate на power button - всё отработало как надо.
-
 Regards, Alexander



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

* Re: [sisyphus] hibernate on wks26
  2006-07-03 10:44           ` Alexander Volkov
@ 2006-07-03 11:32             ` Alex Yustasov
  2006-07-03 12:03               ` Alexander Volkov
  0 siblings, 1 reply; 14+ messages in thread
From: Alex Yustasov @ 2006-07-03 11:32 UTC (permalink / raw)
  To: sisyphus

On Mon, Jul 03, 2006 at 02:44:04PM +0400, Alexander Volkov wrote:
> AY> kernel: ACPI: Power Button (FF) [PWRF]
> AY> kernel: ACPI: Sleep Button (CM) [SLPB]
> 
> AY> Это при загрузке. Может acpid не стартует?
> AY> Не помню, когда вместо acpid и apm стал service power.
> AY> Модуль button грузится? У меня в /etc/modules.
> AY> Последнее, кажется, вероятнее.
> У меня так же...кнопак события не генерит.
> Повесил hibernate на power button - всё отработало как надо.
Верхние две строчки у Вас тоже есть, или только про Power?
Если только одна, то где-то в BIOS переключить про 4 сек нажатие на power.
Просто нажать - sleep, держать 4 сек. - power. 

-- 
    Alex Yustasov

ALT Linux fortune:
Мы сейчас с Димой поговорили... поговорили... В общем, я думаю, мы их
переместили в /usr/include, чтобы отметить особо, что мы переходим на
новую схему. Я думал над причиной в течении минуты, и это единственное
похожее на рациональное.
		-- nidd in devel-kernel@


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

* Re: [sisyphus] hibernate on wks26
  2006-07-03 11:32             ` Alex Yustasov
@ 2006-07-03 12:03               ` Alexander Volkov
  0 siblings, 0 replies; 14+ messages in thread
From: Alexander Volkov @ 2006-07-03 12:03 UTC (permalink / raw)
  To: sisyphus; +Cc: Alex Yustasov

On 2006-07-03 14:32:36 +0300, Alex Yustasov wrote:
AY> On Mon, Jul 03, 2006 at 02:44:04PM +0400, Alexander Volkov wrote:
AY> > AY> kernel: ACPI: Power Button (FF) [PWRF]
AY> > AY> kernel: ACPI: Sleep Button (CM) [SLPB]
AY> > 
AY> > AY> Это при загрузке. Может acpid не стартует?
AY> > AY> Не помню, когда вместо acpid и apm стал service power.
AY> > AY> Модуль button грузится? У меня в /etc/modules.
AY> > AY> Последнее, кажется, вероятнее.
AY> > У меня так же...кнопак события не генерит.
AY> > Повесил hibernate на power button - всё отработало как надо.
AY> Верхние две строчки у Вас тоже есть, или только про Power?
AY> Если только одна, то где-то в BIOS переключить про 4 сек нажатие на power.
AY> Просто нажать - sleep, держать 4 сек. - power. 
да, acpi видит обе кнопки
-
 Regards, Alexander



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

* Re: [sisyphus] hibernate on wks26
  2006-07-03  6:58   ` Alexander Volkov
@ 2006-07-03 16:24     ` Andrey Rahmatullin
  0 siblings, 0 replies; 14+ messages in thread
From: Andrey Rahmatullin @ 2006-07-03 16:24 UTC (permalink / raw)
  To: sisyphus

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

On Mon, Jul 03, 2006 at 10:58:40AM +0400, Alexander Volkov wrote:
> AR> acpid настроить.
> а подробнее?
1. Отрубить acpid
2. Сказать cat /proc/acpi/event
3. Нажать кнопку и прочитать, что пишется.
4. Прочитать документацию на acpid и сделать ему конфиг, по событию из
пред. пункта вызывающий нужную команду.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> [...] создается впечатление, что данный пакет [openldap] нужен только
> 1-2 подписчикам ( а на самом деле их больше :) )
А вы его криво соберите, и сразу узнаете, сколько человек его
используют!.. ;)
		-- ns in sisyphus@

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

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

end of thread, other threads:[~2006-07-03 16:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-03  5:20 [sisyphus] hibernate on wks26 Alexander Volkov
2006-07-03  5:30 ` Andrey Rahmatullin
2006-07-03  6:58   ` Alexander Volkov
2006-07-03 16:24     ` Andrey Rahmatullin
2006-07-03  6:08 ` Alex Yustasov
2006-07-03  6:56   ` Alexander Volkov
2006-07-03  8:18     ` Alex Yustasov
2006-07-03  8:59       ` Alexander Volkov
2006-07-03  9:03       ` Andrey Khavryuchenko
2006-07-03  9:52       ` Alexander Volkov
2006-07-03 10:22         ` Alex Yustasov
2006-07-03 10:44           ` Alexander Volkov
2006-07-03 11:32             ` Alex Yustasov
2006-07-03 12:03               ` Alexander Volkov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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