Bluetooth not working Mint 14 KDE

Questions about applications and software
Forum rules
Before you post please read this

Bluetooth not working Mint 14 KDE

Postby hal8000 on Tue Sep 03, 2013 6:39 pm

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:
viewtopic.php?t=102417&f=206

I have installed blueman , bluetooth, bluez and dependencies.
Thanks in advance for help with this.
User avatar
hal8000
Level 4
Level 4
 
Posts: 232
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Linux Mint is funded by ads and donations.
 

Re: Bluetooth not working Mint 14 KDE

Postby AntumDeluge on Sat Sep 07, 2013 4:05 am

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.
AntumDeluge
Level 1
Level 1
 
Posts: 7
Joined: Thu Aug 15, 2013 9:47 pm

Re: Bluetooth not working Mint 14 KDE [solved]

Postby hal8000 on Sat Sep 07, 2013 1:32 pm

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
User avatar
hal8000
Level 4
Level 4
 
Posts: 232
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Bluetooth not working Mint 14 KDE

Postby AntumDeluge on Sat Sep 07, 2013 4:09 pm

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: http://dx.com/p/super-mini-bluetooth-2-0-adapter-dongle-vista-compatible-11866

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
AntumDeluge
Level 1
Level 1
 
Posts: 7
Joined: Thu Aug 15, 2013 9:47 pm

Re: Bluetooth not working Mint 14 KDE

Postby hal8000 on Sun Sep 08, 2013 4:57 pm

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.
User avatar
hal8000
Level 4
Level 4
 
Posts: 232
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Bluetooth not working Mint 14 KDE

Postby AntumDeluge on Mon Sep 09, 2013 3:00 am

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.
AntumDeluge
Level 1
Level 1
 
Posts: 7
Joined: Thu Aug 15, 2013 9:47 pm

Re: Bluetooth not working Mint 14 KDE

Postby hal8000 on Fri Sep 13, 2013 12:39 pm

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.
User avatar
hal8000
Level 4
Level 4
 
Posts: 232
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Bluetooth not working Mint 14 KDE

Postby AntumDeluge on Fri Sep 13, 2013 5:44 pm

I have posted my issues in the Unix.com forums: http://www.unix.com/hardware/235669-bluetooth-dongle-pairing-but-not-connecting-linux.html. 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.
AntumDeluge
Level 1
Level 1
 
Posts: 7
Joined: Thu Aug 15, 2013 9:47 pm

Re: Bluetooth not working Mint 14 KDE

Postby billybongoboy on Thu Jan 30, 2014 5:07 pm

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.
billybongoboy
Level 1
Level 1
 
Posts: 6
Joined: Mon Jan 20, 2014 5:01 pm

Re: Bluetooth not working Mint 14 KDE

Postby hal8000 on Mon Feb 03, 2014 2:23 pm

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.
User avatar
hal8000
Level 4
Level 4
 
Posts: 232
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 19 guests