Skip to content

Mac OS BLE stack is a trashcan: possible workarounds. #278

@Na-Cly

Description

@Na-Cly

Pairing with Mac OS has been an overall negative experience that requires multiple resets of the keyboard and multiple resets of bluetooth settings on the mac, and when it does start working you've tried so many things you don't even remember how you got to where you are.

Here's behavior I've seen when pairing and unpairing from mac os:

  1. Initial connection looks like it establishes fine but no key presses are registered.
  2. Disconnecting the keyboard by clearing the bond causes issues reconnecting the keyboard to the mac.

Since the improved bluetooth profiles were released this has been significantly helped as now if the connection is established and working it will usually continue working and an occasional reset of central is required after a reboot.

There are ways to get it working with a couple of reboots but I wanted a method of restoring connectivity without rebooting. So far this is the method I've come up with:

  1. Clear bond on keyboard
  2. Remove device from mac from debug menu
  3. Reset bluetooth device from debug menu
  4. rm ~/Library/Preferences/ByHost/Bluetooth && sudo pkill blued

This has been the best to get the keyboard working again without rebooting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bluetoothBluetooth related items

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions