Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bluez]

The tag has no usage guidance.

0
votes
0answers
16 views

How to get PANU working with bluez5

I would like to get PANU working on a linux machine using bluez5. The machine is embedded and doesn't have python and there is no systemd. It is musl based and uses busybox for init. I have bluez5 ...
1
vote
1answer
904 views

hcitool lescan (Bluetooth LE or any bluetooth scan) in docker under Non-Privileged & Non-host Network mode is possible?

For a specific task, I am failing to scan BLE / BlueZ (hcitool, gatttool, btdevice-l) in Docker under non-privileged and Non-Host network mode. These are my results (in Debian-Jessie-8.8.0 Host and ...
0
votes
1answer
30 views

Connecting to BT-PAN through command line

To connect the PC to phone's PAN, I am following these steps Paired phone with the PC Turn ON BT tethering in phone From PC connect it using nmcli or from the connections(GUI) My doubt is if i am ...
1
vote
0answers
388 views

How to connect to my phone via bluetooth serial

I am having trouble connecting to my phone via serial bluetooth on an embedded linux system. Here are the steps that I have taken to attempt a connection. (Note that I am able to pair and connect just ...
0
votes
1answer
231 views

Bluetooth Mouse keeps connect/disconnect without move

I'm trying to setup a bluetooth mouse, without success. I'm using Fedora 29, but I've also tested on an Debian Distro and the problem is the same, so I thought that could not be a distro specific ...
4
votes
1answer
2k views

How to get audio from BT headset mic?

I have BT headset with mic. It is connected to the Linux device as HSP (Pulseaudio 9.0 native) via Bluez5. I want to get sound from mic. How to do this? When I do parec -r --device="...." there ...
2
votes
1answer
3k views

Trying to connect bose quietcomfort 35 headset over bluetooth on arch linux

There is another question here, but i followed those instructions and it still didn't work. Here is the systemctl status Oct 06 10:02:38 TRAYUSH bluetoothd[376]: Bluetooth daemon 5.42 Oct 06 10:02:...
1
vote
1answer
367 views

Dell XPS 15 9550 - Bluetooth will not connect to anything

Output of dmesg | grep -i blue on Linux Mint 19: [ 6.877551] Bluetooth: Core ver 2.22 [ 6.877566] Bluetooth: HCI device and connection manager initialized [ 6.877568] Bluetooth: HCI socket ...
0
votes
0answers
114 views

When connecting a mouse (Logitech MX Master 2s) via USB, systemd-rfkill is called after a few minutes and disables USB?

I'm on Arch Linux and have a Logitech MX Master 2s, other devices like my phone or a bluetooth keyboard aren't causing this. The laptop is a ThinkPad X230 with a BCM20702. I was initially also getting ...
1
vote
1answer
925 views

USB Bluetooth dongle not working

I am struggling to get my bluetooth adapter work on my Linux desktop. I see it when I plug it in, but basically, nothing else works correctly: $ lsusb Bus 002 Device 006: ID 0a12:0002 Cambridge ...
1
vote
1answer
716 views

bluetooth.service running, but bluetoothctl says “org.bluez.Error.NotReady”

my raspberry pi 3 model B, running Arch, has an issue with bluetooth. First of all: Bluetooth has worked flawlessly previously pi-bluetooth from the AUR is up to date bluez and bluez-utils are up to ...
1
vote
1answer
346 views

How can I read the descriptor for the “Characteristic User Description”?

I am trying to get my Linux machine to communicate with several micro-controllers that have BLE chips. I am attempting to do this using the attributes that already come with the micro-controllers. The ...
25
votes
6answers
19k views

Pairing Bose QC 35 over Bluetooth on Fedora

I am running Fedora 24 with Gnome Shell. I try to pair my new Bose QuietComfort 35 over Bluetooth. I started using the Gnome interface. Unfortunately, the connection seems not to hold. It appears as ...
1
vote
1answer
1k views

Modifying bluetooth scan parameters via btmgmt

I am scanning for ble beacon advertisements which dynamically modify their payload. Therefore, I want to be sure to miss as few advertisements as possible. I currently monitor the scan output via ...
0
votes
0answers
81 views

How to use embedded device as bluetooth HSP/HFP source

I have ARM based board, kernel 4.14.67 and bluez-4.101. I want to connect bluetooth headset for playing sound from the board. My question is similar to that: https://stackoverflow.com/questions/...
2
votes
1answer
516 views

pulseaudio-equalizer automatically switching output sink?

I have a Bluetooth headset that I usually use for listening to music on my laptop, and they tend to work fine. Unless I try to use the pulseaudio equalizer, and then it switches the output to my ...
0
votes
1answer
114 views

How to access bluetooth services

Oddly, I can't seem to find anything about this. I am trying to access/read/write bluetooth services on my device. I am using bluetoothctl command. There are a set of services, which shows up with ...
1
vote
0answers
143 views

Obex file transfer (opp protocol) using obexd is very slow

I am using the obexd app that comes with the bluez stack in my Linux system to accept files from an android device over OBEX. The file transfer handshake and download happen correctly and ...
1
vote
1answer
401 views

Bluetooth headset starts lagging after some time of inactivity

I recently bought a Samsung Level U bluetooth headset and succesfully connected it to my computer. I use Arch Linux and followed the tutorial in Arch Wiki to connect it. It uses A2DP profile and ...
11
votes
3answers
3k views

Why does pulseaudio handle the sound quality connection to a BT device?

I'm new to Linux and new to Bluetooth scripting too. What I have discovered so far is the following: Bluez is the default BT stack. BluezTools is a set of utilities you can use to more easily ...
1
vote
1answer
2k views

BlueZ error setting privacy on Raspbian

I am trying to use BlueZ 5.45 on a raspberry pi running Raspbian Jessie and cannot set up BlueZ to use LE Privacy. When I start the bluetooth daemon I get the following messages: Jul 26 22:00:19 ...
0
votes
0answers
193 views

HSP/HFP not working

I´m trying to use my bluetooth headset on my laptop on arch. I got it connected and am able to listen to music using A2DP. But trying to use it as a headset I don´t get any input nor output working ...
1
vote
0answers
27 views

Changing bluetooth class to act as a hands free device and car audio

I posted this on raspberrypi.stackexchange.com with no luck, figured it is more of a generic linux question than Raspberry pi specific. I have been using this tool to quickly configure my Pi2 as a ...
0
votes
0answers
97 views

How to send HCI ACL Data packets with hcitool

History: I used BlueZ 5.43 to communicate with a bluetooth device: connect FF:FF:FF:FF:FF:FF select-attribute /org/bluez/hci/dev_ ... write 0x54 It takes some time, but it works. Current issue: ...
2
votes
0answers
139 views

Logitech MX Master won't stay Connected to Debian Stretch

To preface this, I owned this mouse for over a year now and have used it with no problems on this same hardware with different Linux distros (Fedora, Arch, Manjaro). It was not until I installed ...
0
votes
0answers
53 views

Bluetooth keyboard and mouse on boot

After a reboot, my bluetooth keyboard and mouse can't be used to log into my OpenSuse Linux 14 machine? I have to plug in a USB mouse and keyboard to be able to login. Any configuration changes ...
1
vote
0answers
60 views

Bluetooth pairing timed out when not in use after a short time

I'm on a Kali (4.18.0-kali3-amd64) and I have an issue with my headsets when I pair them with the internal bluetooth of my computer : it disconnects itself when they're not in use continuously. ...
3
votes
0answers
467 views

How to pair a Datalogic QuickScan Bluetooth barcode scanner using SPP?

I would like to pair a Bluetooth barcode scanner in "Serial Port Profile Mode" (SPP) using bluetoothctl on Arch Linux. The device is: [bluetooth]# info 00:07:BE:1C:40:C4 Device 00:07:BE:1C:40:C4 (...
3
votes
1answer
7k views

Can't connect RFCOMM socket: Host is down

I have bluez 5.4.3 and I am attempting to communicate with a ble device through minicom. These two deceives (my computer and a bluno nano) are alreadt paired and this has been my method so far. #...
10
votes
3answers
2k views

Alternative to the now deprecated rfcomm binary in bluez

Since bluez 5.44, the rfcomm binaries contained in bluez-utils (amongst others like hcitool) are considered deprecated and are from now on only included in the bluez-utils-compat package provided by ...
13
votes
4answers
13k views

Bluetoothctl: No default controller available

I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4. The keyboard works fine most of the time but sometimes it doesn't work at ...
1
vote
2answers
1k views

Downgrade bluez to version 4

I've got Nokia BH-105 headset, that I want to use with my PC. I can pair, but cannot connect to BH-105: [bluetooth]# connect 00:1C:EF:CA:B3:D0 Attempting to connect to 00:1C:EF:CA:B3:D0 [CHG] Device ...
1
vote
0answers
11 views

DBus Transport - force transport to idle state from Bluez5 embedded side - A2DP [closed]

I'd like to be able to force Bluez's transport state from active to idle on the rendering side of a custom embedded platform. This issue is centred around the fact that simply pausing the A2DP ...
0
votes
0answers
17 views

Bluetooth headset breaks my whole system

I have a bluetooth headset that is working well. But sometimes, for no apparent reason it just stop working (no sound) and it can also "freeze" my video player mpv on a single image. If i run a ...
8
votes
1answer
14k views

How to set up automatic connection of bluetooth headset?

My bluetooth headset works fine. Audio sink works. Everything work. But the problem is that I need to connect it manually to the PC: click on bluetooth icon near the time on kde taskbar => known ...
1
vote
0answers
722 views

Pulseaudio setting up sinks and sources for A2DP and HFP connections

I'm trying to set up A2DP+HFP profiles in an embedded board. Goal is to use pulseaudio 12.2, ofono 1.18, and bluez 5.41 in order to connect to a mobile phone and use A2DP, HFP profiles automatically, ...
1
vote
0answers
2k views

hciconfig -a Connection timed out (110) , bluez, btusb - Bluetooth Not Working

I am experiencing this issue on my raspberry pi. After a while of my python program running, it seems like one (or more) of the bluetooth adapters will "lock up" and hciconfig -a will output: : ...
7
votes
2answers
1k views

Bluez multiple audio sources

With the bluez stack, is it possible to connect multiple audio sources ? How ? If not is it possible by any other means ? If possible, is it possible to mix different bluetooth version like low-energy ...
0
votes
0answers
30 views

Bluetooth Simple Secure Paring issues

I have a bluetooth capable chip and an android, I am trying to have the two communicate over RFCOMM. I have an android app and a python server on linux that works, the only issue is my pairing ...
2
votes
1answer
104 views

Linux BLE Scanning after a CTRL+C

I have a C program that works well the first time it runs (BLUEZ C API) but if I press CTRL+C to stop it and then if I run it again it never finds any BLE device (scanning function). If I reboot linux ...
4
votes
2answers
827 views

Use Debian Laptop as Bluetooth headset?

I want to use my laptop (Debian 8.4) as a bluetooth headset for my smartphone (OnePlus One, Android). This means not just audio of my phone, also incoming calls. I already managed to play normal ...
1
vote
0answers
252 views

Permission Denied as root when connecting BluetoothSocket with Bluez 5.43

I've been trying to get bluetooth working on my Raspberry Pi 1 Model B+ running Raspbian Stretch Lite 4.14 with a 3rd party USB bluetooth dongle. I installed Bluez 5.43 for python 2.7, and was able ...
3
votes
5answers
10k views

How to find out Bluez version from command line?

I am using some custom Linux distribution without any UI. I would like to find out the Bluez version through the command-line. How can this be done?
4
votes
1answer
903 views

How to configure a connection interval in a BLE connection?

I have been using tools (hcitool, gatttool etc) from the BlueZ bluetooth protocol stack to connect to my BLE device. I have been able to successfully connect to the device and obtain data off it. My ...
2
votes
1answer
631 views

Bose QC35 fails to connect to XPS 15 9550 running Arch

I am struggling with making my Bose Quiet Comfort 35 headset work on my XPS 15 9550 running Arch Linux. The headset works on my other computer (also running Arch), but I just can't figure out how to ...
2
votes
0answers
423 views

Bluetooth Autoconnect to Headset Makes A2DP Sink Unavailable

When turning on my Bluetooth headset (Sony MDR-XB950N1) and the Bluetooth automatically connects with my computer, it automatically selects the HSP/HFP profile which makes audio sound terrible. ...
3
votes
1answer
4k views

Fedora 27 sound output to a bluetooth device not working

I've got a Lenovo Thinkpad T460 and a fresh installation of Fedora 27 with only a few Gnome Extensions and extra software installed. I got this laptop a few months now and only used Fedora (previously ...
1
vote
0answers
901 views

Connecting to bluetooth headphones to audio sink

I have a problem with my Sony WH-1000XM2 headphones on Linux Mint 18.3. I'm using Blueman and I was able to configure an automatic Bluetooth connection which works as soon as I turn on my headphones....
1
vote
0answers
552 views

Bluez-can't start bluetooth.service

i have downgraded my bluez version from 5 to 4.79.First i uninstalled bluez5 with sudo apt-get purge and then i did sudo apt-get autoremove. Then i wget the tar file and did the classic ./configure , ...
4
votes
0answers
747 views

Bluetooth headphones pause/play button not working

I've been trying to get the pause/play button on my headphones working (Plantronics BackBeat Pro 2) with my laptop running Manjaro 17.1.10. They also have Next and Previous buttons which work ...