On Tue, 19 Dec 2006, JackRain wrote: > Hi,Alan > I debug the usb host driver (linux 2.6.10) for ehci today.
2.6.10 is really old. Why aren't you using 2.6.19? > and got some infomation: > 1/the max_packet_size for __ep0in__ is 8. That is not a legal size for a high-speed device. Endpoint 0 is required to have a maxpacket size of 64. > (sometimes driver can't go through the "GET_DESCRIPTOR > request " in hub.c: hub_port_init(); > while max_packet_size is 0.) > 2/the USBCMD is ___10b09___ ,USBSTS is ___8488___,before submit async; > USBCMD is ___10b29___ ,USBSTS is ___8489___,and then > USBSTS is 84a8,if urb was done sucessfully. > USBCMD is ___10b29___ ,USBSTS is ___8a88___,and driver > hang(___what is it doing that time?___). if not sucessfully. > then if i plug out the usb cable from host controller, > I get USBCMD is ___10b29___ ,USBSTS is ___840e___,qTD- >token > :babble error & host halt error. > > a)I am not very clearly about reclaim bit in USBSTS > reg . > b)and i got the sense that the USBSTS ___8a88__ status occured > after timeout_kill(),which does unlink_async . > > so,i come to this point that: > why host driver will timeout (timeout value was set in > usb_control_msg())? that means the host driver can't complete > the async schedule in time.if the URBs were still not given back to > driver ,why? Because your hardware isn't working right. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users