public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Suspend and wake on lan
@ 2007-01-10 20:50 Rob Walker
  2007-01-10 20:59 ` [Suspend-devel] " Rafael J. Wysocki
  2007-01-11 11:37 ` Pavel Machek
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Walker @ 2007-01-10 20:50 UTC (permalink / raw)
  To: linux-pm, suspend-devel

Hi,

I'm having some trouble getting wake on lan to work after the computer is 
suspended.  Wake on Lan works if I shut down the computer normally (i.e. it 
powers up again when I send the magic packet), but doesn't wake up when I 
suspend the computer to disk and then send the magic packet.  I ensure that 
wake on lan is enabled before suspending by running `ethtool -s eth0 wol g`.

The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with VIA 
KT400 chipset.
The on board network chip is a RealTek RTL8139, using the 8139too driver.

I've tried the kernel from debian testing (2.6.18) and a hand built 2.6.19.1 
kernel, both with the same results.  

I've tried uswsusp and the in-kernel suspend, again both with the same 
results.

Can you help?

Regards

Rob

-- 
Rob Walker <rob@tenfoot.org.uk>
http://www.tenfoot.org.uk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: [Suspend-devel] Suspend and wake on lan
  2007-01-10 20:50 Suspend and wake on lan Rob Walker
@ 2007-01-10 20:59 ` Rafael J. Wysocki
  2007-01-11 11:37 ` Pavel Machek
  1 sibling, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2007-01-10 20:59 UTC (permalink / raw)
  To: Rob Walker; +Cc: suspend-devel, linux-pm

Hi,

On Wednesday, 10 January 2007 21:50, Rob Walker wrote:
> Hi,
> 
> I'm having some trouble getting wake on lan to work after the computer is 
> suspended.  Wake on Lan works if I shut down the computer normally (i.e. it 
> powers up again when I send the magic packet), but doesn't wake up when I 
> suspend the computer to disk and then send the magic packet.  I ensure that 
> wake on lan is enabled before suspending by running `ethtool -s eth0 wol g`.
> 
> The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with VIA 
> KT400 chipset.
> The on board network chip is a RealTek RTL8139, using the 8139too driver.
> 
> I've tried the kernel from debian testing (2.6.18) and a hand built 2.6.19.1 
> kernel, both with the same results.  
> 
> I've tried uswsusp and the in-kernel suspend, again both with the same 
> results.
> 
> Can you help?

Hm, not really, but I think the 8139too's suspend routine does something
that disables WOL.

Please try to contact the author/maintianer of the driver.

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King

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

* Re: Suspend and wake on lan
  2007-01-10 20:50 Suspend and wake on lan Rob Walker
  2007-01-10 20:59 ` [Suspend-devel] " Rafael J. Wysocki
@ 2007-01-11 11:37 ` Pavel Machek
  2007-01-11 20:11   ` Rob Walker
  1 sibling, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2007-01-11 11:37 UTC (permalink / raw)
  To: Rob Walker; +Cc: suspend-devel, linux-pm

Hi!

> I'm having some trouble getting wake on lan to work after the computer is 
> suspended.  Wake on Lan works if I shut down the computer normally (i.e. it 
> powers up again when I send the magic packet), but doesn't wake up when I 
> suspend the computer to disk and then send the magic packet.  I ensure that 
> wake on lan is enabled before suspending by running `ethtool -s eth0 wol g`.
> 
> The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with VIA 
> KT400 chipset.
> The on board network chip is a RealTek RTL8139, using the 8139too driver.
> 
> I've tried the kernel from debian testing (2.6.18) and a hand built 2.6.19.1 
> kernel, both with the same results.  
> 
> I've tried uswsusp and the in-kernel suspend, again both with the same 
> results.

> Can you help?

Rmmod 8139 driver before suspend and use shutdown, not platform, mode?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: Suspend and wake on lan
  2007-01-11 11:37 ` Pavel Machek
@ 2007-01-11 20:11   ` Rob Walker
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Walker @ 2007-01-11 20:11 UTC (permalink / raw)
  To: Pavel Machek; +Cc: suspend-devel, linux-pm

On Thursday 11 January 2007 11:37, Pavel Machek wrote:
> Hi!
>
> > I'm having some trouble getting wake on lan to work after the computer is
> > suspended.  Wake on Lan works if I shut down the computer normally (i.e.
> > it powers up again when I send the magic packet), but doesn't wake up
> > when I suspend the computer to disk and then send the magic packet.  I
> > ensure that wake on lan is enabled before suspending by running `ethtool
> > -s eth0 wol g`.
> >
> > The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with
> > VIA KT400 chipset.
> > The on board network chip is a RealTek RTL8139, using the 8139too driver.
> >
> > I've tried the kernel from debian testing (2.6.18) and a hand built
> > 2.6.19.1 kernel, both with the same results.
> >
> > I've tried uswsusp and the in-kernel suspend, again both with the same
> > results.
> >
> > Can you help?
>
> Rmmod 8139 driver before suspend and use shutdown, not platform, mode?
>
> 									Pavel

Thanks, that works now. 

Regards

Rob

-- 
Rob Walker <rob@tenfoot.org.uk>
http://www.tenfoot.org.uk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2007-01-11 20:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10 20:50 Suspend and wake on lan Rob Walker
2007-01-10 20:59 ` [Suspend-devel] " Rafael J. Wysocki
2007-01-11 11:37 ` Pavel Machek
2007-01-11 20:11   ` Rob Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox