OpenIntelWireless / IntelBluetoothFirmware

Intel Bluetooth Kernel Extensions for macOS
https://OpenIntelWireless.github.io/IntelBluetoothFirmware
GNU General Public License v3.0
2.45k stars 260 forks source link

Intel BTLE 9460/9560 Module loses connectivity with mouse/keyboard with no reason #217

Closed mackonsti closed 3 years ago

mackonsti commented 3 years ago

Description I am running latest Catalina on my Intel NUC8i7BEH mini PC that has integrated the Intel Bluetooth 9460/9560 Module (BTLE v5.1) device [8087:0aaa] and this BTLE has PCI ID is https://pci-ids.ucw.cz/read/PC/8087/0aaa When attaching a BT keyboard or mouse, suddenly it goes disconnected without apparent reason. I cannot find a pattern in the disconnections. The mouse, especially, doesn't cooperate at all. Both work 100% without issues on my work's MacBookPro15,4.

Environment

Info in System Report - Bluetooth

Apple Bluetooth Software Version:   7.0.6f7
  Hardware, Features and Settings:
  Name: Gray Mini
  Address:  38-BA-F8-93-99-7C
  Bluetooth Low Energy Supported:   Yes
  Handoff Supported:    No
  Instant Hot Spot Supported:   No
  Manufacturer: Intel
  Transport:    USB
  Firmware Version: 10.256 (10.256)
  Bluetooth Power:  On
  Discoverable: Off
  Connectable:  Yes
  Auto Seek Pointing:   On
  Remote wake:  On
  Vendor ID:    0x8087
  Product ID:   0x0AAA
  Bluetooth Core Spec:  Unknown (0xA)
  HCI Revision: 0x100
  LMP Version:  Unknown (0xA)
  LMP Subversion:   0x100
  Device Type (Major):  Computer
  Device Type (Complete):   Mac Desktop
  Composite Class Of Device:    0x380104
  Device Class (Major): 0x01
  Device Class (Minor): 0x01
  Service Class:    0x1C0
  Auto Seek Keyboard:   On
  Devices (Paired, Configured, etc.):
  Satechi Slim Keyboard:
  Address:  21-18-08-08-1E-0E
  Major Type:   Peripheral
  Minor Type:   Keyboard
  Services: Broadcom Bluetooth Wireless Keyboard SDP Server, Broadcom Bluetooth Wireless  Keyboard                        , Broadcom Bluetooth Wireless Keyboard PnP Server
  Paired:   Yes
  Configured:   Yes
  Connected:    Yes
  Manufacturer: Broadcom (0x5, 0x2211)
  Bluetooth Core Spec:  3,0
  Firmware Version: 0x011B
  Vendor ID:    0x2222
  Product ID:   0x0035
  Class of Device:  0x05 0x10 0x0540
  AFH:  On
  AFH Map:  CEFF4000200C0730
  RSSI: 0
  Role: Master
  Connection Mode:  Active Mode
  Interval: 0 ms
  Host Connectable: No
  EDR Supported:    No
  eSCO Supported:   No
  SSP Supported:    No
  Konsti's AirPods:
  Address:  24-F6-77-F0-16-7D
  Major Type:   Miscellaneous
  Minor Type:   Unknown
  Services: 
  Paired:   Yes
  Configured:   Yes
  Connected:    No
  Bluetooth Core Spec:  1.0b
  Vendor ID:    0x004C
  Product ID:   0x2002
  Class of Device:  0x00 0x00 0x0000
  Konsti’s Mouse:
  Address:  C4-2C-03-98-D5-78
  Major Type:   Peripheral
  Minor Type:   Mouse
  Services: Apple Wireless Mouse
  Paired:   Yes
  Configured:   Yes
  Connected:    No
  Manufacturer: Apple (0x3, 0x31C)
  Bluetooth Core Spec:  2,0
  Firmware Version: 0x0084
  Vendor ID:    0x05AC
  Product ID:   0x030D
  Class of Device:  0x05 0x20 0x2580
  Host Connectable: Yes
  EDR Supported:    No
  eSCO Supported:   No
  SSP Supported:    No
  Services:
  Bluetooth File Transfer:
  Folder other devices can browse:  ~/Public
  When receiving items: Accept all without warning
  State:    Disabled
  Bluetooth File Exchange:
  Folder for accepted items:    ~/Downloads
  When other items are accepted:    Save to location
  When receiving items: Accept all without warning
  State:    Disabled
  Bluetooth Internet Sharing:
  State:    Disabled
  Incoming Serial Ports:
  Bluetooth-Incoming-Port:
  RFCOMM Channel:   3
  Requires Authentication:  No

Logs since boot time

2020-11-11 13:24:07.368453+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: boot_param=0x40800
2020-11-11 13:24:07.368609+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: send firmware done
2020-11-11 13:24:07.368611+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt continue
2020-11-11 13:24:07.368613+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: HCI_OP_INTEL_RESET
2020-11-11 13:24:07.368753+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Intel reset succeed
2020-11-11 13:24:07.369188+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Notify: Firmware download done
2020-11-11 13:24:07.369191+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: can not proceed response
2020-11-11 13:24:07.369203+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt wait
2020-11-11 13:24:07.644651+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: onRead not responding
2020-11-11 13:24:07.644674+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt continue
2020-11-11 13:24:07.644676+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: HCI_OP_INTEL_EVENT_MASK
2020-11-11 13:24:07.644835+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Setting Intel event mask failed (-536870184) device is not ready
2020-11-11 13:24:07.644841+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: End download
2020-11-11 13:24:07.644843+0100 0x180      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Clean up...
2020-11-11 13:24:07.645832+0100 0x6f       Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Driver Stop()
2020-11-11 13:24:07.645970+0100 0x6f       Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Driver free()
2020-11-11 13:24:07.647941+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Driver init()
2020-11-11 13:24:07.647947+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Driver Probe()
2020-11-11 13:24:07.647953+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: name=IOUSBHostDevice, class=IOService, vendorID=0x8087, productID=0x0AAA
2020-11-11 13:24:07.647991+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Driver Start()
2020-11-11 13:24:09.149640+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: set configuration to 1
2020-11-11 13:24:09.150149+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Found interface!!!
2020-11-11 13:24:09.150176+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Found Interrupt endpoint!
2020-11-11 13:24:09.150468+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Found Bulk out endpoint!
2020-11-11 13:24:09.150814+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Found Bulk in endpoint!
2020-11-11 13:24:09.151170+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: usb init succeed
2020-11-11 13:24:09.151173+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: HCI_OP_INTEL_VERSION
2020-11-11 13:24:09.151340+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt wait
2020-11-11 13:24:09.152192+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Bootloader revision 0.1 build 42 week 52 2015
2020-11-11 13:24:09.152196+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: suspect device firmware: ibt-17-16-1.sfi
2020-11-11 13:24:09.152201+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt continue
2020-11-11 13:24:09.152203+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: HCI_OP_BOOT_PARAMS
2020-11-11 13:24:09.152349+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt wait
2020-11-11 13:24:09.153200+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Device revision is 2
2020-11-11 13:24:09.153202+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Secure boot is enabled
2020-11-11 13:24:09.153204+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: OTP lock is enabled
2020-11-11 13:24:09.153206+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: API lock is enabled
2020-11-11 13:24:09.153208+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Debug lock is disabled
2020-11-11 13:24:09.153210+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Minimum firmware build 1 week 10 2014
2020-11-11 13:24:09.153349+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Found device firmware: ibt-17-16-1.sfi
2020-11-11 13:24:09.153355+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt continue
2020-11-11 13:24:09.153356+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: send firmware header
2020-11-11 13:24:09.153688+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: send firmware pkey
2020-11-11 13:24:09.154257+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: send firmware signature
2020-11-11 13:24:09.155033+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: send firmware data
2020-11-11 13:24:10.499554+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: boot_param=0x40800
2020-11-11 13:24:10.499706+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: send firmware done
2020-11-11 13:24:10.499709+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt continue
2020-11-11 13:24:10.499711+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: HCI_OP_INTEL_RESET
2020-11-11 13:24:10.499900+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Intel reset succeed
2020-11-11 13:24:10.500201+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Notify: Firmware download done
2020-11-11 13:24:10.500206+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: can not proceed response
2020-11-11 13:24:10.500243+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt wait
2020-11-11 13:24:10.513206+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Notify: Device reboot done
2020-11-11 13:24:10.513209+0100 0x156      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: can not proceed response
2020-11-11 13:24:10.513215+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt continue
2020-11-11 13:24:10.513217+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: HCI_OP_INTEL_EVENT_MASK
2020-11-11 13:24:10.513422+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt wait
2020-11-11 13:24:10.514302+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: interrupt continue
2020-11-11 13:24:10.514333+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: End download
2020-11-11 13:24:10.514335+0100 0x574      Default     0x0                  0      0    kernel: (kernel) IntelFirmware: Clean up...

Kernel Panic Logs No kernel panic.

Screenshots No useful screenshots, really.

Additional information I have the impression that this firmware uploaded for this BTLE device doesn't like my Bluetooth devices. My mouse is a Logitech MX Anywhere 2 model and my wireless keyboard is a Satechi Aluminum Wireless Keyboard model ST-TCAWKS / 879961007249 according to their website. Happy to provide supplemental logs if needed. Thank you.

Hackintool

lgariv commented 3 years ago

AC-9462, bought a Logitech Triathlon M720 mouse recently, and can't even pair it to begin with, so no logs available.

It says "Connected" in the bluetooth menu, with a spinning wheel, and then it just disappears after about 7 seconds. The light on the mouse is blinking all of the time, meaning it never actually pair.

I've done some digging around, and this problem is most probably related to BLE - I just don't no where to even start to look into in order to fix that (or at least try).

williambj1 commented 3 years ago

Hi @mackonsti @lgariv!

I appreciate your detailed but report, but unfortunately, this issue is currently out of our control. IntelBluetoothFirmware is just a firmware uploader. Due to our limited time, we are focusing on itlwm and not planning on solving this. We are looking forward to external contributions. Please read our docs for more info. Sorry for the inconvenience.

lgariv commented 3 years ago

Hi @mackonsti @lgariv!

I appreciate your detailed but report, but unfortunately, this issue is currently out of our control. IntelBluetoothFirmware is just a firmware uploader. Due to our limited time, we are focusing on itlwm and not planning on solving this. We are looking forward to external contributions. Please read our docs for more info. Sorry for the inconvenience.

If you are not going to fix it yourself but are looking for a contribution, why closing this issue? Should be pinned in my opinion so other developers capable of fixing the issue might see it.

zxystd commented 3 years ago

@lgariv Nothing wrong with this driver, this firmware uploader is a functionality driver. The problems @mackonsti described is related to Apple's driver, need a patch driver or write a entire HID driver if you are willing to do, they are different drivers. If I have more time and decide to fix these compatibility problems, I will create another driver repo, nothing can be done base on this driver. It works fine.

williambj1 commented 3 years ago

If you are not going to fix it yourself but are looking for a contribution, why closing this issue? Should be pinned in my opinion so other developers capable of fixing the issue might see it.

@lgariv I closed this issue mainly because it a duplication of #51, which is already pinned.

williambj1 commented 3 years ago

Duplicate of #51