Hi,
I actually didn't run in such problems. For now i'm focusing
my efforts URBifying all control messages.
I wrote simpler reset routine which used urb and it _worked_.
Then i rewrote pegasus_*_register(s) then i tested the driver.
No surprises - the PC locked hard ;-)
Expect public test version in a few days.
best,
Petkan
Cyrille Chepelov wrote:
>
> Got new problems recently. It seems that on some occasions, the OHCI
> driver disables itself (when the UE bit (as Unrecoverable Error) is set).
>
> Doing "ifdown eth0 ; rmmod pegasus ; rmmod usb-ohci ; modprobe usb-ohci ;
> modprobe pegasus ; sleep 1 ; ifup eth0" restarts the interface, which
> usually works for a few hours then.
>
> The OHCI docs says UE should almost never happen ; most cases would be
> related to some contention on the PCI bus (the related linux source line
> says roughly the same).
>
> Following my usual "kick it in the balls till it works" way of patching, I
> tried to make the OHCI driver reset itself when it falls on an UE. For the
> moment, that tactic fails miserably, but I for now do that in
> hc_interrupt(). I'll try to see whether a slightly delayed tasklet would
> allow me to reset the OHCI bus and unlock the UE (or look deeper in the
> OHCI spec if there's a way out of UE without rebuilding the whole software
> model of the bus topology ; which simply sucks).
>
> Maybe OHCI wizards could have an idea on this ?
>
> -- Cyrille
>
> ------------------------------------------------------------------------------
> Grumpf.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]