Can you please ask the user to try
https://git.kernel.org/torvalds/c/0ea53674d07fb6db2dd7a7ec2fdc85a12eb246c2?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1940332

Title:
  hci0: Failed to send firmware data (-38)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This report is related to a problem reported in IRC #ubuntu whereby
  (Intel 8260 Wifi) Bluetooth device cannot load its firmware file at
  boot time but can later.

  Appears to be a race condition between the wifi chipset setting up the
  device and enabling the attached USB interface to the Bluetooth device
  fully.

  Bluetooth: hci0: Failed to send firmware data (-38)
  Bluetooth: hci0: Intel reset sent to retry FW download

  The solution is to introduce a delay in loading the 'btusb' module:

  echo "install btusb /usr/bin/sleep 2; /usr/sbin/modprobe --ignore-
  install btusb" | sudo tee -a /etc/modprobe.d/btusb.conf

  This imposes a 2 second delay before the 'btusb' module is loaded.

  Reporting user tells us this works around the problem.

  The code responsible is
  net/bluetooth/hci_request.c::__hci_cmd_sync_ev() and/or

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/bluetooth/hci_request.c#n147

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/bluetooth/hci_request.c#n234

  as the result of the calls:

  err = wait_event_interruptible_timeout(...)

  since only these are followed by calls to
  net/bluetooth/lib.c::bt_to_errno() and that is the only function that
  can return -ENOSYS (-38)

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/bluetooth/lib.c#n132

        default:
                return ENOSYS;
        }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1940332/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to