On Fri, Nov 11, 2005 at 03:14:02PM +1100, Aras Vaichas wrote:
> Hi,
> 
> my test department tells me that they need to perform immunity tests on the 
> hardware and therefore I will need to collect statistics on the USB data 
> being transferred.

What is "immunity tests"?

> Can this be done? Do the USB drivers export these sorts of statistics to 
> /sys like ethernet does?
> 
> Here is the request from my test department:
> 
> --- SNIP ---
> 
> 1.  Check that data can be transferred in and out of each port at the rate 
> specified by the interface spec.
> 
> 2.  Monitor the data transfer to check if:
>    (a) data is transferred with no errors;
>    (b) data is transferred with errors, but then data is re-sent 
>    successfully;
>    (c) data is lost.
> 
> Monitoring should include:
>       ...
>       (iii) raw and net bit error rates
>       ...
>       *(vii) operation of the "device reset detect" bit of circuitry on the 
> device port, and detection of that by the host.
> 
> (g) For immunity testing, we would require the test to run continuously, 
> but be able to identify errors within one second of their occurrence.
> 
> *(h) For production testing, we would want to send a fixed amount of data, 
> and check the raw and net error rates.
> 
> Can you please add a 'raw and net bit error count' monitoring output.  This 
> will allow monitoring of the errors on a second by second basis
> 
> --- SNAP ---

No, for USB this information is not all availble, sorry.  But you can
buy some nice hardware analizers that will capture all of this
information and save it for you if you wish.

Good luck,

greg k-h


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to