All of lore.kernel.org
 help / color / mirror / Atom feed
* Commit 9b16bfbf41 ("Bluetooth: btintel: Move operational checks after version check") causing BT FW loading problems
@ 2021-05-29  0:36 Kenneth R. Crudup
  2021-05-31  0:29 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 4+ messages in thread
From: Kenneth R. Crudup @ 2021-05-29  0:36 UTC (permalink / raw)
  To: luiz.von.dentz; +Cc: tedd.an, marcel, linux-bluetooth


My BT device is (apparently a Jefferson Peak device):

>> Bus 003 Device 003: ID 8087:0026 Intel Corp.

With this commit in place, loading the BT firmware after a cold start fails
attempting to load the wrong(?) firmware:

----
Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021
bluetooth hci0: Direct firmware load for intel/ibt-19-16-0.sfi failed with error -2
Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-19-16-0.sfi (-2)
----

... and a "git log" in the linux-firmware repo shows this file "ibt-19-16-0.sfi"
never existed. Before this commit it was trying to load:

----
Bluetooth: hci0: Bootloader revision 0.4 build 0 week 11 2017
Bluetooth: hci0: Device revision is 2
Bluetooth: hci0: Secure boot is enabled
Bluetooth: hci0: OTP lock is enabled
Bluetooth: hci0: API lock is enabled
Bluetooth: hci0: Debug lock is disabled
Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Bluetooth: hci0: Found device firmware: intel/ibt-19-32-4.sfi
Bluetooth: hci0: Waiting for firmware download to complete
Bluetooth: hci0: Firmware loaded in 1642369 usecs
Bluetooth: hci0: Waiting for device to boot
Bluetooth: hci0: Device booted in 17881 usecs
Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-32-4.ddc
Bluetooth: hci0: Applying Intel DDC parameters completed
Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021
Bluetooth: hci0: MSFT filter_enable is already on
----

Let me know if anyone needs more info.

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Orange County CA

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Commit 9b16bfbf41 ("Bluetooth: btintel: Move operational checks after version check") causing BT FW loading problems
  2021-05-29  0:36 Commit 9b16bfbf41 ("Bluetooth: btintel: Move operational checks after version check") causing BT FW loading problems Kenneth R. Crudup
@ 2021-05-31  0:29 ` Luiz Augusto von Dentz
  2021-05-31  3:43   ` Kenneth R. Crudup
  0 siblings, 1 reply; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2021-05-31  0:29 UTC (permalink / raw)
  To: Kenneth R. Crudup
  Cc: Luiz Augusto Von Dentz, An, Tedd, Marcel Holtmann, linux-bluetooth

Hi Kenny,

On Fri, May 28, 2021 at 5:53 PM Kenneth R. Crudup <kenny@panix.com> wrote:
>
>
> My BT device is (apparently a Jefferson Peak device):
>
> >> Bus 003 Device 003: ID 8087:0026 Intel Corp.
>
> With this commit in place, loading the BT firmware after a cold start fails
> attempting to load the wrong(?) firmware:
>
> ----
> Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021
> bluetooth hci0: Direct firmware load for intel/ibt-19-16-0.sfi failed with error -2
> Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-19-16-0.sfi (-2)
> ----
>
> ... and a "git log" in the linux-firmware repo shows this file "ibt-19-16-0.sfi"
> never existed. Before this commit it was trying to load:
>
> ----
> Bluetooth: hci0: Bootloader revision 0.4 build 0 week 11 2017
> Bluetooth: hci0: Device revision is 2
> Bluetooth: hci0: Secure boot is enabled
> Bluetooth: hci0: OTP lock is enabled
> Bluetooth: hci0: API lock is enabled
> Bluetooth: hci0: Debug lock is disabled
> Bluetooth: hci0: Minimum firmware build 1 week 10 2014
> Bluetooth: hci0: Found device firmware: intel/ibt-19-32-4.sfi
> Bluetooth: hci0: Waiting for firmware download to complete
> Bluetooth: hci0: Firmware loaded in 1642369 usecs
> Bluetooth: hci0: Waiting for device to boot
> Bluetooth: hci0: Device booted in 17881 usecs
> Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-32-4.ddc
> Bluetooth: hci0: Applying Intel DDC parameters completed
> Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021
> Bluetooth: hci0: MSFT filter_enable is already on
> ----
>
> Let me know if anyone needs more info.

What exact kernel version are you testing this? Is it with Linus tree
or bluetooth-next? In case of the former you will probably need the
following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=183dce5a7fd3040ced6a220b0aa536c926f10cd9

>
>         -Kenny
>
> --
> Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Orange County CA



-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Commit 9b16bfbf41 ("Bluetooth: btintel: Move operational checks after version check") causing BT FW loading problems
  2021-05-31  0:29 ` Luiz Augusto von Dentz
@ 2021-05-31  3:43   ` Kenneth R. Crudup
  2021-06-01 11:05     ` Kenneth R. Crudup
  0 siblings, 1 reply; 4+ messages in thread
From: Kenneth R. Crudup @ 2021-05-31  3:43 UTC (permalink / raw)
  To: Luiz Augusto von Dentz
  Cc: Luiz Augusto Von Dentz, An, Tedd, Marcel Holtmann, linux-bluetooth

On Sun, 30 May 2021, Luiz Augusto von Dentz wrote:

> What exact kernel version are you testing this?

I grab Linus' master branch every few days.

> In case of the former you will probably need the following commit:

> https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=183dce5a7fd3040ced6a220b0aa536c926f10cd9

OK, I'll apply that and try again. Thanks!

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Orange County CA

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Commit 9b16bfbf41 ("Bluetooth: btintel: Move operational checks after version check") causing BT FW loading problems
  2021-05-31  3:43   ` Kenneth R. Crudup
@ 2021-06-01 11:05     ` Kenneth R. Crudup
  0 siblings, 0 replies; 4+ messages in thread
From: Kenneth R. Crudup @ 2021-06-01 11:05 UTC (permalink / raw)
  To: Luiz Augusto von Dentz
  Cc: Luiz Augusto Von Dentz, An, Tedd, Marcel Holtmann, linux-bluetooth


On Sun, 30 May 2021, Luiz Augusto von Dentz wrote:

> > In case of the former you will probably need the following commit:

> > https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=183dce5a7fd3040ced6a220b0aa536c926f10cd9

That seems to have fixed it- thanks!

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Orange County CA

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-01 11:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-29  0:36 Commit 9b16bfbf41 ("Bluetooth: btintel: Move operational checks after version check") causing BT FW loading problems Kenneth R. Crudup
2021-05-31  0:29 ` Luiz Augusto von Dentz
2021-05-31  3:43   ` Kenneth R. Crudup
2021-06-01 11:05     ` Kenneth R. Crudup

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.