I have been trying to get bluetooth working correctly on Linux for a while now. I am using two systems that are having identical issues: Linux Mint 15 64-bit & Ubuntu 13.04 32-bit. Both are using the Cinnamon desktop. I have the following bluetooth dongle:
http://dx.com/p/super-mini-bluetooth-2-0-adapter-dongle-vista-compatible-11866
$ lsusb | grep -i blue
Bus 004 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Here are the issues that I am having:
1) Bluetooth dongle is not always recognized at startup. Bluetooth icon does not display in the system tray. The bluetooth service is running:
$ sudo service bluetooth start
start: Job is already running: bluetooth
$ sudo bluetoothd -u
D-Bus setup failed: Name already in use
I have to remove and re-insert dongle and system tray icon appears and dongle shows up under lsusb.
2) Cinnamon's GUI utility (under System Settings shows that bluetooth is disabled and the dongle still does not display under hcitool's device listing:
$ hcitool dev
Devices:
I can "enable" bluetooth with the GUI (not sure how to do it from a terminal) by selecting "On" then removing and re-inserting dongle again. Then the dongle shows up under hcitool:
$ hcitool dev
Devices:
hci0 00:1F:81:00:02:50
I can then pair bluetooth devices (I have a phone and a mouse).
3) I cannot "connect" bluetooth devices. Often when I try to connect I get a kernel panic and the system crashes. If the system does not crash during connection the device will appear to be connected but still not work. Sometimes the system will crash when trying to access the device, for example, when I try to send a file to my phone. If the system does not crash the signal is never sent/received and the phone does not respond to the incoming file. In the case of the mouse it just doesn't work.
I have tried connecting to the devices using the default GUI utility supplied by Cinnamon/Linux Mint, the blueman GUI and hcitool. Sometimes the connection appears to be made and other times it connects for only a second or two then disconnects:
(NOTE: FC:C7:34:F2:F5:CD is the address of paired bluetooth phone as displayed by Cinnamon's GUI utility.)
$ hcitool con
Connections:
$ sudo hcitool cc FC:C7:34:F2:F5:CD
$ hcitool con
Connections:
The last time that I ran the hcitool cc command the Cinnamon utility showed the device connect for less than a second and disconnect. Then, within 10 or 20 seconds the system crashed.
(NOTE: This USB dongle works fine on Windows XP and Vista systems, so I am convinced this is a software issue on Linux.)
Linux Mint and Ubuntu both use the Bluez bluetooth stack. I have searched a bit for alternate stacks and found Affix, but it appears to be outdated and requires recompiling the kernel.
I have discussed the issue somewhat in the Linux Mint forums (Bluetooth not working Mint 14 KDE - Linux Mint Forums). Another user using the KDE desktop was able to make it functional, but I have not had any success yet.