[Bug 260161] usb enumeration stalls on a framework laptop

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Dec 2021 22:25:52 UTC

            Bug ID: 260161
           Summary: usb enumeration stalls on a framework laptop
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: markj@FreeBSD.org

If I boot FreeBSD on a framework laptop, then do a soft reboot, mountroot
pauses for a couple of minutes until USB enumeration times out.

During the first boot, ng_ubt is autoloaded and I see some errors:

ubt_ctrl_write_callback:909: control transfer failed: USB_ERR_TIMEOUT
ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command
OGF=0x3, OCF=0x3. Timeout

On a subsequent boot, I get a hang, and the bluetooth device doesn't appear to
get enumerated.  The next boot after that is fine, but then the BT device shows
up again and the next boot after _that_ hangs.  So I guess we're not properly
detaching the device.  I believe this is also causing problems with S3 resume.

You are receiving this mail because:
You are the assignee for the bug.