[PATCH] implement agent_manager_new_device()
David Zeuthen
david at fubar.dk
Thu Jul 7 09:06:28 PDT 2005
On Sat, 2005-07-02 at 18:46 +0200, Kay Sievers wrote:
> This makes it possible to create and remove HAL devices without
> kernel and sysfs support. Some legacy devices or userspace driven
> devices may be useful in HAL to, but need to be maintained by
> an application instead of the kernel itself.
>
Right, this sounds like an useful idea. It does make me worry a bit that
code outside the hal tree can import stuff into the device store. So, I
think that *if* we're going to do this, we should probably try to ensure
that only code in the hal tree (or, maybe, alternatively, only code
under one or more suitable open source licenses) may use this (though
there may be issues in doing so).
I don't know. I'm just worried about possible incompatibilities this may
cause if vendor X imports some objects into the store and vendor Y
imports other objects (of similar nature, only syntactically different)
into the store. Then app A is kind of in a problem. What do you think?
About the patch: I think the patch needs to delete the object when the
client creating it disconnects, just like we give up locks. Yes, this
means that people putting an object in the store needs to hang around
but this is worth it /me thinks.
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list