Patch to hal-spec : 1/6-pmu-acpi
Richard Hughes
ee21rh at surrey.ac.uk
Thu Jan 13 11:11:27 PST 2005
On Thu, 13 Jan 2005 19:17:49 +0100, Sjoerd Simons wrote:
> On Wed, Jan 12, 2005 at 07:07:07PM -0500, David Zeuthen wrote:
>>
>> OK, so here I assume that all device objects with system.*
>> properties will also have either acpi.* or pmu.* properties,
>> right?
>>
>> Should also have pmu.device that gives the device file, e.g. /dev/pmu
>> (remember, udev may call it something else!).
>
> Does this mean that every device with capability pmu copies this information?
> Wouldn't it be better to have one pmu object with version and device node info
> and let the others refer to it ?
What about just adding to the linux namespace (and set by the root node):
key: linux.pmu_device (optional)
desc: The PMU character device that HAL can access. PMU is the Power
Management Unit found in various PPC based systems.
Then acpi_button.c can use the system.button namespace, and then only with
ACPI, it uses the acpi. properties. (namely acpi.proc_path which is bound
to each node)
Does PMU have any node-specific data? I don't know anything about PMU,
other than PMUD is used to query it.
We can also get rid of acpi.version too, whilst we are here, it's not
really useful as it's tied so much to the kernel.
> Sorry if i'm a little dense about these things, but imho it's important
> to get it right the first time :)
Ohh, i agree, saves doing something twice :-)
>
> Sjoerd
--
http://www.hughsie.com/PUBLIC-KEY
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list