28.8.2013 08:59, Melki Christian (consultant) wrote:
I'm thinking of the EHCI hand-over. In the case of EHCI handover
beeing successful within the timeout, you never clear the USBLEGCTLSTS
register (SMI's). You do that in the other cases however. Why? I can
not think of any case of a successful handover with SMI's still
enabled. To what purpose? A buggy BIOS would maybe act upon such
stuff? Maybe thats a case for lost devices etc?
Ok, I made a short look into Linux USB source code and I saw there is
USBLEGCTLSTS register reset in any case.
(What is maybe more interesting, Linux driver DOES NOT handover on some
(broken) devices, only reset SMI...)
So I prepared simple "SMI" patch (attached).
BR,
Ales