Skip to main content

Questions tagged [bluez]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Unable to disable specific Bluetooth profiles

In the past I have successfully used the solution for Disable "Handsfree" and "Headset" profiles for specific device?, which actually disables it for all devices but that was great ...
Kroltan's user avatar
  • 244
0 votes
0 answers
36 views

Bluetooth mouse stuck in disconnection loop

In order to fix another Bluetooth-related issue (file transfer not working), I had to reinstall bluez and blueman on my Debian 13 desktop. However, since then, my Bluetooth mouse experience issues. ...
color2v's user avatar
  • 133
0 votes
0 answers
16 views

How Can I acheive one-to-many communication between emulated Bluetooth controllers using bt-virt

I have a requirement that there is a sender (virtually emulated one) that has to transmit to two different virtually emulated bluetooth controllers.How can this be acheived?
Lasya Artham's user avatar
0 votes
0 answers
31 views

Bluetooth headphones disconnect when started in auto-connect mode

I am using the GNOME variant of Ultramarine Linux (a Fedora-based distro) version 39 as my primary Linux distro. I have a pair of headphones I bought for cheap from AliExpress. For some reason the ...
leap123's user avatar
  • 101
0 votes
1 answer
13 views

Access denied error when trying to start a GATT server in Jetson Nano

I'm writing a GATT server application using this article as basis. My initial code runs fine on my Linux laptop, but fails on my Jetson Nano (running an nVIDIA-tweaked version of Ubuntu 18.04) with an ...
xperroni's user avatar
  • 101
1 vote
2 answers
61 views

Puzzled on connect BLE printer from Linux

I am working on an embedded Linux system (kernel-5.10.24), where there is BT controller in system. Now I am testing it with a BLE printer. I got puzzled when I did following tests. run bluetoothd -- -...
wangt13's user avatar
  • 443
0 votes
0 answers
254 views

Enable/disable bluetooth without sudo

I'm using Debian and I would like to enable/disable the Bluetooth without sudo. Bluetooth is working perfect for me via bluez and I manage it through "blueman-applet". When I disable it, I ...
Unix's user avatar
  • 248
0 votes
2 answers
248 views

Raspi - DBUS - Bluez: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

I'm facing the following issue: I have an app that is written in Go that makes use of the bluetooth api. When compiling for windows and running it, the app works. When compiling for my raspberry pi, ...
rollstuhlfahrer's user avatar
0 votes
0 answers
58 views

Pause audio playback when bluetooth speaker disconnects

I'm looking for a way to automatically pause audio when the Bluetooth speaker I'm playing audio on disconnects. I've seen this feature on Android, and I'd like to have it on my desktop as well. Here ...
Tim's user avatar
  • 71
0 votes
0 answers
73 views

Bluez AVRCP "server" - How to provide track metadata?

It is very easy to get track metadata from a BT player with AVRCP - you just have to get property "Track" of "org.bluez.MediaPlayer1" interface. But when the the player is ...
JWZ1996's user avatar
  • 41
0 votes
0 answers
130 views

Bluetoothctl stops advertising after quit

I'm trying to create a BLE-server. For this I use bluetoothctl with these commands: menu advertise name MyDevice back advertise on menu gatt register-service 8733587e-8f8a-11ee-b9d1-0242ac120002 yes ...
Dmitry's user avatar
  • 143
1 vote
0 answers
282 views

Fedora 39 - removed bluez & bluez-cups now have no internet access at all

I was rushing and not paying attention and used $dnf remove instead of $dnf downgrade while attempting to downgrade bluez and bluez-cups from 5.70 due to the error connecting certain devices. After ...
dart's user avatar
  • 11
0 votes
0 answers
562 views

Bluetooth not working, `Bluetooth: hci0: FW download error recovery failed (-19)`

I'm trying to connect to bluetooth headphones using bluetoothctl without success. Here are the logs: from bluetoothctl: [bluetooth]# connect 6C:D3:EE:E2:D2:D7 Attempting to connect to 6C:D3:EE:E2:D2:...
Kacper Wyczawski's user avatar
1 vote
0 answers
209 views

What is blueman-manager process doing more than bluedevil does already?

I have this odd problem in Plasma/Kubuntu on a Macbook: bluetooth audio being lost after media pause - with two UE Boom speakers (2 and 3). The Plasma BT tool is bluedevil, as said here on Discuss. I ...
cipricus's user avatar
  • 1,629
0 votes
0 answers
245 views

Running hci lescan with timeout breaks the command

So the command sudo hcitool lescan outputs bluetooth addresses until ctrl+c is pressed. I want to have the command run for 20 seconds and capture the output. I tried running timeout 10 sudo hcitool ...
Kovy Jacob's user avatar
1 vote
0 answers
127 views

Android refuses to connect to AVRCP service (BlueZ-5.69)

I have an old car with no native Bluetooth for audio, so to use my phone for music, I have a Bluetooth receiver connected to the 3.5mm aux jack in my car. The problem is controlling the playback on ...
Patrik's user avatar
  • 61
0 votes
0 answers
35 views

Bluetoth LE and Linux

I recently bought a Bluetooth LE keyboard and was able to connect to it only once with my Ubuntu 22.04 Thinkpad X1 Tablet, with failed connections every other time. As far as I can tell command line ...
brett stevens's user avatar
0 votes
1 answer
1k views

Fail to connect Bluetooth LE keyboard with bluetoothctl

I am running Ubuntu 20.04 on a Lenovo Thinkpad X1 Tablet gen 2. I recently bought a Lenovo Trackpoint Keyboard II which uses Bluetooth LE. Using a Stack Exchange post, I was able to get the ...
brett stevens's user avatar
0 votes
0 answers
83 views

Detecting bluetooth headphones connection with udev / bluez

What I'm trying to achieve: set bluetooth headphones as the default sink in pulseaudio when they are connected, and set back to laptop speakers when disconnected. Why: my laptop detects all four ...
GTF's user avatar
  • 133
0 votes
0 answers
31 views

Bluez way to tell if connected device has BT Classic, BLE or both

Is there a programmatic way to tell which transport layer (BD/BLE/Both) is used to connect to dev? I use sd_bus lib with C++ to handle DBus calls and signals. Thanks!
JWZ1996's user avatar
  • 41
0 votes
0 answers
58 views

AVRCP volume change event fails in bluez 5.49

While connecting device with One plus phones, I am facing volume sync issue. Phone does not give absolute volume changes to device. I suspect while connection happening, Some capabilities exchange ...
Abdul Asik's user avatar
0 votes
1 answer
116 views

Bluez + BlueAlsa: AVRCP commands not received

I cannot see any AVRCP communication when using dbus-monitor. Not a single signal nor property changed. I use Bluez 5.68 and BlueAlsa v4.1.0-7-ge6218b5 Logs on BT speaker connection: Aug 02 10:18:03 ...
JWZ1996's user avatar
  • 41
1 vote
1 answer
503 views

Bluetooth keyboard/mouse issue on Alpine Linux

I'm using Alpine Linux with the following bluetooth related packages installed: bluez-5.68-r1 x86_64 {bluez} (GPL-2.0-or-later AND BSD-2-Clause AND MIT) [installed] bluez-btmgmt-5.68-r1 x86_64 {bluez} ...
Invarianz's user avatar
0 votes
0 answers
121 views

Pairing of bluetooth device fails although PIN should be ok

I am attempting to pair a DataLogic QBT2400 Scanner to a Linux Host system (a Kubuntu 22.04 box). The scanner should support the bluetooth serial port profile. I do see the scanner, but pairing always ...
user52366's user avatar
  • 211
2 votes
0 answers
620 views

How to use serial communication over bluetooth (using linux kernel 5.10 and bluez 5.55)

Basically I want to use a serial interface of a bluetooth device. In my particular example its the meshtastic-matrix-relay connecting via serial/bluetooth to a RAK4631 (NRF52 based) device. The ...
Christoph's user avatar
  • 193
0 votes
0 answers
185 views

MAC detection in bluetooth

I have bluetooth dongle connected to my system which is having kali linux installed on VM . Now in kali linux When i run hcitool or l2ping command it detects other bluetooth devices mac addresses but ...
rahul sharma's user avatar
3 votes
0 answers
330 views

Difference between bluetoothctl "power off" and kernel "state = 0"

I usually switch off my bluetooth adapter using bluetoothctl power off. Recently, I noticed that /sys/class/bluetooth/hci0/rfkill0/state still is 1, so the kernel considers the bluetooth adapter to be ...
severin's user avatar
  • 131
2 votes
0 answers
570 views

Changing default profile from A2DP to HSP on every new bluetooth headset using pipewire/wireplumber

I want to dynamically ensure every bluetooth headset are using HSP audio profile. I can easily set it manually but that has to be done actively for every device. I have attempted to change default ...
Jakob Kaae's user avatar
4 votes
0 answers
1k views

What does org.bluez.Error.Failed br-connection-timeout mean?

I am using a linux OS which uses bluez v5.64 and alsa. Whenever I try to connect to my bluetooth earphones, I get the following error:- Failed to connect: org.bluez.Error.Failed br-connection-timeout ...
Lakshay Rohila's user avatar
1 vote
1 answer
4k views

Bluetooth not recognized in debian testing

After performing a clean install of debian testing, installing the proprietary firmware, everything works fine, except bluetooth. This seems to be recognized only by lsusb: lsusb | grep Blue Bus 001 ...
Teo7's user avatar
  • 31
0 votes
0 answers
1k views

Bluetooth on Linux - are there alternatives to bluez

I have pretty bad experience with bluez (sometimes it works, sometimes not), but are there any alternatives or scripts ? I want to connect Ubuntu to iPhone without Bluetooth passkey because I don't ...
MN_XD's user avatar
  • 11
1 vote
0 answers
103 views

I removed Bluez, but now cannot get back to GUI

Bluetooth has always been a problem. In the past, I tinkered with a few things in the command line and got it to work. then it stopped again, so I just left it alone. Well, it turns out I wanted to ...
user542453's user avatar
1 vote
0 answers
72 views

Which GTK libgio API's will allow a GATT client to read/write a characteristic?

I would like to connect with multiple similar BLE devices simultaneously, with one task (thread) accessing each device. I do: g_dbus_connection_signal_subscribe(...,"InterfacesAdded",...) ...
John Klug's user avatar
  • 323
1 vote
1 answer
241 views

Sony XM4 Disable Mich to Get Better Audio?

So I have the Sony XM4 and sometimes I see the headset bluetooth instead of the others which give me better quality 261 bluez_output.14_3F_A6_83_08_17.headset-head-unit PipeWire ...
jrock2004's user avatar
  • 141
1 vote
0 answers
353 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. ...
ngc3o34's user avatar
  • 21
0 votes
1 answer
559 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 ...
kimaNO's user avatar
  • 37
0 votes
1 answer
4k 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 ...
kart-able's user avatar
1 vote
1 answer
281 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 ...
VL-80's user avatar
  • 190
0 votes
0 answers
159 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 ...
ambangeles's user avatar
4 votes
1 answer
6k 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>, ...
Eolien55's user avatar
1 vote
0 answers
2k 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 ...
Siggi's user avatar
  • 11
2 votes
1 answer
2k 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,...
cosmin.danisor's user avatar
1 vote
2 answers
1k 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 ...
psk1993's user avatar
  • 11
1 vote
0 answers
419 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 ...
sudomarq's user avatar
4 votes
1 answer
17k 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 ...
rakslice's user avatar
  • 1,177
10 votes
2 answers
12k 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. ...
Andrew Virya Victorio's user avatar
1 vote
0 answers
92 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@...
Vorac's user avatar
  • 3,115
1 vote
1 answer
1k 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 ...
Vlad Dumitrache's user avatar
1 vote
0 answers
513 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 ...
user717847's user avatar
1 vote
2 answers
1k 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 ...
K W's user avatar
  • 11