ACPI/PMU procfs HAL test program. Version 002.

Paul Ionescu i_p_a_u_l at yahoo.com
Mon Jan 24 06:04:00 PST 2005


Hi,

On Mon, 24 Jan 2005 13:03:25 +0000, Richard Hughes wrote:
> Sjoerd Simons <sjoerd <at> luon.net> writes:
>> 
>> Hal always sends out a message if property values change afaik. Though
>> this might be up for discussion as soon as we're going to monitor
>> sensors and stuff, as that will cause a lot of dbus traffic (at least my
>> lightsensors change a little all the time)..
>> 
>> 
> Good, I wondered how the DBus event was triggered.
> 
> For the lightsensors, we could only perhaps issue an event when the value
> changes by more than 10%, solving the dbus traffic issue.
> You got any more information on your lightsensor please Sjoerd? How would
> somebody query the value of the sensor on your machine? Could you also
> please run my code and post the output please. You're the only PMU I know!
> 
> Richard.

I think we should always send sensor info on dbus only when something
really change.
I mean, hald will do some pulling or something else, but should always
broadcast info on dbus only when something changes, unless some program
really asks for a sensor.


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list