Op dinsdag 21-02-2012 om 19:31 uur [tijdzone -0500], schreef Kevin O'Connor:
On Tue, Feb 21, 2012 at 09:43:12PM +0100, Nils wrote:
Op maandag 20-02-2012 om 13:17 uur [tijdzone -0500], schreef Kevin O'Connor:
I put together a patch to modify the way the OHCI controller does pipe free'ing. This is a preliminary patch (similar batch free'ing should be done for the other controllers as well). However, it might help with the USB issues you've been having.
Thanks for the patch. I tested this patch and the keyboard gets initialized now. The keyboard doesn't seem to react on keystroke yet tough and i still get a timeout error.(another bug?)
Well, that's not good. I was assuming that the earlier problems were due to a sloppy free, but it looks like something else is confusing the controller. The previous and current errors are probably related. It's odd that control messages seem to be handled properly while the frame_no and interrupt lists aren't. To fix this, more debugging is needed to see what's going wrong at what point. You can start with the patch below.
See attachment for the corresponding log.