Questions tagged [bluez]
The bluez tag has no usage guidance.
192
questions
1
vote
0
answers
41
views
+50
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 ...
0
votes
0
answers
8
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 ...
0
votes
0
answers
8
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 ...
0
votes
0
answers
17
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 ...
0
votes
0
answers
6
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!
0
votes
0
answers
16
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 ...
0
votes
1
answer
25
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 ...
1
vote
1
answer
121
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} ...
0
votes
0
answers
23
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 ...
0
votes
0
answers
16
views
Debian based arm SBC can not use bluetooth
I have arm64 SBC with Debian 11 installed on it. As a communication I need to use bluetooth, for which sparkfun WPEQ-261ACNI(BT) was provided. it uses qualcomm chip on it and Debian 11 detect the wifi ...
2
votes
0
answers
181
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 ...
0
votes
0
answers
73
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 ...
2
votes
0
answers
109
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 ...
0
votes
0
answers
48
views
Which numbers of those displayed by bluetoothctl are the attribute handles?
bluetoothctl is displaying the following information (once connected to an ESP32 BLE device):
Primary Service (Handle 0x0920)
/org/bluez/hci0/dev_0C_B8_15_F6_61_3E/service0028
000000ff-0000-...
0
votes
0
answers
115
views
Optimize Bluetooth LE L2CAP throughput between Linux running bluer l2cat and iOS
In transferring a raw stream of data over Bluetooth LE L2CAP between Linux and iOS, I get a throughput of approx. 9 kilobyte payload per sec. I expected to be able to transfer approx. 25 kB/s.
How can ...
0
votes
0
answers
23
views
How to add an own service to bluez and recover it when the periphal connects?
I am playing around with Zephyr and microcontrollers. So I created an own bt le device that offers an own unique service. Via bluetoothctl I like to access the characteristics and start playing with ...
1
vote
0
answers
316
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 ...
0
votes
0
answers
200
views
Unable to connect two identical Bluetooth devices simultaneously
I have two generic brand PS4 controllers. I am dual-booting my laptop with Windows 11 and Ubuntu 22.10 (Kubuntu) with kernel version 5.19.0-26-generic. I am using BlueZ version 5.65.
From windows 11 I ...
2
votes
0
answers
744
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
...
0
votes
0
answers
46
views
bluez immediately drops audio device
[bluetooth]# connect FC:58:FA:66:92:A8
Attempting to connect to FC:58:FA:66:92:A8
[CHG] Device FC:58:FA:66:92:A8 Connected: yes
Failed to connect: org.bluez.Error.Failed br-connection-unknown
[CHG] ...
1
vote
1
answer
3k
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 ...
0
votes
0
answers
66
views
bluetooth clients limit on PAN linux
I'm trying to setup a PAN to create a bluetooth network for 4 clients, but unfortunally after the second client connects sucessfully, it doesn't accept more clients. Is there any limit configuration ...
0
votes
0
answers
638
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 ...
1
vote
0
answers
87
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 ...
1
vote
0
answers
53
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",...)
...
1
vote
1
answer
143
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 ...
1
vote
0
answers
287
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. ...
0
votes
1
answer
327
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 ...
0
votes
1
answer
3k
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 ...
1
vote
1
answer
183
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 ...
0
votes
0
answers
128
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 ...
3
votes
1
answer
4k
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>, ...
1
vote
0
answers
797
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 ...
2
votes
1
answer
1k
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,...
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 ...
1
vote
0
answers
303
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 ...
3
votes
1
answer
13k
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 ...
10
votes
2
answers
8k
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. ...
1
vote
0
answers
84
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@...
1
vote
1
answer
943
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
...
1
vote
0
answers
368
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 ...
1
vote
1
answer
913
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 ...
0
votes
1
answer
796
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 ...
2
votes
0
answers
4k
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 ...
5
votes
3
answers
11k
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 ...
-1
votes
1
answer
975
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 ...
1
vote
0
answers
405
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 ...
0
votes
1
answer
963
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 ...
1
vote
0
answers
89
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 ...
0
votes
1
answer
521
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 ...