On Wed, 19 Oct 2005, Presanna Raman wrote:

>Hi Dan, Thank you for you reply. My understanding is that JSR-80 requires
>all 3 parts to work with - javax-usb API, a Common OS-independent
>Reference Implementation and an OS-dependent Reference Implementation
>(Which basically connects the API to the OS USB stack). Therefore, if
>instead of a OS-dependant RI, using a mobile dependant RI, if provided by
>the manufacturer should in theory make available USB access in the
>mobile. Is this thinking right or am I missing something else here?

It depends on the device.  If you have a standard USB Host Controller in 
your device and of course a full USB subsystem, then you could implement a 
OS-dependent layer to put javax.usb on the device.

>I do require both device side and PC side USB access. I have a situation
>that is similar to the On-The-Go specification available with USB 2.0,
>where the mobile device can also initiate communication with the PC.
>Just for my information, when is the windows implementation of JSR-80
>going to be completed, if at all it is being worked on?

I'm not working on it, so I don't know.  sorry.  There is an "alpha" level 
implementation of javax.usb using libusb, see the mailing list archive for 
info.  (libusb is implemented on Windows)

>Also, are the
>API's usb version (1.0 or 2.0) specific?

Yes, the current javax.usb API is specific to the USB 1.1 spec.  However 
device drivers, in almost all cases, don't need to know any USB 2.0 
specific information, so it shouldn't make any difference.  Unless someone 
wanted to write a hub driver implementation on javax.usb (not a good 
idea).

>Why is there a necessary for an
>OS-dependent Reference Implementation? Is it b'cos the Stacks are
>implemented different or something else?

Access to USB from userspace is different on each OS, if even provided at 
all (e.g. it isn't on Windows, a kernel driver had/has to be written).


-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to