[PATCH 0/3] WOL: Add Wake On LAN support
Bastien Nocera
hadess at hadess.net
Tue Aug 14 06:34:11 PDT 2007
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.
> GetEnabled(void)
Same here. Can't we get notifications from the kernel when this changes?
> SetEnabled(bool)
--
Bastien Nocera <hadess at hadess.net>
More information about the hal
mailing list