On Thu, 4 Nov 2004, Dieter Weber wrote:

> Yes, it helped. :))
>  
> The appended patch fixes this problem for me. As I am not sure if waiting for 
> additional 100 µs causes a noticeable difference in regard of performance, I 
> wrote a few lines to distinguish the chips by idProduct and bcdDevice. 
> I am not happy with the "magic numbers", what's the best way to get rid of 
> them?

In this case you may have been too pessimistic.  Maybe you don't really 
need a 200 us delay, maybe something just slightly more than 100 us will 
be enough.  (It could be that the clocks on your computer and your USB 
interface run a little too fast/slow respectively.)  Try using 110, 120, 
and so on.  See how much you actually need.  If it's not much bigger than 
100, we can simply use the larger number for everyone.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to