[Bug 267581] ubt: 13.1-RELEASE fails to attach Intel Wireless-AC 3168 (USB: 0x8087:0x0aa7, ASRock X399 Taichi and others)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Nov 2022 05:07:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267581

--- Comment #13 from Andrey Korobkov <alster@vinterdalen.se> ---
Thank you for the advice. I've checked my iwmbt-firmware version, it's the
latest 20210315 (so should have it). I've just had tried to examine the
behavior both with and without this installed (should it be useful).

Now have partial success, as I was able to at least have the firmware
downloaded to the device after commenting out devd rule from
/etc/devd/iwmbtfw.conf and powering off the machine.

But still no success with attaching ubt device node: adapter seems to lock
itself somehow, so now I have 2 states:

1) Default. When devd rule is active something tries to start ng_ubt, fails
with timeout and adapter locks. All download attempts fail.
2) Manual. When devd rule is inactive and nothing tries to start ng_ubt, so
adapter seems unlocked. Manual firmware downloading succeeds. I may even do
`usbconfig reset` and then successfully re-download the firmware. No locking
happen, but still no ubt device node appear. When trying to start bluetooth
service manually adapter locks so any following download attempts fail until
power cycle.

Looks similar to #237083 ?
Some race condition during BT activation?
Should I try to comment out devd rule for automatic service bluetooth
quietstart?

I may even try to apply some patches to test, would you advice me to do so…
Thanks in advance

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.