On Wed, Oct 17, 2012 at 07:42:33AM +0200, Christian Gmeiner wrote:
2012/10/17 Kevin O'Connor kevin@koconnor.net:
On Tue, Oct 16, 2012 at 04:11:08PM +0200, Christian Gmeiner wrote:
I have made some success to get USB working - current SeaBios ehci driver does not support toggling between DATA0 and DATA1. Here is my current patch to get a little bit more running:
The toggle bit should be updated automatically by the controller. It should not be necessary to do it manually. If this is impacting your results, something subtle must going on.
Maybe you are right (starred at the spec for some minutes), but who updates the toggle bit in the qh?
So I think that this line is needed: pipe->qh.token|= (pipe->pipe.toogle?QTD_TOGGLE:0);
The controller is supposed to update the toggle bit in the qh. The same qh is used for all transfers, so it should already be up to date between transfers. It is possible something subtle is going on here.
-Kevin
2012/10/17 Kevin O'Connor kevin@koconnor.net:
On Wed, Oct 17, 2012 at 07:42:33AM +0200, Christian Gmeiner wrote:
2012/10/17 Kevin O'Connor kevin@koconnor.net:
On Tue, Oct 16, 2012 at 04:11:08PM +0200, Christian Gmeiner wrote:
I have made some success to get USB working - current SeaBios ehci driver does not support toggling between DATA0 and DATA1. Here is my current patch to get a little bit more running:
The toggle bit should be updated automatically by the controller. It should not be necessary to do it manually. If this is impacting your results, something subtle must going on.
Maybe you are right (starred at the spec for some minutes), but who updates the toggle bit in the qh?
So I think that this line is needed: pipe->qh.token|= (pipe->pipe.toogle?QTD_TOGGLE:0);
The controller is supposed to update the toggle bit in the qh. The same qh is used for all transfers, so it should already be up to date between transfers. It is possible something subtle is going on here.
USB is finally working :) http://dpaste.com/815054/ But the next problems says hello: handle_hwpic1 irq=0
Some hints? --- Christian Gmeiner, MSc