https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216261

            Bug ID: 216261
           Summary: [patch] Resume failing without xhci controller reset
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: usb
          Assignee: freebsd-usb@FreeBSD.org
          Reporter: yanko.yanku...@gmail.com
                CC: freebsd-am...@freebsd.org
          Keywords: patch
                CC: freebsd-am...@freebsd.org

Created attachment 179073
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179073&action=edit
propoesed patch

On my new Skylake based laptop Suspend/Resume was failing (no resume_beep at
all). I was able to resolve the issue by adding controller reset of the xhci
controller after the xhci_halt_controller calls.

The problem is clearly BIOS bug as the Suspend/Resume is failing without
loading the xhci driver. The same is happening with latest Linux when the xhci
driver is not loaded.

Adding the reset code solves the issue. The Linux driver seems to do the same
on driver unload, so I am not expecting a regression by the change.

A simple patch to implement this is attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to