[PATCH 0/3] WOL: Add Wake On LAN support

Holger Macht hmacht at suse.de
Tue Aug 14 06:44:10 PDT 2007


On Tue 14. Aug - 14:34:11, Bastien Nocera wrote:
> On Tue, 2007-08-14 at 15:21 +0200, Holger Macht wrote:
> > The following patch series adds support for Wake On LAN (WOL) to HAL. In
> > this context, adding Wake On LAN support means adding support for ethtool,
> > which is supported by various drivers.
> > 
> > I was surprised to see for how many systems this actually works. The
> > common problem is just that it's not configured correctly on most distros,
> > and that there is no easy way to enable/disable it from the desktop if
> > supported.
> > 
> > The patches add the following new interface to any network device with the
> > capability 'net.80203':
> > 
> >  org.freedesktop.Hal.Device.WakeOnLan
> > 
> > The interface provides the following methods:
> > 
> >  GetSupported(void)
> 
> As whether the device supports it is unlikely to change, why not make
> this a property?
> 
> You'd probably need to add the detection in the coldplug routine of HAL.

But it might change underneath us...

> >  GetEnabled(void)
> 
> Same here. Can't we get notifications from the kernel when this changes?

This would require additional kernel (uevent) support...yes could be
doable, but I don't think it is worth the effort. Maybe...

Regards,
	Holger


More information about the hal mailing list