iA


Bluetooth on FreeBSD

by Vijay Kiran

Bluetooth

After installing the JDK 1.5 and Eclipse, the next move is to figure out how to connect to my Nokia 3230 via bluetooth. On Linux, it took 3 days for me to figure out how to install/configure the bluetooth driver. May be it was just for me, but it took hell lot of time to get it working. Installing different packages, obex, gnome-bt tools, libbt and their incompatibilities.

And with FreeBSD, open the /boot/loader.conf and added

ng_ubt_load="YES"

and after rebooting dmesg | grep ubt gives me

ubt0: vendor 0x0a12 product 0×0001, rev 2.00/15.93, addr 2
ubt0: vendor 0x0a12 product 0×0001, rev 2.00/15.93, addr 2
ubt0: Interface 0 endpoints: interrupt=0×81, bulk-in=0×82, bulk-out=0×2
ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0×83, isoc-out=0×3;
wMaxPacketSize=49; nframes=6, buffer size=294

Voila! Bluetooth device has been detected by the kernel, now I used hccontrol to inquire my phone, and my phone was able to detect my Laptop too!

I installed obex and tonight I’ll try to configure the dailup, file transfer (pairing). I searched for gnome-bt on the ports, but couldn’t find any, let me try tonight again. May be the gnome-bt tools are just for Linux(!).