OpenIntelWireless / IntelBluetoothFirmware

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

Kext loaded, but no log and can't find/pair with other devices #113

Closed kennethnym closed 4 years ago

kennethnym commented 4 years ago

Description I injected the kext to opencore by putting it inside OC/Kext and adding it to config.plist. Nothing shows up when I enter the command to output a log. USBs are mapped correctly.

Environment

Info in System Report - Bluetooth

Copy and paste all contents down below between ```

Apple Bluetooth Software Version:   7.0.4f6
  Hardware, Features, and Settings:
  Name: Kenneth’s iMac
  Address:  64-5D-86-15-D1-0E
  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.):
  Kenneth Ng’s Trackpad:
  Address:  AC-88-FD-ED-EF-39
  Major Type:   Peripheral
  Minor Type:   Trackpad
  Services: Magic Trackpad 2
  Paired:   Yes
  Configured:   Yes
  Connected:    No
  Manufacturer: Broadcom (0x5, 0x240C)
  Bluetooth Core Spec:  3.0
  Firmware Version: 0x0102
  Vendor ID:    0x004C
  Product ID:   0x0265
  Class of Device:  0x05 0x25 0x2594
  Host Connectable: Yes
  EDR Supported:    Yes
  eSCO Supported:   No
  SSP Supported:    Yes
  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

Use log show --last boot | grep IntelFir in terminal to get logs, paste them down between log and

Nothing

Kernel Panic Logs

In case there is a kernel panic, add keepsyms=1 in boot-args then paste the panic info below between ```

No

williambj1 commented 4 years ago

I have the same card as yours and I’m using OpenCore, everything works as expected. I don’t think this is a bug, it’s certainly your configuration mistake based on your given information. Consider filling all the blanks in the template form if you want to argue with me. Thanks.

BTW, checking OpenCore logs to see whether it’s correctly injected might be a good start.

kennethnym commented 4 years ago

I can't reach my pc right now; I am commenting with the mobile app. I'll certainly full the rest of the information when i can use my pc. Thanks for the suggestion though.

kennethnym commented 4 years ago

@williambj1 info updated

kennethnym commented 4 years ago

@williambj1 when i search through my OpenCore log i found these two lines:

11:266 00:034 OC: Prelink injection IntelBluetoothFirmware.kext () - Success
11:269 00:002 OC: Prelink injection IntelBluetoothInjector.kext () - Success

It seems like they are injected succesfully.

williambj1 commented 4 years ago

Is your bluetooth working as expected and the only issue is you don't get the logs right?

Logging is a common bug in macOS (sigh), but there's an alternative way that guarantees the logs will be saved.

  1. add msgbuf=1048576 into boot-args
  2. in terminal use sudo dmesg | grep -i IntelFir > ~/Desktop/log.txt

The method is provided by lvs1974, original link: https://github.com/VoodooI2C/VoodooI2C/issues/269#issuecomment-608298277

kennethnym commented 4 years ago

My Bluetooth is not working properly. No devices are visible on the list until a device requests to pair first. I paired my trackpad with the computer with a USB cable, but sometimes the trackpad will refuse to connect to the computer.

Edit: to elaborate further on the first issue, say I want to pair my phone with my computer. My phone has to make the request to pair with the computer because my phone will not show up on the list, but after sending the request (without pairing), my computer is able to discover my phone. This also means that I can't pair any other Bluetooth devices that are not capable of sending pair requests such as Bluetooth headphones and Bluetooth mice.

williambj1 commented 4 years ago

No devices are visible on the list until a device requests to pair first.

AFAIK, this is expected, that's how bluetooth works. Does the device list appear the same on your phone or other devices/systems?

kennethnym commented 4 years ago

When both devices are visible, I should be able to pair from both devices. The Bluetooth list on my computer is completely empty, but the list on my phone shows my computer just fine.

If I set my Bluetooth headphones to pair mode, the Bluetooth list on my computer will still be empty when I should be able to see and pair my headphones.

williambj1 commented 4 years ago

That’s quite odd, did you try with peripherals that have different bluetooth versions, e.g. bluetooth 4.0 & bluetooth 5.0?

Does directed rebooting from Windows without powering off (aka warm reboot) without the kext installed have the same issue? If yes then your issue might have nothing to do with this kext since it’s just a firmware uploader, all the core parts are handled by MacOS.

kennethnym commented 4 years ago

Yep, did that and had the same issue. However, Bluetooth works just fine on Windows, and I have not seen any user having Bluetooth issues with macOS 10.15.4.

kennethnym commented 4 years ago

Also tried to use the method of guaranteeing a log; didn't work. log.txt is empty.

williambj1 commented 4 years ago

I'm afraid that's all I could help since the device is not on my hands and I have no idea what's wrong with your configuration, good luck.

kennethnym commented 4 years ago

@williambj1 The kext was actually loaded:

$ kextstat | grep -v com.apple | grep IntelBluetooth
94    0 0xffffff7f86369000 0xea8000   0xea8000   com.zxystd.IntelBluetoothFirmware (1.0.3) BBD2A3B5-1B2F-3DAF-919A-D7EECD606FF1 <27 6 5 3>
zxystd commented 4 years ago

Some devices such as BT 4.0 mouse can't connect because of the compatibility of Apple driver and Intel BT, not due to this Firmware Driver, you can try another device, Thanks.

kennethnym commented 4 years ago

Cool, good to know. Thanks!

kennethnym commented 4 years ago

I figured out what happened. I need to attach an antenna to my motherboard to increase signal strength.

sojab0on commented 3 years ago

I have same issue bummer that bt 4.0 devices don't work I don't have mice with tiger then 4.0 BT tech in them

nice thing is that my MX Master has dual tech so that will be used with a usb receiver uniting :) hope that BT 4.0 will get working soon

Other devices like Jabra t110BT and Kove 101 headphones work fine on BT even tough the Tune 110BT is also BT 4.0 and the 101 is a BT4.1

johnking0099 commented 2 years ago

I figured out what happened. I need to attach an antenna to my motherboard to increase signal strength. 👍