A1016 Apple Wireless Keyboard - pairing with bluetooth (macOS Sequoia)

I could not reconnect my A1016 keyboard after replacing the batteries. It was working fine and dandy prior to that after when I turned it off/on for cleaning.


I've tried previous method of connecting described here with manually entering pairing command with mac address.


Is there new way to connect it under Sequoia? I'm on MacStudio M1 if it matters.


Thank you!


Mac Studio

Posted on Feb 10, 2025 11:33 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 10, 2025 3:21 PM

Here is the solution from wmbauer


sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist EnableLegacyPairing 1
sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist EnableClassicDiscovery 1
sudo pkill bluetoothd 


sudo rm /Library/Preferences/com.apple.Bluetooth.plist

or

sudo rm /Library/Preferences/com.apple.bluetooth.plist


get blueutil latest https://formulae.brew.sh/formula/blueutil

Enter pairing mode on the keyboard (toggle on/off a couple of times until the green light flashes)

Run blueutil with full path to make sure we're using the current one (blueutil --version should read 2.12.0 atm)

blueutil --inquiry --format json; sleep 10; done


Get the MAC address from the output (00-0a-95-3b-95-65)

[{"address":"00-0a-95-3b-95-65","recentAccessDate":"2024-11-13T20:08:24+01:00","favourite":false,"name":"Wireless Keyboard","connected":false,"paired":false}]2024-11-13 20:08:24.255 

Get the log while pairing

log stream --predicate 'subsystem == "com.apple.bluetooth" AND eventMessage CONTAINS "00:0A:95:3B:95:65"' --level debug


Open a 2nd terminal and start pairing

sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist ClassicPairingEnabled 1 

or

sudo defaults write /Library/Preferences/com.apple.bluetooth.plist ClassicPairingEnabled 1 

Start pairing

blueutil --pair 00-0a-95-3b-95-65 0000


CRITICAL

Wait a couple of seconds. Enter 0000 on the A1016 keyboard and press enter on the A1016 keyboard. This will finish the pairing process.





User level:


Level 1



1 reply
Question marked as Top-ranking reply

Feb 10, 2025 3:21 PM in response to nicksu

Here is the solution from wmbauer


sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist EnableLegacyPairing 1
sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist EnableClassicDiscovery 1
sudo pkill bluetoothd 


sudo rm /Library/Preferences/com.apple.Bluetooth.plist

or

sudo rm /Library/Preferences/com.apple.bluetooth.plist


get blueutil latest https://formulae.brew.sh/formula/blueutil

Enter pairing mode on the keyboard (toggle on/off a couple of times until the green light flashes)

Run blueutil with full path to make sure we're using the current one (blueutil --version should read 2.12.0 atm)

blueutil --inquiry --format json; sleep 10; done


Get the MAC address from the output (00-0a-95-3b-95-65)

[{"address":"00-0a-95-3b-95-65","recentAccessDate":"2024-11-13T20:08:24+01:00","favourite":false,"name":"Wireless Keyboard","connected":false,"paired":false}]2024-11-13 20:08:24.255 

Get the log while pairing

log stream --predicate 'subsystem == "com.apple.bluetooth" AND eventMessage CONTAINS "00:0A:95:3B:95:65"' --level debug


Open a 2nd terminal and start pairing

sudo defaults write /Library/Preferences/com.apple.Bluetooth.plist ClassicPairingEnabled 1 

or

sudo defaults write /Library/Preferences/com.apple.bluetooth.plist ClassicPairingEnabled 1 

Start pairing

blueutil --pair 00-0a-95-3b-95-65 0000


CRITICAL

Wait a couple of seconds. Enter 0000 on the A1016 keyboard and press enter on the A1016 keyboard. This will finish the pairing process.





User level:


Level 1



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

A1016 Apple Wireless Keyboard - pairing with bluetooth (macOS Sequoia)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.