[PS2] USB Hub Timeout

Create a single thread for each patch to be added to the repository. Please try to stay on topic.
Post Reply
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

[PS2] USB Hub Timeout

Post by Mega Man »

While working at my DVB driver. I found some problems with USB. The timeout was too small. Maybe this is only a problem with USB 1.0 devices and not USB 1.1 devices.

Code: Select all

Index: iop/usb/usbd/src/hub.c 
=================================================================== 
--- iop/usb/usbd/src/hub.c   (Revision 1588) 
+++ iop/usb/usbd/src/hub.c   (Arbeitskopie) 
@@ -492,7 +492,7 @@ 
       ep->hcEd.hcArea |= dev->functionAddress & 0x7F; 
       dev->deviceStatus = DEVICE_READY; 
  
-      addTimerCallback(&dev->timer, (TimerCallback)hubPeekDeviceDescriptor, req, 4); 
+      addTimerCallback(&dev->timer, (TimerCallback)hubPeekDeviceDescriptor, req, 10); 
    } 
 }
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Added in rev 1599, thanks
Post Reply