Hello, some others on the list may be able to help you specifically with bulk transfers, but in general you should be able to just sumbit another buffer. You probably don't need to create another Thread, you should be able to use a single Thread to get input from that pipe. You can do syncSubmit() calls which are easy but not that fast, and once you get that working move to asyncSubmit() which is faster but more complicated.
I don't know why your device would be halting except for a bad default-control-pipe request, which it doesn't seem like you're doing? Can you give more info on what you're doing, like some example code or output? If you use java -DJAVAX_USB_MSG_LEVEL=DEBUG3 <program> it will print out a lot of JNI debugging that could help show what's wrong... On Thu, 4 Sep 2003, [big5] hf y wrote: >I am new to here and hope someone can help. > >I am developing a generic USB device which need to use >bulk data transfer, I can successfully use the >javax-usb to view my configuration and even to get the >pipe. > >I read from previous post that, in order to receive >data, an emtpy buffer should be set first. I have >already tried this. And i can receive data. However, I >can only make this request once. > >When I issuse the request again (I create another >InputThread using the same pipe). No data is receive, >and my usb device handed. > >As both the device and the driver (javax-usb)are still >under development, I cant figure out which part fail >to function. So I would like to know ,is there other >procedure or request or ACK I should issus after I >receiver the data correctly. > >Can someone show me some codes on how to poll the Bulk >In pipe continously. This will help me much. > >Thank you very much for your kind attention. >Thanks a lot. > > > > >_________________________________________________________ >最新鈴聲推介:十面埋伏,多謝失戀,心淡... >http://ringtone.yahoo.com.hk > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >javax-usb-devel mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/javax-usb-devel > -- 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel