Hello Fabian and thanks for the report. On 21/01/15(Wed) 14:24, Fabian Raetz wrote: > Hi, > > i noticed that suspend/resume doesn't work anymore when an usb device is > attached to xhci(4). > > After reverting the following commit, suspend/hibernation works again. > > ---- > CVSROOT: /cvs > Module name: src > Changes by: m...@cvs.openbsd.org 2015/01/18 07:49:04 > > Modified files: > sys/dev/usb : xhci.c xhcireg.h > > Log message: > Complete synchronous abort method modeled after the existing ones. > > Because our USB stack wants the aborted xfer to be removed from the > pipe during abort(), we have to sleep in the abort function. > > Regarding the xHCI process, when a TD is being aborted, we simply stop > the endpoint and then move the dequeue pointer past its last TRB. This > is fairly simple for the moment since only one xfer can be pending on a > given pipe. > ---- > > If you need anything to diagnose the problem further, let me know.
I should be fixed in r1.58 of dev/usb/xhci.c please let me know if you still have suspend/resume problems. Regards, Martin