In my post I have described deep enough the problem I had with the ehci module of d2x cIOS, and think it's clear that I made my homework and found the solution by myself without "borrowing" code from somewhere else.
Then, it's true, I see now that in usb.c of libogc there is the...