On 7 apr 2009, at 08:20, Schalin, Patrik wrote:
Hi all,
I've embarked on a exploratory mission on the device access part for
OSGi 4
with the goal of maybe getting a small/simple prototype up and
running for
talking to devices over USB.
I've read through the specification but I'm just not able to wrap my
head
around this thing and get a clear picture of how it is supposed to
work...
I'm waiting for the "OSGi in action" book but in the meantime, does
anybody
know of a "HelloWorld" or similar?
Thanks
Patrik
<ATT00001.c>
Hi Patrik,
I don't know of a HelloWorld example that exists out there, but I've
recently donated an implementation of the device access spec to Apache
Felix. I can cook up an example for you, if you want.
What you probably need is some kind base driver that is able to detect
(in a low-level way) that a device has appeared on the USB bus. Based
on the limited information that has then become available about the
device
a Device (in the sense of the device access spec) must then be
registered within the framework. It is then up to the device manager
to locate possible drivers that match the detected device.
Regards, Dennis
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev