After having great difficulty getting the new KDE graphical interface for Bluetooth running in the new 11.1, so I changed tracks and focused on the command line, instead. With a lot of help from “jhe” in freenode, we got the BT device registered and automatically detected in future reboots. I wanted to document these commands for everyone else struggling with their own bluetooth configuration. After reading through the forum posts here, it seems like I was not alone in having problems.
HOWTO Bluetooth Apple Keyboard (aluminum model):
All commands must be run as root.
First, determine the BT dongle is working correctly. This HOWTO assumes it is. Refer to other documents if you are having trouble here.
Next, determine the address of the BT device. In this case, the keyboard was 00:1E:52:FF:68:44
Next, download the two developer scripts, simple-agent and test-device :
git.kernel.org - bluetooth/bluez.git/tree - test/
Configure these scripts on your system so they can be run as root, with the chmod command.
Turn on your BT device.
Pair your device with the bluetooth dongle using the following command :
./simple-agent hci0 00:1E:52:FF:68:44
Type a four digit code when prompted for a PIN, and type the same on the keyboard. You should get a device path, if it works correctly. For example:
New device (/org/bluez/6308/hci0/dev_00_1E_52_FF_68_44)
Lastly, connect to the device, using your device path :
dbus-send --system --dest=org.bluez --print-reply /org/bluez/6308/hci0/dev_00_1E_52_FF_68_44 org.bluez.Input.Connect
Your BT keyboard should now be functional. Do not be afraid to run these commands more than once, if they did not immediately succeed. Bluetooth works on cycles of many seconds. Personally, I ran the dbus-send command three times before a connection was established.
Finally, to keep from having to run these commands on every boot, run this command to establish a trust for the device:
./test-device.pl trusted 00:1E:52:FF:68:44 yes
Let me know if this helps you get up and running. Happy hacking.