hal vs acpid

Zdenek Prikryl zprikryl at redhat.com
Thu Mar 27 02:59:55 PDT 2008


Scott White napsal(a):
> Hello,
> 
> I compiled 2.6.25-rc7 without legacy support for acpi.  This of course 
> will break acpid since it can't open /proc/acpi/event.  Not a problem HAL 
> should take over.  I reboot with 2.6.25-rc7, acpid gives error, HAL starts,
> I login, I press the power button and nothing happens.  In acpid if I press
> the power button the system shuts down.  I am using Slackware 12, 
> hal-0.5.9.1-i486-1, and hal-info-20070618-noarch-1.
> 
> What do I need to do to get HAL to do what acpid used to?
> 
> Thanks,

acpid is usually packaged with a script which contains as an action a line
"shutdown -h now". acpid runs this script every time, when a power button is
pushed. HAL notices that the power button is pressed and this information sends
to DBus. Bud if there is no application which would listen on DBus and catches
this event, nothing will happen. Applications which catch this kind of event on
DBus are for example gnome-power-manager or kpowersave.

-- 
Zdenek Prikryl <zprikryl at redhat.com>



More information about the hal mailing list