Questions tagged [bluez]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
15 views

Bluetooth mouse random lag

Cursor randomly freezes. Seems to lag more often when mouse moves often Mouse MX Anywhere 2S Ubuntu 21.10 bluetoothd 5.60 blueman-manager 2.2.2 Blueman applet disabled at startup USB suspend disabled. ...
user avatar
  • 11
0 votes
1 answer
33 views

What is the alternative for bccmd?

I am trying to learn about Bluetooth stack. In many blogs, they mention a tool called bccmd. But when I download the package bluez and compile it, I didn't found it. It seems it was in the tools ...
user avatar
  • 17
0 votes
1 answer
241 views

Systemd cannot find bluetooth service

I am on Manjaro with kernel 5.15.28-1 My problem relates to bluetooth. I have bluez 5.61-1 (which I downgraded from 5.63-2). I can activate bluetooth with systemctl but not from a systemd service that ...
user avatar
0 votes
0 answers
88 views

How to disable specific Bluetooth module

I have B550 AORUS ELITE AX V2 motherboard which comes with WiFi and Bluetooth. I have a separate Bluetooth dongle. I want to disable motherboard built-in Bluetooth module disabled or powered off. # ...
user avatar
  • 243
1 vote
1 answer
47 views

Bluez: Difference between "Connect()" method return and "Connected" signal

According to the Bluez API documentation (Device API) the return of the Connect() method indicates a successful connection of one or more profiles: void Connect() (skipped) If at least one profile ...
user avatar
  • 148
0 votes
0 answers
41 views

Sending string using python in a raspberry pi 3b+ mesh connection via bluetooth

I am currently working with three raspi 3b+ that should have a mesh connection via Bluetooth. The devices sense a sound and will try to send it to the other devices. Now, my questions are: How will I ...
user avatar
1 vote
1 answer
449 views

Names of device not being shown in bluetoothctl

Bluetooth works like a charm on my machine. However, bluetoothctl doesn't show the device names in discovery. What's stranger is that when running bluetoothctl info <whatever-the-mac-adress-is>, ...
user avatar
0 votes
0 answers
110 views

Mouse (Logitech MX Anywhere 3) keeps changing its bluetooth MAC address on every pair

The problem: I pair my mouse over bluetooth and everything works fine I turn my mouse off, turn it back on, it does not connect I have to pair the mouse again The thing i noticed is, that on every ...
user avatar
  • 1
1 vote
1 answer
385 views

Sony WH-1000XM4 Pipewire microphone forces the switch to mSBC

I recently purchased some headphones Sony WH-1000XM4. I have also switched from pulse to pipewire mostly for bluetooth auto-connect. I managed to connect them, but I have several issues (1 where LDAC,...
user avatar
0 votes
0 answers
41 views

bluetooth scanning for service times out - no service found

I have a project using QT - it successfully finds nearby / remote Bluetooth devices. It fails to scan for "service" - basically times out at expected time around 20 to 30 seconds. Normal ...
user avatar
  • 137
0 votes
1 answer
402 views

Bluetooth Adapter not found on Linux Mint

I have an HP Pavilion-15 laptop with Linux Mint and Windows in dual boot config and have been having bluetooth issues for a long while. Off-late my PC has been unable to detect any Bluetooth adapter ...
user avatar
0 votes
0 answers
29 views

How to setup different bluetooth devices with same name?

I am running a Manjaro, and as a lot Linux users I learnt how to restart bluetooth services and how to use bluetoothctl when the GUI does not give enough controls. However today I run to this case: I ...
user avatar
  • 173
1 vote
0 answers
86 views

How can I run a script via bluetooth and issue commands?

I am fairly new to Linux and I am trying to use beaglebone black (debian) to try and run a script via bluetooth that will allow me to issue some simple commands and have the board do stuff. I am able ...
user avatar
0 votes
0 answers
47 views

Is it somehow possible to detect if a bluetooth controller has been restarted?

I'm using BlueZ, along with an external Bluetooth controller (via HCI). For that, I need to run hciattach (or btattach) to make a standard hci0 interface. Everything works, however sometimes my ...
user avatar
  • 207
0 votes
0 answers
105 views

Kali Linux - Bluetooth Headphones are connected, but sound is coming from speakers

Note: My primary language isn't English, so i hope you are going to ignore writing mistakes. First of all, My headphones are working on my phone and worked on my pc when i was using Ubuntu, ...
user avatar
0 votes
0 answers
39 views

Bluetooth does not enable when boot debian

Bluetooth does not enable when boot my debian 11 laptop. I have to type this command below in order to start it every time I reboot or cold boot my laptop. sudo rmmod btusb sudo modprobe btusb I have ...
user avatar
1 vote
1 answer
3k views

How to solve `bluez` connection attempts failing with `br-connection-adapter-not-powered`

My bluetooth controller appears in bluetoothctl: [bluetooth]# list Controller 08:D8:33:xx:xx:xx BlueZ 5.62 [default] But when I try to connect to a device it gives an error I haven't seen a mention ...
user avatar
  • 642
9 votes
2 answers
4k views

Connecting to Bluetooth but Connection Failed: No audio endpoints registered

I do dual boot Kali-Linux with Windows11. So the problem is I want to connect with my Bluetooth speaker (JBL GO), but unfortunately I cannot connect. I use both GUI and CLI to connect to my speaker. ...
user avatar
1 vote
0 answers
47 views

Can't enable a pulse sink pointing to bluetooth headset

My qustion might be a dup of this one: Adding a pulse audio bluetooth sink configuration My situation: the device is paired, the pulse sink is created, it cannot be enabled. Details: Pairing: vorac@...
user avatar
  • 2,643
0 votes
0 answers
133 views

Pop OS - conflict between Bluez and Blueman? BT not working

So I am running Pop!_OS 21.04 with a 5.13.0-7614-generic Kernel on an Acer Aspire 5 with a Wifi/Bluetooth Adapter by Mediatek Corp mt7921e Right out of the box Wifi worked but Bluetooth didn't. So I ...
user avatar
1 vote
1 answer
461 views

Ubuntu / PopOS 21.04 intel 2760 Bluetooth audio randomly disconnects

I'm running into something which seems like a pretty exotic problem. The config is: Lenovo T440p with Intel 2760 WiFi/Bluetooth Ubuntu 20.04 -> updated to PopOS 20.04 -> updated to PopOs 21.04 ...
user avatar
0 votes
0 answers
63 views

configure bluetooth access (to enable GATT notifications) for non-root

I am writing some software that interacts with a Bluetooth Low Energy device. Specifically, it receives GATT notifications. The code could not access the BLE service until, as a first 'hack', I edited ...
user avatar
  • 201
0 votes
0 answers
54 views

Bluetooth PAN - Migrate client from pand to bluez5

Currently I have a Bluetooth PAN working where both the master and clients run on outdated software, i.e. it uses bluez3/4 tools (hcitool, hciconfig, pand, etc). I'm attempting to gradually migrate (...
user avatar
0 votes
0 answers
271 views

BlueZ, controller not working with every bluetooth services but some of them yes

I'm not really advanced with linux but this seems like a beginner problem I can't solve. I'm running this on a Raspberrypi Zero W running Raspbian OS. I have a controller ( BLE controller running ...
user avatar
  • 1
2 votes
0 answers
79 views

Making bluetooth adapter simulate bluetooth speaker

Use case: I have an Audio Technica turntable that can send a digital signal out over bluetooth. I want to be able to sample and/or digitize records, over bluetooth. When the turntable is in pairing ...
user avatar
2 votes
1 answer
253 views

How to make a Bluetooth Slave Device that Automatically connects

What I am trying to do is simple in concept: Make the linux computer be a bluetooth slave device that automatically accepts connections (from a phone). The overall goal is to connect automatically and ...
user avatar
  • 21
0 votes
1 answer
519 views

Cannot get Bluetooth to work on Lenovo ThinkPad T15 Intel Gen 2 (Intel Wi-Fi 6E AX210 card) running Arch Linux

I hope someone here can help me get Bluetooth working on my Intel Wi-Fi 6E AX210 card (Lenovo ThinkPad T15 Intel Gen 2). I don't usually ask for help, but I'm at my wit's end now... Basic info about ...
user avatar
  • 1
1 vote
0 answers
2k views

Bluetooth Issues on PopOS 21.04

I am on PopOS 21.04. Until recently, everything was working perfectly, but after some updates, I could not enable bluetooth from the Settings panel. I tried enabling bluetooth from the command line ...
user avatar
3 votes
2 answers
4k views

Impossible to set A2DP profile on bluetooth headset on Ubuntu 20.04

I know this was asked a lot of times, but honestly I've tried everything that I could find over the internet and still couldn't resolve this. I am a beginner user of Ubuntu 20.04 and I am having ...
user avatar
-1 votes
1 answer
403 views

I uninstalled the bluetooth from linux mint

I accidentally uninstalled the bluetooth from my linux mint. and now i am not able to re-install again. I tried with : sudo apt-get install bluetooth bluez bluez-tools rfkill rfcomm the error I ...
user avatar
1 vote
0 answers
201 views

btproxy fails to bind to Bluetooth socket while trying to proxy Bluetooth device to QEMU

I am following the guide for Zephyr to run on QEMU using the host system Bluetooth controller. I am on Ubuntu 20.10 which is lacking btproxy, so I built BlueZ as described in the guide linked below. I ...
user avatar
  • 111
0 votes
1 answer
593 views

Bluetooth cannot connect to BT Keyboard

I recently invested in a new Intel NUC and put Arch Linux on it. I also invested in a Keychron K6 however I have hit a brick wall when it comes to connecting to it via Bluetooth. Here is what ...
user avatar
1 vote
0 answers
27 views

Configure bluetooth adapters individually

I have two bluetooth adapters on my laptop: one onboard and one usb dongle. I would like to configure them to have different defaults. For example, I want the onboard device to be brought up ...
user avatar
  • 285
0 votes
1 answer
269 views

Issues reconnecting to Bluetooth headphones in Fedora VM on Qubes OS

I have tried various ways to reconnect to my Bluetooth headphones in my Fedora VM after restarting my computer, but they all seem to either take a long time, or not work reliably. I have tried ...
user avatar
  • 1,151
2 votes
0 answers
33 views

How to prevent bluetooth to restart paused videos/audio?

I use Linux Mint Trica. When I connect my main audio device by clicking blueberry in the toolbar (got it via xprop), my paused videos in my firefox tabs and spotify get restarted all together (to be ...
user avatar
1 vote
1 answer
791 views

Kali Linux bluetooth bluez shows only device's MAC address but not name?

I am using Kali Linux 2020.2, bluez installed for Bluetooth. When I search devices I only see the MAC address, but not the name of the devices. I found this GitHub issue, but it was closed without a ...
user avatar
  • 207
4 votes
2 answers
2k views

How to install bluez-hid2hci?

I've been trying to connect my Debian computer to my Bluetooth speakers, using bluetoothctl. I managed to pair the devices, but can't seem to connect them. [bluetooth]# devices Device X:X:X:X:X:X ...
user avatar
0 votes
1 answer
394 views

alsaloop and bluez-alsa unstable

I have a raspberry pi zero w, which has a sound input via i2s (using the generic dmic driver), and connects to a bluetooth speaker using bluez5. i set up bluez-alsa so that connected bluetooth devices ...
user avatar
  • 183
1 vote
1 answer
25 views

Detect Bluetooth version of the peripheral/protocol actually in use?

I bought a Bluetooth (+WiFi) PCIe card that is version 5.1 (hciconfig confirms). My headset claims, in product description, also to be 5.x. However, I'm unconvinced, or at least I don't think it's ...
user avatar
  • 1,608
1 vote
0 answers
123 views

Bluetooth disconnect immediately after connecting

I am using Manjaro Linux. All bluetooth devices have stopped connecting to my computer. Neither headset nor smartphone will connect for more than a few seconds. bluetoothctl shows the following ...
user avatar
0 votes
0 answers
39 views

Bluetooth Adaptor not recogonized: HP Laptop with Ubuntu Studio (18.04)

I am trying to bluetooth in my laptop (HP installed with Ubuntu Studio 18.04). However, the blue-man assistant is showing a "no adaptors found" error message. This is the output of rfkill ...
user avatar
2 votes
1 answer
317 views

Sony WH-1000XM3 BT headphones stops working after some time

I'm using Sony WH-1000XM3 bluetooth headphones with my openSUSE 15.2 with kernel 5.8. Everything works fine most of the time, but sometimes (few minutes to 1 hour after connecting headphones) sound ...
user avatar
0 votes
1 answer
3k views

ArchLinux "Failed to pair: org.bluez.Error.AlreadyExists"

I attempted to connect to a device doing: bluetoothctl power on agent on default-agent scan on trust [device id] pair [device id] Which gave me the error: Failed to pair: org.bluez.Error....
user avatar
0 votes
1 answer
618 views

How to Auto-enable bluetooth?

I have a BusyBox. After star-up, I always need to do hciconfig hci0 up manually to enable bluetooth. Is there any method to ignore that? There is one solution I found here, adding [Policy] AutoEnable=...
user avatar
  • 3
6 votes
0 answers
956 views

Is there a way to emulate HCI (Bluetooth) device on linux?

I'm working with a Bluetooth LE device in my project and I want to test bluetooth-related host code without having an actual Bluetooth device. Currently, I have a Linux machine with BT dongle as a ...
user avatar
  • 81
0 votes
1 answer
2k views

Cannot pair/connect to my headphones : Failure: Module initialization failed

I'm using linux kernel v4.4.0-148 and bluez v5.36. I cannot pair nor connect to my bluetooth headphones Muse "M-260 BT" with bluetoothctl : $ bluetoothctl [NEW] Controller 34:E6:AD:A1:9B:8A ...
user avatar
  • 1,263
1 vote
1 answer
616 views

Bluez stuck authenticating when pairing airpods

After I hold the airpod button until it's LED turns white and flashes, I try pairing with [bluetooth]# pair <mac-address> which returns Attempting to pair with 18:F1:D8:36:53:FB However, it ...
user avatar
  • 394
0 votes
1 answer
1k views

HSP/HFP setting doesn't work with Plugable bluetooth adapter

I'm trying to use my bluetooth headset with the HSP/HFP setting (so I can use the microphone) on Arch Linux. I have a Plugable USB 2.0 Bluetooth Adapter and a SoundBuds Slim+ headset. I followed the ...
user avatar
  • 1,407
1 vote
0 answers
116 views

Bluetooth randomly restarts while connected to speakers

I spent the whole day figuring out why my Linux Mint won't work anymore with my bluetooth speakers (and it used to a couple of months ago). The good thing about this issue is that it made me finally ...
user avatar
  • 129
4 votes
1 answer
5k views

Bluetoothctl: No default controller available

When I run bluetoothctl I get an error, $ bluetoothctl scan on No default controller available But the kernel shows the device is loaded, bluetooth hci0: firmware: direct-loading firmware intel/ibt-...
user avatar
  • 22.8k