[Bug 581572] New: pm-suspend disables Wake on Lan (WOL) when default is set to 'g'
http://bugzilla.novell.com/show_bug.cgi?id=581572 http://bugzilla.novell.com/show_bug.cgi?id=581572#c0 Summary: pm-suspend disables Wake on Lan (WOL) when default is set to 'g' Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: johnk.dev.null@gmail.com QAContact: qa@suse.de Found By: Customer Blocker: No When using pm-suspend, wol is disabled on the primary NIC in spite of the /usr/lib/pm-utils/defaults file setting WOL="g" This is because /usr/lib/pm-utils/power.d/wol has its logic reversed. When called with true as a parameter it disables wol. When called with false it sets the card according to the WOL variable. This is when using pm-utils-0.99.4.20071229-18.2.i586 on Linux myhostname 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 i686 i686 i386 GNU/Linux s2ram -i gives sys_vendor = "Apple Inc." sys_product = "Macmini2,1" sys_version = "1.0" bios_version = " MM21.88Z.009A.B00.0706281359" I have currently reversed the logic in this file to successfully use wol in conjunction with 'Suspend to RAM' but if this is in fact expected behavior then the documentation needs to make this clear and also how to over-ride it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581572 http://bugzilla.novell.com/show_bug.cgi?id=581572#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |mvyskocil@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581572 http://bugzilla.novell.com/show_bug.cgi?id=581572#c1 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED Severity|Normal |Minor --- Comment #1 from Michal Vyskocil <mvyskocil@novell.com> 2010-03-02 15:35:42 UTC --- No, it has not reversed logic. The power.d module got true on transition to battery power (and false from battery power). That means with this script pm-utils switch-off the Wake On Lan on battery. But this behavior is suboptimal, as there is no easy way how to disable wol - needs to change. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581572 http://bugzilla.novell.com/show_bug.cgi?id=581572#c2 --- Comment #2 from John Kelly <johnk.dev.null@gmail.com> 2010-03-05 17:33:24 UTC --- (In reply to comment #1)
No, it has not reversed logic. The power.d module got true on transition to battery power (and false from battery power). That means with this script pm-utils switch-off the Wake On Lan on battery.
But this behavior is suboptimal, as there is no easy way how to disable wol - needs to change.
My machine is on mains power suspending to RAM. No battery involved. I don't want my NIC WOL disabled. What is the recommended way to do this? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581572 http://bugzilla.novell.com/show_bug.cgi?id=581572#c3 --- Comment #3 from Michal Vyskocil <mvyskocil@novell.com> 2010-04-07 13:24:23 UTC --- JFI: I missed the disabling options - there are two ways /etc/pm/config.d/wol.conf with WOL="" or create empty (or your own) script into /etc/pm/power.d/ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581572 http://bugzilla.novell.com/show_bug.cgi?id=581572#c4 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Michal Vyskocil <mvyskocil@novell.com> 2010-04-07 14:03:01 UTC --- anyway it works as I said - the is an another way - power hooks are called with false when entering to suspend|hibernate (see /usr/lib/pm-utils/sleep.d/00powersave), so the wol should be enabled before suspend independently on battery status. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com