Klaus,
  Assuming you won't have any luck getting the TCK running (I don't think
that has been well maintained), you could continue down your path with a
Mass Storage Device.   However, you would probably need to read up on the
MSD spec to properly read from bulk endpoints (i.e., you are correct that
it is likely you need to issue a command (to a control endpoint) in order
to read from a bulk endpoint).


        Brian Weischedel          bwei...@us.ibm.com




                                                                       
  From:       Klaus Reimer <k...@ailis.de>                                
                                                                       
  To:         javax-usb-devel@lists.sourceforge.net                    
                                                                       
  Date:       02/05/2011 08:34 AM                                      
                                                                       
  Subject:    [javax-usb-devel] Testing javax.usb implementation       
                                                                       





Hello,

I'm currently writing my own implementation of javax.usb based on libusb
with support for Linux, Windows and Mac OS X. Device enumeration and
simple control requests are working fine already. Now I'm working on
bulk data transfer but what I'm missing is a way to test it.

What is the most easiest way to test bulk transfers? I have access to a
USB camera, USB storage devices, a USB printer and a USB scanner. I
don't care about real usage of these devices, I just want to read/write
some data from a bulk endpoint to compare the result with the linux
reference implementation. A naive approach to simply read some bytes
from the bulk endpoint of a USB flash drive resulted in a hanging java
process so I guess I have to send some control requests first, but I
have no idea what requests are needed.

Alternatively it would be nice to use the Test Compliance Kit but I have
no Cypress Developer Board and I wasn't able to find one for a
reasonable price yet. Does someone know where to get a cheap device
which is compatible with the TCK?

--
Bye, K <http://www.ailis.de/~k/>
[A735 47EC D87B 1F15 C1E9 53D3 AA03 6173 A723 E391]
(Finger k...@ailis.de to get public key)

------------------------------------------------------------------------------

The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to