Howto configure an Apple bluetooth keyboard on macbook
Victor
vdemart at gmail.com
Wed Oct 11 17:08:54 UTC 2017
I've just installed FreeBSD 11.1 on a disk partition of my Macbook 2007 (the white one). Now, via refind, I can boot either Mac OS X or FreeBSD.
The BT Logitech mouse automagically has been connecting and working correctly since my very first boot into BSD while The Apple BT keyboard doesn't want to connect and, frankly, I don't know very much about bluetooth in FreeBSD.
Here it is the relevant info (at least, IMHO)
The BT device in the Macbook is
Address: 00-1F-5B-7B-37-0F
Maker: Cambridge Silicon Radio
victor at bsd:~ % uname -a
FreeBSD bsd 11.1-RELEASE FreeBSD 11.1-RELEASE #1: Wed Oct 11 06:54:05 CEST 2017 root at bsd:/usr/obj/usr/src/sys/MIOKERNEL amd64
victor at bsd:~ % kldstat
Id Refs Address Size Name
...................................
8 1 0xffffffff82c51000 3650 ums.ko
9 1 0xffffffff82c55000 2986 uhid.ko
10 1 0xffffffff82c58000 56a1 atp.ko
11 1 0xffffffff82c5e000 1c393 ng_btsocket.ko
12 1 0xffffffff82c7b000 107f ng_bluetooth.ko
13 1 0xffffffff82c7d000 c57d netgraph.ko
14 1 0xffffffff82c8a000 97ea4 i915kms.ko
15 1 0xffffffff82d22000 54e57 drm2.ko
16 4 0xffffffff82d77000 2731 iicbus.ko
17 1 0xffffffff82d7a000 1c51 iic.ko
18 1 0xffffffff82d7c000 1e60 iicbb.ko
19 1 0xffffffff82d7e000 bb55 tmpfs.ko
..........................
victor at bsd:~ % dmesg |grep "ugen"
ugen0.1: <Intel UHCI root HUB> at usbus0
ugen5.1: <Intel UHCI root HUB> at usbus5
ugen2.1: <Intel EHCI root HUB> at usbus2
ugen4.1: <Intel UHCI root HUB> at usbus4
ugen3.1: <Intel UHCI root HUB> at usbus3
ugen6.1: <Intel EHCI root HUB> at usbus6
ugen1.1: <Intel UHCI root HUB> at usbus1
ugen0.2: <vendor 0x05ac product 0x1000> at usbus0
ugen6.2: <JetFlash Mass Storage Device> at usbus6
ugen6.3: <vendor 0x05ac product 0x8300> at usbus6
ugen5.2: <Apple Computer, Inc. IR Receiver> at usbus5
ugen5.3: <Apple Inc. Apple Internal Keyboard Trackpad> at usbus5
Being 78:ca:39:4f:b1:91 the address of the keyboard, in /etc/bluetooth/hcsecd.conf I added
..............................
device {
bdaddr 78:ca:39:4f:b1:91;
name "Apple Keyboard";
key nokey;
pin "0000";
}
(I had a go also putting pin to "none" to no avail)
........................
and in /etc/bluetooth/hosts
.................
78:ca:39:4f:b1:91
Then rebooting with mouse and keyboard activated the latter doen't connect at all but keeps blinking.
Is there anyone out there that can help me to fix the problem?
Ciao
Vittorio
More information about the freebsd-questions
mailing list