Bluetooth not working Mint 14 KDE

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hal8000
Level 4
Level 4
Posts: 436
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Bluetooth not working Mint 14 KDE

Post by hal8000 »

Using Mint14 (32bit) KDE version.

I cannot get the bluetooth manager working. If I start blueman-manager at a terminal here is
the debug output:

hal@orac ~ $ blueman-manager
Loading configuration plugins
Using gconf config backend
_________
Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:68)
['Services', 'PulseAudioProfile']
ERROR:dbus.proxies:Introspect error on org.blueman.Applet:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
File "/usr/bin/blueman-manager", line 301, in <module>
Blueman()
File "/usr/bin/blueman-manager", line 64, in __init__
self.Plugins.Load()
File "/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py", line 98, in Load
__import__(self.module_path.__name__ + ".%s" % plugin, None, None, [])
File "/usr/lib/python2.7/dist-packages/blueman/plugins/manager/PulseAudioProfile.py", line 30, in <module>
if not "PulseAudio" in a.QueryPlugins():
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)


I found this thread useful, but did not solve my problem:
http://forums.linuxmint.com/viewtopic.php?t=102417&f=206

I have installed blueman , bluetooth, bluez and dependencies.
Thanks in advance for help with this.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AntumDeluge

Re: Bluetooth not working Mint 14 KDE

Post by AntumDeluge »

I think I am having the same problem. I can get the blueman-manager to load and it can see my bluetooth devices but I cannot get any to pair with the comptuer.

Code: Select all

err (/usr/bin/blueman-manager:250)
(DBusException(dbus.String(u'Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.'),),)
System info:
Linux Mint 15 64-bit
Cinnamon desktop
Kernel 3.8.0-19-generic

I tried enabling the Atheros module but did not help:

Code: Select all

$ sudo modproble ath3k
Here are the current modules that are loaded:

Code: Select all

$ lsmod | grep -i blue
bluetooth             228619  24 bnep,hidp,ath3k,btusb,rfcomm
This is the USB dongle that I am using:

Code: Select all

$ lsusb | grep -i blue
Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
And here are the available bluetooth modules:

Code: Select all

$ ls /lib/modules/$(uname -r)/kernel/drivers/bluetooth
ath3k.ko    bluecard_cs.ko  btmrvl.ko       btuart_cs.ko  dtl1_cs.ko
bcm203x.ko  bpa10x.ko       btmrvl_sdio.ko  btusb.ko      hci_uart.ko
bfusb.ko    bt3c_cs.ko      btsdio.ko       btwilink.ko   hci_vhci.ko
More info (don't know if it's useful):

Code: Select all

$ dmesg | grep -i blue
[   14.882586] Bluetooth: Core ver 2.16
[   14.882635] Bluetooth: HCI device and connection manager initialized
[   14.882644] Bluetooth: HCI socket layer initialized
[   14.882647] Bluetooth: L2CAP socket layer initialized
[   14.882655] Bluetooth: SCO socket layer initialized
[   17.906519] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.906523] Bluetooth: BNEP filters: protocol multicast
[   17.906533] Bluetooth: BNEP socket layer initialized
[   17.908076] Bluetooth: RFCOMM TTY layer initialized
[   17.908090] Bluetooth: RFCOMM socket layer initialized
[   17.908092] Bluetooth: RFCOMM ver 1.11
[  661.865880] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[  661.865894] Bluetooth: HIDP socket layer initialized
[  662.132012] Bluetooth: hci0 command 0x0419 tx timeout
[  668.020011] Bluetooth: hci0 command 0x0406 tx timeout
[ 1240.979635] Bluetooth: HCI UART driver ver 2.2
[ 1240.979640] Bluetooth: HCI H4 protocol initialized
[ 1240.979641] Bluetooth: HCI BCSP protocol initialized
[ 1240.979643] Bluetooth: HCILL protocol initialized
[ 1240.979644] Bluetooth: HCIATH3K protocol initialized
[ 1240.979645] Bluetooth: HCI Three-wire UART (H5) protocol initialized
[ 1245.276837] Bluetooth: Virtual HCI driver ver 1.3
NOTE: I was able to pair the devices to a Windows XP machine using the same dongle. So I am sure this is a driver/software/kernel issue.

Also, sometimes when trying to discover/pair my bluetooth mouse the kernel will panic and system crashes. Don't have the output for that right now.

--- EDIT ---

I removed package "bluetooth" and was somehow able to connect and pair my mouse. But it's still not working. Blueman-manager seems to be frozen whenever I start it up.
hal8000
Level 4
Level 4
Posts: 436
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Bluetooth not working Mint 14 KDE [solved]

Post by hal8000 »

OK , I've solved my own issue hope this helpsyou (Antum)

First you need to know that your adapter has been recognised so type

hcitool dev

You should see the bluetooth adapters MAC address and an interface (hci0) in my case sample below:

anc@orac ~ $ hcitool dev
Devices:
hci0 00:15:83:15:A3:10


If you see nothing against devices, make sure bluetooth daemon is running:

sudo bluetoothd


(will start daemon).
In KDE a bluetooth icon will appear. This is right clickable and so that other devices
( I use a Samsung Galaxy tab2 running Android) can see your computer.

In my case my adapter is a cheap "LiveWire Bluetooth Adapter" available from the UK
pound shops for £1, quite a bargain.

To transfer files make sure that you install obex-ftp program which will allow bluetooth
file transfers in both directions. Hope that helps.

EDIT:
Ignore the terminal output, it still appears to work even with this message.

One thing I do find is that my USB bluetooth adapter sometimes "locks up".
I unplug from USB wait a seconds then insert again.

In KDE there is a service manager, Bluedevil service also needs to be started,
you may not need this with Cinnamon desktop

Output from my lsusb:
Bus 006 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

Kernel modules:
anc@orac ~ $ lsmod | grep -i blue
bluetooth 183270 24 rfcomm,bnep,btusb


hcitool has a lot of options, once your remote bluetooth device is connected
you can view connection status with con option:

hcitool con
Connections:
> ACL F0:5A:09:3A:36:F5 handle 14 state 1 lm MASTER AUTH ENCRYPT


Hope that helps
AntumDeluge

Re: Bluetooth not working Mint 14 KDE

Post by AntumDeluge »

Still not working for me. Bluedevil installs a bunch of KDE libs and packages. I may try this as a last resort, but I think it's not necessary on Cinnamon.

Code: Select all

$ hcitool dev
Devices:
	hci0	00:1F:81:00:02:50
The dongle is recognized and the system claims to be paired with my devices (a mouse and a phone) but hcitool shows that they are not connected:

Code: Select all

 $ hcitool con
Connections:
--- EDIT ---

I tried connecting to the mouse with hcitool cc:

Code: Select all

$ sudo hcitool cc 12:07:03:27:FC:77
Can't create connection: Input/output error
--- EDIT ---

Going to try installing bluedevil :\.

--- EDIT ---

This is the dongle that I have: [url]http://dx.com/p/super-mini-bluetooth-2-0-adapter-dongle-vista-compatible-11866[/url]

Also, I used bluedevil to connect my mouse. hcitool now shows it as connected, but it's still not working.

Code: Select all

Connections:
	> ACL 12:07:03:27:FC:77 handle 0 state 1 lm MASTER
Eventually it said something about the connection being killed:

Code: Select all

 $ hcitool con
Connections:
Killed
hal8000
Level 4
Level 4
Posts: 436
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Bluetooth not working Mint 14 KDE

Post by hal8000 »

Looks very similar is size and shape to my USB dongle.
Is your mouse also bluetooth? There could be a conflict or bluetooth interference.
What i would do is install bluemand manager this is what I used in kde.

After starting bluetoothd (as sudo) and then clicking the bluetooth manager icon
( this executes blueman-manager) a bluetooth icon appeared on the KDE system tray.
It was just a right click to make my laptop discoverable, then sync with my Samsung Galaxy
tab 2.

hcitool dev

is the important command. This shows your dongle is recognised.
What I'd try next is remove your mouse (only if its bluetooth) and try an
ordinary mouse, then try and sync again.
AntumDeluge

Re: Bluetooth not working Mint 14 KDE

Post by AntumDeluge »

bluetoothd is already running and icon appears in tray. Have tried removing and pairing both mouse and phone multiple times. Often causes system freeze/crash and I have to restart. I think I am going to look for an alternative bluetooth stack for Linux. Bluez is the only one that I know of right now and I think it's the most commonly used.
hal8000
Level 4
Level 4
Posts: 436
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Bluetooth not working Mint 14 KDE

Post by hal8000 »

OK, I've also had some problems before with bluetooth in Linux. Linux Mint 14 works ok for me (with occasional glitch) but I don't need bluetooth every day.
If you get yours working with bluez post a new thread as it may help others users. Good luck.
AntumDeluge

Re: Bluetooth not working Mint 14 KDE

Post by AntumDeluge »

I have posted my issues in the Unix.com forums: [url]http://www.unix.com/hardware/235669-bluetooth-dongle-pairing-but-not-connecting-linux.html[/url]. I think I laid out my problems in a bit more detail there. Also, I think I will try installing another desktop, KDE or GNOME, to see if the problem persists.
billybongoboy

Re: Bluetooth not working Mint 14 KDE

Post by billybongoboy »

hi,
did you ever fix your bluetooth dongle problem ? I have the same problem - I can initially pair to an external audio speaker but quickly the connection is lost and can't play anything on the speaker.
linux mint 16. cambridge silicon usb dongle.
hal8000
Level 4
Level 4
Posts: 436
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Bluetooth not working Mint 14 KDE

Post by hal8000 »

Yes I had it working with the solution I posted in thread 9. Im running LM16 (KDE) now and although bluetooth authentication
can sometimes be a bit flaky ( I think its due to interference from other bluetooth devices), once association has been made
by two devices, they should remain connected.
I dont have your audio hardware so cannot test.
Locked

Return to “Software & Applications”