Thanks for replies. Dan, I will try the below mentioned today and get back to you tomorrow.
public byte[] submit(byte[] data){ create irp from in pipe. create another thread that will call syncSubmit start that thread. sleep for 1s. create irp from out pipe. set 'data' to out irp. outpipe.syncSubmit() get data from the thread (which *should* have been populated by now) retrun data that's fetch from inpipe. } public void run() run method for the class implementing Runnable { do{ inpipe.syncSubmit(inIRP); // will this block here before checking isComplete()?? } while(!inirp.isComplete()) buffer = inIRP.getData(); } is this what i am supposed to do? regards Navjot Singh On Mon, 8 Nov 2004 11:29:34 -0500 (EST), Dan Streetman <[EMAIL PROTECTED]> wrote: > > On Mon, 8 Nov 2004, Navjot Singh wrote: > > >I have checked with -DJAVAX_USB_MSG_LEVEL=DEBUG3 also but i > >couldn't figure out much there. > > FYI with the code from CVS you can manage the JNI tracing via the > javax.usb.properties file (in the javax-usb-ri-linux/lib directory), > instead of having to use the command-line switch. > > > > > -- > 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel