forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[PS2] USB Hub Timeout

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> Patch Submissions
View previous topic :: View next topic  
Author Message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Mon Aug 03, 2009 7:56 am    Post subject: [PS2] USB Hub Timeout Reply with quote

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:

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);
    }
 }
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Aug 11, 2009 12:41 pm    Post subject: Reply with quote

Added in rev 1599, thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> Patch Submissions All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group