I am not clear on how to pair devices with FreeBSD and netgraph. Can I please get some help with this?
First, this is the relevant output from kldstat:
$ kldstat
Id Refs Address Size Name
<snip>
10 1 0xc571e000 7000 ng_ubt.ko
11 5 0xc5725000 b000 netgraph.ko
12 4 0xc2ee4000 2000 ng_bluetooth.ko
13 1 0xc5736000 d000 ng_hci.ko
14 1 0xc5743000 f000 ng_l2cap.ko
15 1 0xc5752000 19000 ng_btsocket.ko
16 1 0xc5514000 4000 ng_socket.ko
17 1 0xc5527000 3000 ubtbcmfw.ko
I'm fairly sure the last one, ubtbcmfw, is unnecessary since it apparently works without it. Upon 'hccontrol -n ubt0hci inquiry' or 'hccontrol -n ubt0hci remote_name_request 00:13:c2:01:dc:c1 0 0 0', my WACOM Pen Tablet comes right up (that's the name it gives it).
So, I wrote up /etc/bluetooth/hcsecd.conf as follows:
# Default entry is applied if no better match found
# It MUST have 00:00:00:00:00:00 as bdaddr
device {
bdaddr 00:00:00:00:00:00;
name "Default entry";
bdaddr 00:00:00:00:00:00;
name "Default entry";
key nokey;
pin nopin;
}
# Ericsson T68 phone
device {
bdaddr 00:80:37:5e:4d:d4;
name "Ericsson T68 phone";
key nokey;
pin "0000"; # PIN code
}
# Dummy device
device {
bdaddr 00:11:22:33:44:55;
name "Dummy";
key 0x00112233445566778899aabbccddeeff; # 16 bytes key
pin nopin;
}
# Wacom Graphire Bluetooth
device {
bdaddr 00:13:c2:01:dc:c1;
name "Wacom Graphire BT Tablet";
key nokey;
pin nopin;
}
I press "Connect" on my tablet to put it in discovery mode, and start hcsecd -d as a privileged user. Nothing. It mentions a Dummy device and that's about it.
And that's just
pairing the device. I'll have to grep Ubuntu's HOWTO on this subject on just how to actually get the tablet to work after that.
As an aside, hccontrol will find my tablet
but not my cell phone. My cell phone will find both my tablet and my PC, but will pair to neither (not that I'd really expect it to).
So, here's phase one: Pairing. How do I pair my tablet to my PC? Am I close? Getting warmer? Or am I freezing cold and unaware of it?
edit: Changed title.
[Edited by - Benjamin Heath on May 26, 2008 6:38:54 PM]