On Thu, 2 Feb 2006, Tony Shao wrote: >Dear Dan Streetman: > > > >I am Tony Shao. I come from Guangzhou China. > >I am now attempting to develop the realization of JSR80 on UNIX. Before >doing so, I had looked your code of Linux realization. And I got some >issues. Please give me some explain or advise. > > > >Issue 1: > >Inside the class "com.ibm.jusb.os.linux.JavaUsb", there is a comment as >follows: > >"BUG - Java (IBM JVM at least) does not handle certain JNI byte-> Java byte >(or shorts)" > >This occurs in the following four methods: > >1)createUsbConfigurationImp > >2)createUsbInterfaceImp > >3)createUsbEndpointImp > >4)configureUsbDeviceImp > >However, all the above four methods are private. Methods outside of this >class can not call them. Methods inside this class do not use these methods. > > >My questions are: > >1) Are these four methods useful or not?
yes > >2) Have they anything to do with the JNI bug? any relationship between them? the bug is in (certain versions of) the IBM JVM, not JNI > > >Issue 2: > >Inside class "com.ibm.jusb.os.linux.JavaUsb", there is a method >"nativeDeviceProxy". Inside this method, "LinuxDeviceProxy" is used as the >proxy between JAVA and C. This definition is very clear. However, it is not >a real-time method call any more. And inside the C source code, there is a >dead loop to process a queue. > >My question is: > >Why not directly define JNI to call corresponding C procedures in real-time >mode? Does it have anything to do the BUG mentioned in issue 1? what? > > > >Issue 3: > >I want to develop the realization of JSR80 on UNIX. If I directly call JNI >defined by myself to access USB device, is it possible? Please advise. "UNIX"? You know, although GNU says otherwise, Linux really is basically a UNIX. > > >Issue 4: > >Up to date, USB 2.0 can support high-speed transfer (480Mb/s). Does the >JSR80 architecture afford all USB 2.0 features? or rather, what should I do >to use all USB 2.0 features under JSR80? Please advise. all speed-related functions are handled entirely by lower level code, and is unaffected by javax.usb. > > > >Tony Shao > >2006-2-2 > > -- 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel