This issue requires another 2 commits

>From 6c483de1b3c41e939b735df1861759815e125304 Mon Sep 17 00:00:00 2001
From: Loic Poulain <loic.poul...@intel.com>
Date: Sun, 6 Dec 2015 16:18:34 +0100
Subject: [PATCH] Bluetooth: btintel: Create common Intel Version Read function

The Intel Version Read command is used to retrieve information
about hardware and firmware version/revision of Intel Bluetooth
controllers. This is an Intel generic command used in USB and
UART drivers.

Signed-off-by: Loic Poulain <loic.poul...@intel.com>
Signed-off-by: Marcel Holtmann <mar...@holtmann.org>


>From b7da6a69defd195da66bfd6b35efeb376a252557 Mon Sep 17 00:00:00 2001
From: Tedd Ho-Jeong An <tedd...@intel.com>
Date: Mon, 6 Mar 2017 15:38:32 -0800
Subject: [PATCH] Bluetooth: hci_intel: Fix firmware file name to use
 hw_variant

The format of Intel Bluetooth firmware for bootloader product is
ibt-<hw_variant>-<device_revision_id>.sfi and .ddc.

This patch uses a hw_variant value read from the device during
runtime to form the firmware filenames instead of using a constant
value, so it can support multiple prouducts.

Signed-off-by: Tedd Ho-Jeong An <tedd...@intel.com>
Signed-off-by: Marcel Holtmann <mar...@holtmann.org>

-- 
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/1705633

Title:
  [8087:0a2b] Failed to load bluetooth firmware(might affect some other
  Intel bt devices)

Status in HWE Next:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  Confirmed

Bug description:
  [Impact]
  After this linux-firmware bug[1] update the firmware files, it removes 
intel/ibt-11-16.{ddc,sfi} and add intel/ibt-12-16.{ddc,sfi}, but in btusb 
driver, it hardcoded the hw_variant as 11. So we got this kind of error after 
the linux-firmware package updated and lost the bt functions.

  [    5.516003] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
  [    5.516181] bluetooth hci0: Direct firmware load for intel/ibt-11-16.sfi 
failed with error -2
  [    5.516183] Bluetooth: hci0: Failed to load Intel firmware file (-2)

  [Fix]
  This patch uses a hw_variant variable to replace the hardcoded 11.

  [Test Case]
  Verified on the machine has this issue, and confirm this patch works.

  [Regression Potential]
  The hw_variant variable has shown up since kernel 3.10 in this commit
     dffd30e Bluetooth: Add support for Intel Bluetooth device [8087:07dc]
  So, we don't have to worry about old chips don't contains this info, since it 
exists
  and be used for a very long time.

  1. https://bugs.launchpad.net/ubuntu/+source/linux-
  firmware/+bug/1686815

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1705633/+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