Hi,
> > > We can get the endpoint from a packet and from ohci so
> > > I wonder if we can get the active packet from ep->queue (and how to do
> > > that)
> >
> > I think ohci never looks beyond the active td so there should never be
> > more than one packet on the list.
>
> OK, how to get
Hello,
On Fri, 1 Oct 2021, Gerd Hoffmann wrote:
[...]
/* Active packets. */
uint32_t old_ctl;
USBPacket usb_packet;
uint8_t usb_buf[8192];
uint32_t async_td;
bool async_complete;
void (*ohci_die)(struct OHCIState *ohci);
} OHCIState;
Then everything in hcd-ohci
Hi,
> [...]
> /* Active packets. */
> uint32_t old_ctl;
> USBPacket usb_packet;
> uint8_t usb_buf[8192];
> uint32_t async_td;
> bool async_complete;
>
> void (*ohci_die)(struct OHCIState *ohci);
> } OHCIState;
>
> Then everything in hcd-ohci seems to reuse
Hello,
We're trying to find out why passing through an usb sound card fails with
MacOS/OS X on mac99 and came across some things in OHCI that I don't
understand so some help from those who know more about USB handling in
QEMU or OHCI would be needed.
From traces Howard collected we see that