WakeOnLan functions not working for me

Sam Morris sam at robots.org.uk
Sat Apr 19 09:07:37 PDT 2008


On Sat, 2008-04-19 at 17:52 +0200, Holger Macht wrote:
> 
> Right. It seems that you need to echo two strings. One for the
> exception,
> and one for a description. The attached patch fixes this. It is
> simple,
> I'll commit this.

A few other places need this...
org.freedesktop.Hal.Device.WakeOnLan.InvalidArgument is raised at the
end of the script; hal-dockstation-undock-linux raises
org.freedesktop.Hal.Device.DockStation.NotDocked without a description;
hal-system-killswitch-set-power-linux raises
org.freedesktop.Hal.Device.KillSwitch.NotSupported;
hal-system-lcd-get-brightness-linux raises
org.freedesktop.Hal.Device.LaptopPanel.NotSupported... at this point I
quit looking. :)

Maybe it would be better to make hal not require each exception to have
a description? Or at least add a test to ensure that all exceptions
raised by scripts come with a description... this seems harder though
since you'd have to parse the shell scripts (assuming all scripts are
shell scripts which I guess is not necessarily guaranteed)...

-- 
Sam Morris <sam at robots.org.uk>


More information about the hal mailing list