Hi, Miha
To enable BT on Ubuntu Server, you should install the following package:
apt-get install bluez ap6256-firmware
First stop the rfkill
echo 1 > /sys/class/rfkill/rfkill0/state
Download the BT firmware with brcm_patchram_plus1 tool
brcm_patchram_plus1 -d --enable_hci --no2bytes\
--use_baudrate_for_downloade --tosleep 200000 \
--baudrate 1500000 --patchram \
/system/etc/firmware/BCM4345C5.hcd /dev/ttyS0 \
> /dev/null 2>&1 &
It will run on the background.
Now check the hci device
hciconfig
hci0: Type: Primary Bus: UART
BD Address: 43:45:C5:00:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:785 acl:0 sco:0 events:49 errors:0
TX bytes:2284 acl:0 sco:0 commands:49 errors:0
Scan other BT devices
hcitool scan
You can add the first two lines on /etc/rc.local to download BT firmware every time.