On Tue, 10 May 2005, Dmitri Kostioukov wrote: >This is what I have: > > >com.ibm.jusb.os.linux.LinuxUsbServices.JNI.tracing = false >com.ibm.jusb.os.linux.LinuxUsbServices.JNI.trace_level = 5 > >Enabling urb tracing does not give me any more information.
Er, I'm not sure why you'd get ANY tracing with tracing set to "false". Note in the latest RPM release there is unfortunately a bug in the JNI.tracing property parsing (Java/JNI function names didn't match) so if you don't have CVS-level code, just leave the JNI.tracing property commented (it defaults to true). You definitely should get URB tracing if you uncomment and set to true the property: com.ibm.jusb.os.linux.LinuxUsbServices.JNI.trace_urb = true That doesn't give any more tracing? I get full tracing including URB tracing with my properties file's tracing section set up like this: ################################################################################ # Tracing properties used by javax.usb Linux Implementation ################################################################################ # These rest apply to JNI tracing levels. This is a little better than it used to be, # but it needs more improvement as far as controlling the tracers and levels. # This either disables tracing entirely, or enables some amount of tracing. #com.ibm.jusb.os.linux.LinuxUsbServices.JNI.tracing = true # This sets the tracing level. Higher levels mean more tracing. # This level applies to ALL tracers. See each tracer for their levels. com.ibm.jusb.os.linux.LinuxUsbServices.JNI.trace_level = 5 # This enables or disables default tracing. This is the most used tracer. # The trace_data must also be enabled. # These are the levels for this tracer. # 0 - CRITICAL # 1 - ERROR # 2 - INFO # 3 - FUNCTION # 4 - DEBUG # 5 - OTHER #com.ibm.jusb.os.linux.LinuxUsbServices.JNI.trace_default = true # This enables or disables hotplug tracing. # The trace_data must also be enabled. # These are the levels for this tracer. # 0 - CRITICAL # 1 - ERROR # 2 - CHANGE # 3 - DEVICE # 4 - OTHER #com.ibm.jusb.os.linux.LinuxUsbServices.JNI.trace_hotplug = true # This enables or disables xfer tracing. # The trace_data must also be enabled. # These are the levels for this tracer. # 0 - CRITICAL # 1 - ERROR # 2 - REQUEST # 3 - METADATA # 4 - DATA # 5 - OTHER #com.ibm.jusb.os.linux.LinuxUsbServices.JNI.trace_xfer = true # This enables or disables urb tracing. # The trace_data must also be enabled. # WARNING! DATA-level tracing will generate a LOT of output. # These are the levels for this tracer. # 2 - METADATA # 3 - DATA com.ibm.jusb.os.linux.LinuxUsbServices.JNI.trace_urb = true ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel