On Fri, 11 Aug 2006, Thorsten Wiedemer wrote: > Hi ! > > Thanks for the quick answers ! > > > You shouldn't make timing measurements based on when things show up in > > /var/log/messages. That file is maintained by the syslog daemon, which > > does not necessarily add entries as soon as they are available. Instead > > you should use dmesg (there is a CONFIG option to add high-resolution > > timestamps to the log entries in later kernels), or monitor the contents > > of /proc/bus/usb/devices. > > Well, I know that /var/log/messages is not the right place to make accurate > timing measurements. > This was just to give a number. One second more ore less doesn't really > matter at the moment. > > > It would help to have more detailed timing comparisons, to see where the > > extra time is being spent. > > Would it be enough to turn on the USB debug config flag to have the more > detailed timing comparisons needed or should there be added some more debug > prints?
Turning on CONFIG_USB_DEBUG and CONFIG_PRINTK_TIME would be a good way to start. Do that, and we'll see if more information is needed. Alan Stern ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel