speedtouch  

[speedtouch] Re: USB read timeout with PIIX3 USB

Vladimir Vyskocil
Thu, 02 May 2002 01:17:08 -0700


In fact after this line in pppoa2.c :

n = pusb_endpoint_read(epdata, lbuf, sizeof(lbuf), 30000);

I must add these statements

if(n < 0 && errno == ETIMEDOUT){
      usleep(500);
}

Otherwise when a real lockup arise, the syslog was filed by timeout
messages and the connection give up.

-- 
Vyskocil Vladimir
Chef de projet - Unité applicative
Rightvision - The Internet Appliance Company
http://www.rightvision.com/



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe