On Tue, 29 Oct 2019, Patrick Wildt wrote: > Ok, so it turns out that this is related with opening/closing > the uhid(4) device. Because every open(2) and close(2) also > opens and closes the pipe. I think for ehci we somehow can > save the toggle and restore it on re-open, and for xhci we > somehow don't?
uhci isn't saving/restoring it either. Someone else reported no problems using ohci. > So I'm wondering if a) we should just keep the output pipe > open or b) there's some way to save/restore the... endpoint > context? I'm looking into b) obviously. Yeah, I spent some time reading xhci.c but couldn't figure out how interrupt transfers actually get sent - I could see them get enqueud but not where the got dequeued... -d