Hello,
As I understand the current implementation of usb driver uses the polling
method to update the topology, as specified in the property file ->
#com.ibm.jusb.os.linux.LinuxUsbServices.topologyUpdateUsePolling = true
But this line is commented.
In the "LinuxUsbServices.java" file, this line
public static final boolean TOPOLOGY_UPDATE_USE_POLLING = true;
So its obvious that this driver is using the polling method and the native
files used for polling is "JavaxUsbTopologyUpdater.c". The native function
"nativeTopologyUpdater" .
In this function the function "build_device" uses a function
CheckedCallObjectMethod as shown below
existingDevice = CheckedCallObjectMethod( env, linuxUsbServices,
checkUsbDeviceImp, parent, parentport+1, device, connectedDevices,
disconnectedDevices );
But this function "CheckedCallObjectMethod" is a macro function define in file
"JavaxUsbChecks.h", says "//FIXME - implement" .
My question are
1) Whether my understanding on the use of topology update method is correct?
2) If so what is the implementation of the function "CheckedCallObjectMethod"?
3) How it is working without this function being not implemented?
Please clarify.
Regards
Vijay
_________________________________________________________________
Catch the cricket action with MSN!
http://content.msn.co.in/Sports/Cricket/Default.aspx
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel