Unable to connect to any device via bluetooth, Manjaro 18 XFCE


#1

system is failed to search any bluetooth device to get connected

systemctl status bluetooth
● bluetooth.service - Bluetooth service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2018-11-04 20:43:24 IST; 2h 36min ago
     Docs: man:bluetoothd(8)
 Main PID: 472 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4296)
   Memory: 2.5M
   CGroup: /system.slice/bluetooth.service
           └─472 /usr/lib/bluetooth/bluetoothd

Nov 04 20:43:22 lenovo-B490 systemd[1]: Starting Bluetooth service...
Nov 04 20:43:23 lenovo-B490 bluetoothd[472]: Bluetooth daemon 5.50
Nov 04 20:43:24 lenovo-B490 systemd[1]: Started Bluetooth service.
Nov 04 20:43:24 lenovo-B490 bluetoothd[472]: Starting SDP server
Nov 04 20:43:25 lenovo-B490 bluetoothd[472]: Bluetooth management interface 1.14 initialized
Nov 04 20:44:25 lenovo-B490 bluetoothd[472]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource
Nov 04 20:44:25 lenovo-B490 bluetoothd[472]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSink

rfkill
ID TYPE      DEVICE                   SOFT      HARD
 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
 1 wlan      phy0                unblocked unblocked
 2 bluetooth hci0                unblocked unblocked


#2

anybody on this forum, could you help me out please…??


#3

Please adapt yourself to the forum rules

https://wiki.manjaro.org/index.php?title=Forum_Rules#Bumping

Begin reading the Arch Wiki article on bluetooth.

For trouble shooting use the terminal command bluetoothctl and follow the directions in Pairing section of above article.

Try replacing blueman with blueberry


#4
bluetoothctl
bash: bluetoothctl: command not found

replaced blueman with blueberry but still system i not able to find any devices to connect, pls refer attached image


#5

I have no idea of what is the cause of your issue.

If you do not have the bluetoothctl command install the package bluez-utils.


#6

bluez-utils already installed on my system

pacman -Qs bluetoot
local/blueberry 1.2.3-1
    Bluetooth configuration tool
local/bluedevil 1:5.14.2-1 (plasma)
    Integrate the Bluetooth technology within KDE workspace and applications
local/bluez 5.50-3
    Daemons for the bluetooth protocol stack
local/bluez-libs 5.50-3
    Deprecated libraries for the bluetooth protocol stack
local/bluez-tools 0.2.0-1
    A set of tools to manage Bluetooth devices for Linux
local/bluez-utils 5.50-3
    Development and debugging utilities for the bluetooth protocol stack
local/gnome-bluetooth 3.28.2-1
    The GNOME Bluetooth Subsystem
local/hidapi 0.8.0rc1-3
    Simple library for communicating with USB and Bluetooth HID devices
local/pulseaudio-bluetooth 12.2-2
    Bluetooth support for PulseAudio
local/sbc 1.4-1
    Bluetooth Subband Codec (SBC) library


#7

after searching on internet i found that installing bluez-utils-compat maybe resolve my problem, but its also not getting installed, when i click build and commit in repository below error occurs

Preparing...
Cloning bluez-utils-compat build files...
Checking bluez-utils-compat dependencies...

Building bluez-utils-compat...
==> Making package: bluez-utils-compat 5.50-2 (Mon 05 Nov 2018 03:24:14 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found bluez-5.50.tar.xz
  -> Found bluez-5.50.tar.sign
  -> Found refresh_adv_manager_for_non-LE_devices.diff
==> Validating source files with sha256sums...
    bluez-5.50.tar.xz ... Passed
    bluez-5.50.tar.sign ... Skipped
    refresh_adv_manager_for_non-LE_devices.diff ... Passed
==> Verifying source file signatures with gpg...
    bluez-5.50.tar ... FAILED (unknown public key 06CA9F5D1DCF2659)
==> ERROR: One or more PGP signatures could not be verified!


#8

Pretty hard to miss if you searched.


#10

installation of bluez-utils-compat done with suggestion given by tbg, but still same problem exist, i had also tried below process but all in vain, the good thing after this installation bluetoothctl command had start working in terminal window

wget https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM43142A0-105b-e065.hcd
sudo cp BCM43142A0-105b-e065.hcd /lib/firmware/brcm/BCM.hcd
pactl load-module module-bluetooth-discover
Failure: Module initialization failed


#11

How about some system specs.

Please post the output of:

inxi -Fxxxz

#13

[bluetooth]# scan on
Failed to start discovery: org.bluez.Error.InProgress

inxi -Fxz
System: Host: lenovo-B490 Kernel: 4.19.0-4-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Xfce 4.13.2git-UNKNOWN
Distro: Manjaro Linux
Machine: Type: Laptop System: LENOVO product: 20207 v: Lenovo B490 serial:
Mobo: LENOVO model: 20207 serial: UEFI: LENOVO v: H5ET73WW(1.16) date: 04/10/2013
Battery: ID-1: BAT0 charge: 25.8 Wh condition: 36.5/40.4 Wh (90%) model: LGC 45N1049 status: Discharging
CPU: Topology: Dual Core model: Intel Core i3-3110M bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19162
Speed: 1198 MHz min/max: 1200/2400 MHz Core speeds (MHz): 1: 1197 2: 1197 3: 1197 4: 1197
Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.3 driver: intel unloaded: modesetting resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.4 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus ID: 00:1b.0
Sound Server: ALSA v: k4.19.0-4-MANJARO
Network: Device-1: Broadcom Limited BCM43142 802.11b/g/n vendor: Lenovo driver: wl v: kernel port: efa0 bus ID: 02:00.0
IF: wlp2s0 state: up mac:
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.045.08-NAPI
port: 2000 bus ID: 03:00.0
IF: enp3s0 state: down mac:
Drives: Local Storage: total: 78.22 GiB used: 7.31 GiB (9.3%)
ID-1: /dev/sda vendor: Hitachi model: HTS541680J9SA00 size: 74.53 GiB
ID-2: /dev/sdb type: USB model: Multiple Card Reader size: 3.69 GiB
Partition: ID-1: / size: 64.54 GiB used: 7.31 GiB (11.3%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 8.16 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0
Info: Processes: 174 Uptime: 11m Memory: 3.71 GiB used: 1002.4 MiB (26.4%) Init: systemd Compilers: gcc: 8.2.1
Shell: bash v: 4.4.23 inxi: 3.0.27
[amit@lenovo-B490 ~]$ lsusb
Bus 004 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 5986:0294 Acer, Inc
Bus 001 Device 004: ID 04ca:2007 Lite-On Technology Corp. Broadcom BCM43142A0 Bluetooth Device
Bus 001 Device 003: ID 147e:1002 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


#14

I hope you know this is a really flaky broadcom card. It is not unusual for this adapter to never be able to connect, or if it does then random drops are frequent. This card is quite the royal pain. I’ve learned to cut my losses, and not waste great effort trying to fix hardware that is known to be Linux unfriendly.

Good luck with getting it working.


#15

ok thanx for advice, i would like to mention one thing that on same machine bluetooth was working absolutely fine on linux mint 19.0
but there is one difference, mint 19 was in dual boot with windows 10 and manjaro 18 xcfe is the only OS on this machine now, is that’s the reason bluetooth was working on Mint 19 ??


#16

Well then there is some hope, but it is possible other distros have applied patches.


#17

can anyone suggest how to perform below operation, since BCM.hcd is itself a file not folder

Once you have the .hcd file, copy it into /lib/firmware/brcm/BCM.hcd

https://wiki.archlinux.org/index.php/bluetooth


#18

@amitjatin
I don’t think you did your part - like search the internet - before asking here.

Then you would have known the plethora of issues with that device.

https://www.google.dk/search?q=Linux+driver+for+BCM43142A0

Oh no - don’t tell you don’t know how read and understand how to do such simple operation?

cp /path/to/hcd /lib/firmware/brcm/BCM.hcd

:roll_eyes:


#19

i am a window user and new to linux world, so as per my knowledge the last destination should be a folder to copy a file into it, so BCM.hd should be a folder if i have to paste a .hcd file in it
that is why i ask how to do it, should i rename the new file to BCM.hcd and replace it in the destination i.e. /lib/firmware/brcm

or i just paste the new file to /lib/firmware/brcm, leaving the BCM.hcd file as it is, i am attaching an image of process i found on arch wiki


#20

finally i succeded to connect any device to my laptop, i am explaining the process, perhaps it could help someone like me. in my case bluetooth service was running but it was not able to search any devices to connect, my device is broadcom BCD43142A0 and real problem is that linux was unable to load perfect driver for my device.

first of all the following packages should be installed on your system,
pulseaudio-alsa, pulseaudio-bluetooth, bluez, bluez-libs, bluez-utils or bluez-utils-compat
Without pulseaudio-bluetooth you will not be able to connect after the next pairing and you will not get any usable error messages.

to check bluetooth service status use command “systemctl status bluetooth”
also use “rfkill” command to check its unblocked in both hardware and software
i was suggested to replace blueman with blueberry but it was also failed and i remove blueberry again,
here i made the a mistake that with blueberry i unknowingly remove some dependent repositories also as follows, make sure u take care of that

in my system bluetoothctl command was not working, for this i remove bluez-utils and install bluez-utils-compat, after that bluetoothctl was working, i faced an error in instalation but it was resolved as per the solution provided in this thread above

make sure that each of the following is present at ur system, u can check it with “pacman -Qs bluetoot”

pacman -Qs bluetoot
local/blueman 2.0.6-1
    GTK+ Bluetooth Manager
local/bluez 5.50-3
    Daemons for the bluetooth protocol stack
local/bluez-libs 5.50-3
    Deprecated libraries for the bluetooth protocol stack
local/bluez-tools 0.2.0-1
    A set of tools to manage Bluetooth devices for Linux
local/bluez-utils-compat 5.50-2
    Development and debugging utilities for the bluetooth protocol stack. Includes deprecated tools.
local/gnome-bluetooth 3.28.2-1
    The GNOME Bluetooth Subsystem
local/hidapi 0.8.0rc1-3
    Simple library for communicating with USB and Bluetooth HID devices
local/pulseaudio-bluetooth 12.2-2
    Bluetooth support for PulseAudio
local/sbc 1.4-1
    Bluetooth Subband Codec (SBC) library

to find the exact driver for ur device below is the best suitable link as per my knowledge,

in above page i use link https://github.com/winterheart/broadcom-bt-firmware to find driver for my device and then paste it in /lib/firmware/brcm directory
keep in mind to rename the file as per your linux kernel version, same is explained on the page.

for those new to linux like me to paste that file u need to open the folder with root permissions else paste option will not get highlighted.

after that i simply shut down and restart my system, not reboot and my bluetooth worked like a charm,

in last thnx to fhdk and all others who show interest in my problem and motivating me to solve it on my own, believe me guys one thing i had learned today that nothing is in vain
if i get an solution to my problem early i will not spend entire day in solving it and had lost chance to learn lot of things, so please do research on internet while waiting here for a solution. every step whether right or wrong will keep increasing ur knowledge.


closed #21

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.