A few HAL problems
Danny Kukawka
danny.kukawka at web.de
Wed Sep 14 06:31:50 PDT 2005
On Wednesday 14 September 2005 14:26, Fabian Zeindl wrote:
> Hi
>
> I'm using ivman (ivman.sourceforge.net) with HAL and I encountered a few
> problems with HAL:
Which version of HAL?
> * HAL is very slow in detecting property changes: plugging in and out the
> ac-adapter takes about 15 seconds for hal to discover it.
The reason is your system. HAL does not poll the state of AC permanently. I
think your system does not provide a ACPI AC_adapter event. In this case HAL
poll /proc/acpi/ac_adapter/*/status every 30 seconds or if a ac_battery event
recieved.
> * my PWRF-button doesn't have a state so I can't use it (I think that's
> acpi related, am I right?)
Only LID-button have a state. PWRF-button emit a ACPI event.
> * my laptop-lid has a state (opened,closed). Hal doesn't discover that.
Is there for your acpi_LID not a key like this in lshal?:
button.has_state = true
button.state.value = false
Cheers,
Danny
More information about the hal
mailing list