processor namespace
Holger Macht
hmacht at suse.de
Wed Aug 23 10:44:44 PDT 2006
On Wed 23. Aug - 19:41:36, S.Çağlar Onur wrote:
> Çarşamba 23 Ağustos 2006 19:26 tarihinde, Kay Sievers şunları yazmıştı:
> > See this patch about CPU frequency scaling:
> > http://lists.freedesktop.org/archives/hal/2006-August/005993.html
>
> I know :), also using in our hal package for a while but (if im not missing
> something again) in order to use this one must register to its methods.
>
> What i mean is something like
>
> libhal_device_get_property_string(
> m_halContext, "/org/freedesktop/Hal/devices/acpi_CPU0", "processor.current_frequency",
> &error );
The processor namespace is currently only valid for ACPI. And basically
CPU frequency scaling has nothing to do with ACPI.
>
> so simple shell script may also use it with parsing lshal output.
Hm, I think simple shell scripts can parse /sys/.../scaling_cur_freq
manually?
Regards,
Holger
More information about the hal
mailing list