Bluetooth: Device not connecting

hi,

an interface to bluetooth loud-speakers cannot be established,
although the device seems to be correctly recognised, as show in the in the
Adapters - System Settings - Bluettooth Adapters - Name box as AEG LB 4713,
the search can be left on for 10 minutes, only exit from the wizard is <ctl>+c

system responses are as follows

all packages are current per 12:00 today

any help would be appreciated

thx in advance

cheers

hp-17-p105ng<2016Mär14><~>lsmod |grep blue
bluetooth             532480  38 bnep,btbcm,btusb,rfcomm,btintel
rfkill                 28672  8 cfg80211,hp_wmi,bluetooth
 
hp-17-p105ng<2016Mär14><~>service --status-all | grep rfkill
systemd-rfkill@rfkill0.service    loaded active exited  Load/Save RF Kill Switch Status of rfkill0
systemd-rfkill@rfkill1.service   loaded active exited  Load/Save RF Kill Switch Status of rfkill1
 
hp-17-p105ng<2016Mär14><~>rfkill list 0
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
 
hp-17-p105ng<2016Mär14><~>service bluetooth status
bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since Mo 2016-03-14 17:13:15 CET; 7min ago
     Docs: man:bluetoothd(8)
 Main PID: 779 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           `-779 /usr/lib/bluetooth/bluetoothd
Mär 14 17:13:14 hp-17-p105ng bluetoothd[779]: Bluetooth daemon 5.35
Mär 14 17:13:15 hp-17-p105ng bluetoothd[779]: Starting SDP server
Mär 14 17:13:15 hp-17-p105ng bluetoothd[779]: Bluetooth management interface 1.9 initialized
Mär 14 17:13:15 hp-17-p105ng bluetoothd[779]: Failed to obtain handles for "Service Changed" characteristic
Mär 14 17:13:48 hp-17-p105ng.home bluetoothd[779]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSource
Mär 14 17:13:48 hp-17-p105ng.home bluetoothd[779]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSink

hp-17-p105ng&lt;2016Mär14&gt;&lt;~&gt;dmesg |tail -n 12
   14.736103] Bluetooth: BNEP (Ethernet Emulation) ver 1.3      
   14.736125] Bluetooth: BNEP socket layer initialized
   15.239603] ip6_tables: (C) 2000-2006 Netfilter Core Team 
   15.254378] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)  
   15.259758] ip_tables: (C) 2000-2006 Netfilter Core Team
   32.518223] r8169 0000:02:00.0 eth0: link down
   48.317591] Bluetooth: RFCOMM TTY layer initialized
   48.317606] Bluetooth: RFCOMM socket layer initialized
   48.317615] Bluetooth: RFCOMM ver 1.11
   48.363057] fuse init (API version 7.23)
   50.586393] Bluetooth: hci0 command 0x1003 tx timeout

hp-17-p105ng&lt;2016Mär14&gt;&lt;~/Updates/cmds&gt;bluedevil-wizard 
bluedevil.wizard: Manager initialized
bluedevil.wizard: Initialize Discover Page
bluedevil.wizard: Starting scanning
bluedevil.wizard: Wizard done:  0
hp-17-p105ng&lt;2016Mär14&gt;&lt;17:30&gt;&lt;~/Updates/cmds&gt;

Upgrade from 13.2? – KDE?
Check ‘bluedevil’ – possibly it’s the KDE Plasma 4 version.
Possibly need to remove everything, including the libraries, that’s “Bluetooth” and reinstall ‘bluez’ with ‘bluedevil5’ plus the associated helper modules including the pulseaudio Bluetooth module.

hi,

thx for the response

Oooops. Thought Leap had been selected for the start of the header, Wireless took preference.

It’s a new install of Leap on re-formatted disk

so, deleted packages:-

hblueberry-1.0.9-3.2.noarch 
bluez-firmware-1.2-150.2.x86_64  
bluez-test-5.35-1.1.x86_64 
gnome-bluetooth-3.16.1-3.2.x86_64  
libbluedevil2-2.1-3.3.x86_64 
libgnome-bluetooth13-3.16.1-3.2.x86_64 
libQt5Bluetooth5-5.5.1-3.3.x86_64  
libQt5Bluetooth5-imports-5.5.1-3.3.x86_64 
sbc-1.0-7.1.x86_64 
typelib-1_0-GnomeBluetooth-1_0-3.16.1-3.2.x86_64

expect for libbluetooth3, which was re-install with the force parameter, as Networkmanager is dependent on it,
(all packages deleted then re-installed had the same version number)

to get the same functionality each of the deleted files had to be re-installed

unfortunately the situation remains the same

cheer

PS. and output as follows,

hp-17-p105ng<2016Mär15><18:32><~>grep blue .xsession-errors-\:0                                                                                                                                        
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/bluedevil.so"
kdeinit5: Got EXEC_NEW '/usr/bin/blueberry-tray' from launcher.
kdeinit5: preparing to launch '/usr/bin/blueberry-tray'
bluedevil: Created
bluedevil: ObexManager operational changed false
bluedevil: Bluetooth operational changed true
bluedevil: Agent registered
bluedevil: Requested default Agent
bluedevil: ObexManager operational changed true
bluedevil: ObexAgent registered
systemtray: ST Found DBus-able Applet:  "org.kde.plasma.bluetooth" "org.bluez"
ST : DBus service  "org.bluez" appeared. Loading  "org.kde.plasma.bluetooth"
systemtray: ST new task  "org.kde.plasma.bluetooth"
systemtray: Loading applet:  "org.kde.plasma.bluetooth" 0
file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/BluetoothApplet.qml: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling..
.
.
.
file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/BluetoothApplet.qml: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling.
hp-17-p105ng<2016Mär15><18:32><~>

P.S

hi dcurtisfra,

/usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/BluetoothApplet.qml

has the line

import org.kde.kquickcontrolsaddons 2.0

but the called up file cannot be found in any Leap repos package

any ideas where this can be found?

cheers

NB just noticed kde Bug 351753 & closed last year

On the other hand you seem to be using the Gnome GUI and therefore do not need the KDE components: BlueDevil.
If you get rid of the KDE components and just install the Gnome components (gnome-bluetooth package) what happens then?

hi,

the install is kde based, not much gnome is installed

tried your suggestion, even the system tray icon did not function

when forced from a terminal, a window appeared showing the status of the device

tried to toggle off then on, the response was insufficient privileges

NB. The missing file may be contained in package kdeclarative-components but will look later, maybe incorrect version

cheers

Or, yet another Plasma 5 KDE issue: I am also experiencing Plasma 5 Leap 42.1 Lenovo G505s Laptop Bluetooth “not really connected” to a “not very smart” mobile telephone. :expressionless:Will investigate further when another issue has been completed.

hi dcurtisfra,

yesterday did a zypper dup on an old HP-625

update went without problems

after install all worked as before including Bluetooth connection

still cannot connect Bluetooth to same device on HP-Pavilion-17

so it looks like a driver problem, old ok, very new pot luck

cheers

@keellambert

Did you solve the problem. I have a similar problem with my installation.

Thanks in advance.

No. Last week-end, tried again without success. Everything seems to be correctly installed and works
as it should except when a connection is tried it scans until cancelled.

The assumption is its driver related. On the hp-Pavilion-17-p105ng, to get the wireless to connect,
the driver from Broadcom was installed.

Although its been stated that the new kernels have the correct modules installed its
still no joy with kernels 4.1.21-14-default or 4.6.1-14-default. The new modules must be for the
b43 compatible wireless cards.

cheers

I attempted again just now – Leap 42.1 latest (all patches/updates installed) Lenovo G505s (AMD; Atheros Bluetooth (internal USB)).
It works!! – assuming “just hit it!!”.

  • If I open the KDE Plasma Bluetooth module and “connect” to the mobile telephone (Samsung GSM – not Smart
    !), the connection drops after a few seconds. - If I send a file to the phone, the Bluetooth connection opens and the file transfers and lands as expected in the correct folder.
  • If I select a file in the phone and send it via Bluetooth after offering “known Bluetooth destinations” if the Leap Laptop is selected the phone opens a Bluetooth connection and the file as expected to the directory in the Bluetooth set-up.

Catch-22: I’ve set-up the phone to be “trustworthy” and “automatically accept connections from trustworthy devices”.

Today three new updates appeared and I installed it. I suppose you did something similar. But did not work.

It still detect the devices, in my case my phone and my bluetooth headphones, but when you want to connect the device it can’t.

Catch-22 (again . . . ):

  • Not only the Leap 42.1 machine but, also the Bluetooth device has to be set-up to “trust” the device at the other end of the Bluetooth connection.

[HR][/HR]My mobile telephone always asks for a confirmation that the incoming file to be accepted.
It (the telephone) also has to have the “authorised” flag set for the “other” Bluetooth device in it’s list of “known” Bluetooth devices:

  • for example, my car (Bluetooth “hands-free” telephony), as well as the Leap 42.1 machine.

If the “authorised” flag is not set against the “Leap 42.1 machine” then, when I push a file from the Leap Laptop to the telephone, the telephone asks twice for confirmation:

  • once that the Leap Laptop is OK;
  • and then again for an OK that the file be stored on the telephone.

In my case all is set up as trust in both them, but does not work yet.

Today I tried the following, from a terminal I typed bluemoon:

bluemoon
Bluemoon configuration utility ver 5.35
Filed to open HCI user channel

Opening bluedevil-wizard and trying to pair shows

 bluedevil.wizard: Manager initialized
 bluedevil.wizard: Initialize Discover Page
 bluedevil.wizard: Starting scanning
 bluedevil.wizard: Stopping scanning
 bluedevil.wizard: Device type:  "phone"
 bluedevil.wizard: Legacy:  false
 bluedevil.wizard: From DB:  false
 bluedevil.wizard: PIN:  "183949"
 bluedevil.wizard: Initialize Pairing Page
 BluezQt: PendingCall Error: "Page Timeout"
 bluedevil.wizard: Pairing finished:
 bluedevil.wizard:        error     :  true
 bluedevil.wizard:        errorTex
 bluedevil.wizard: Initialize Fail Page

Assuming upgrades from 13.2 to Leap 42.1, please check the following:

  • Is KDE Plasma 5 set-up to use ‘systemsettings5’?
  • Is the Plasma 5 Bluedevil Control Module using ‘/user/bin/kcmshell5’?
  • Are the Bluetooth devices appearing in the Control Module?
  • For the case of Bluetooth Loudspeakers, are they appearing in the Pulse Audio set-up (System settings Multimedia group)?
  • Are the following Bluetooth components installed?

> rpm -qa | grep -i 'blue'
bluez-qt-udev-5.21.0-12.1.x86_64
pulseaudio-module-bluetooth-7.0-5.1.x86_64
bluedevil5-5.5.5-9.1.x86_64
bluez-cups-5.35-1.1.x86_64
bluez-qt-imports-5.21.0-12.1.x86_64
bluedevil5-lang-5.5.5-9.1.noarch
libbluetooth3-5.35-1.1.x86_64
libQt5Bluetooth5-5.5.1-3.3.x86_64
bluez-5.35-1.1.x86_64
libKF5BluezQt6-5.21.0-12.1.x86_64
libQt5Bluetooth5-imports-5.5.1-3.3.x86_64
> 

after another attempt to establish a bt connection the results were as follows

anyone know how to verify the pam i/f?

any comments appreciated

cheers

hp-17-105ng<2016Jun17-01:24-~>...hciconfig -a                   
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 60:6D:C7:FC:4A:5C  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN ISCAN 
        RX bytes:930 acl:0 sco:0 events:89 errors:0
        TX bytes:4409 acl:0 sco:0 commands:85 errors:0
        Features: 0xff 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF 
        Link mode: SLAVE ACCEPT 
        Name: 'AEG-LB-4713'
        Class: 0x1c010c
        Service Classes: Rendering, Capturing, Object Transfer
        Device Class: Computer, Laptop
        HCI Version: 4.0 (0x6)  Revision: 0x0
        LMP Version: 4.0 (0x6)  Subversion: 0x210b
        Manufacturer: Broadcom Corporation (15)

hp-17-105ng<2016Jun17-01:24-~>...l2test -y 60:6D:C7:FC:4A:5C
l2test[1682]: Can't connect: No route to host (113)
hp-17-105ng<2016Jun17-01:25-~>...rpm -qa | grep -i 'blue'
bluez-qt-udev-5.23.0-43.2.x86_64
bluedevil5-5.6.4-71.1.x86_64
bluedevil5-lang-5.6.4-71.1.noarch
bluez-firmware-1.2-150.2.x86_64
pulseaudio-module-bluetooth-7.0-5.1.x86_64
bluez-cups-5.35-1.1.x86_64
bluez-qt-imports-5.23.0-43.2.x86_64
bluez-test-5.35-1.1.x86_64
libbluetooth3-5.35-1.1.x86_64
libbluedevil2-2.1-3.3.x86_64
libQt5Bluetooth5-imports-5.6.1-24.1.x86_64
python-pybluez-0.18-21.2.x86_64
libQt5Bluetooth5-5.6.1-24.1.x86_64
bluez-5.35-1.1.x86_64
libKF5BluezQt6-5.23.0-43.2.x86_64
hp-17-105ng<2016Jun17-01:27-~>...

Some results from this Leap 42.1 Lenovo G505s AMD-GPU laptop:


> hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: A4:DB:30:D8:03:F8  ACL MTU: 1022:8  SCO MTU: 183:5
        UP RUNNING PSCAN ISCAN 
        RX bytes:5088 acl:27 sco:0 events:173 errors:0
        TX bytes:1783 acl:27 sco:0 commands:96 errors:0

> 

> hcitool dev
Devices:
        hci0    A4:DB:30:D8:03:F8
> 
> hcitool scan
Scanning ...
        CC:07:AB:28:A5:C0       DCu
> 
> hcitool inq
Inquiring ...
        CC:07:AB:28:A5:C0       clock offset: 0x2374    class: 0x5a0204
> 
> hcitool name CC:07:AB:28:A5:C0
DCu
> 
> l2test -z CC:07:AB:28:A5:C0
Can't create socket: Operation not permitted
> 
> l2test -y CC:07:AB:28:A5:C0
l2test[3539]: Can't connect: Connection refused (111)
> 

Try again with the ‘root’ user:


 # l2test -z CC:07:AB:28:A5:C0
Connectionless MTU size is 2396
Extended feature mask is not supported
 # l2test -y CC:07:AB:28:A5:C0
l2test[3776]: Can't connect: Connection refused (111)
 # 

Conclusions:

  1. The Bluetooth Layer 2 test possibly needs ‘root’ privileges to correctly function.
  2. Not all Bluetooth devices allow the “-y” option (connect, then send, then dump incoming data
    ).

BTW, the detailed HCI information from this machine is:


> hciconfig -a               
hci0:   Type: BR/EDR  Bus: USB
        BD Address: A4:DB:30:D8:03:F8  ACL MTU: 1022:8  SCO MTU: 183:5
        UP RUNNING PSCAN ISCAN 
        RX bytes:1467 acl:0 sco:0 events:70 errors:0
        TX bytes:1085 acl:0 sco:0 commands:70 errors:0
        Features: 0xff 0xfe 0x0d 0xfe 0xd8 0x7f 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF 
        Link mode: SLAVE ACCEPT 
        Name: 'XXXX.fritz.box'
        Class: 0x1c010c
        Service Classes: Rendering, Capturing, Object Transfer
        Device Class: Computer, Laptop
        HCI Version: 4.0 (0x6)  Revision: 0x102
        LMP Version: 4.0 (0x6)  Subversion: 0x1
        Manufacturer: Atheros Communications, Inc. (69)

> 

yfi

finally realised the firmware was missing

installed the file /lib/firmware/brcm/BCM.hcd
per instructions given in
http://askubuntu.com/questions/632336/bluetooth-broadcom-43142-isnt-working-on-ubuntu

cheers

NB. after install it took 2 cold restarts and a reboot before the gui came up.

Worked for me too. Thanks for sharing the solution!

There is some openSUSE information related to the Broadcom licensing issue:
The licensing issue and the necessary package is mentioned here: <https://software.opensuse.org/package/broadcom-wl>
The ‘broadcom-wl’ package itself is available from the Packman repository under “Essentials”.
There’s some additional information available from this “not openSUSE” site here: <http://opensuse-guide.org/wlan.php>