Ideas for spec for PMU/ACPI, Was: Patch to hal-spec : 1/6-pmu-acpi

David Zeuthen david at fubar.dk
Mon Jan 17 11:18:36 PST 2005


On Mon, 2005-01-17 at 20:03 +0100, Sjoerd Simons wrote:
> Just wondering.. Do we want the code that reads/polls /sys and/or /proc 
> entries as addons (well for entries that don't need special permissions) ? 
> 

Probably not; you're right..

> I don't think it's a problem to have one extra addon, but having a general
> guideline to what should become an addon and what should stay in the main code
> (or at least in a more general addon) would be nice :)
> 

I'd like that too :-). Guideline should probably be

 1. Reading sysfs, procfs is OK from inside hald
 2. Opening device files is not OK from inside hald
 3. Specialized device polling (like ink-level or battery-level from
    wireless mice) should be done as an addon

What about that?

David


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



More information about the Hal mailing list