Logitech mouse specifics handling
David Zeuthen
david at fubar.dk
Mon Jun 11 09:43:28 PDT 2007
Hi,
On Sat, 2007-06-09 at 13:42 +0200, Andreas Schneider wrote:
> I don't know if it should be handled by HAL. HAL is already linked to
> libusb it would be possible to integrate it. It would be great to have a
> decision as soon as possible. Then I would stop developing on lomoco
> and look into HAL or continue the work on liblomoco.
No-one says that HAL can't optionally depend on liblomoco; it might even
make sense to have this kind of "driver code" in a separate project if
there's the usual ABI/API guarantees, it's designed in a way so it's
easy to use from an addon / singleton-addon etc.
What I do think makes sense is having this information exposed in HAL;
it's really a lot easier for applications to access the information
through HAL that using a domain-specific library with it's own device
model. Another angle is device permissions; with HAL, since everything
is IPC, you don't have to ensure that the unprivileged user can access
the device file.
I'm sorry if this mail is not more helpful; I think I understand the
domain specific problems you're trying to express - but am not sure how
to address them without diving into the problems myself.
David
More information about the hal
mailing list