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 ...
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 ...
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 ...
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/...
1
vote
1answer
720 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 ...
0
votes
1answer
115 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 ...
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
1answer
233 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 ...
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 (...
1
vote
1answer
368 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 ...
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 ...
1
vote
0answers
725 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, ...
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 ...
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 ...
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. ...
1
vote
0answers
902 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 , ...
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 ...
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
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 ...
0
votes
1answer
2k views

Bluetooth connection fails by connecting to the Logitech MX Master S2 mouse

I am using Linux Mint 18.2 Sonja and want to connect my new Logitech MX Master S2 mouse without using the bluetooth-dongle, but directly with the inbuilt bluetooth module of my notebook. This works so ...
0
votes
1answer
238 views

“Unmet dependencies. bluez : Conflicts_ bluez-alsa:i386 but 4.98-2ubuntu7 is to be installed”

On my laptop i am using linux mint 18.3 with kernel 4.15. I get the following error when unsing apt update and apt upgrade. Reading package lists... Done Building dependency tree Reading state ...
2
votes
0answers
958 views

bnep0 interface not showing up after connecting to bluetooth NAP

I'm currently trying to associate my phone and a custom board running Linux through a bluetooth PAN network. My phone being the NAP and my board the PANU. I followed the following documentation HOWTO-...
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 ...
2
votes
1answer
517 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 ...
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 ...
1
vote
1answer
41 views

Consistent enumeration of a btattached controller

I have a controller that is attached with btattach as a systemd service: /usr/bin/btattach -B /dev/ttyACM0 -S 1000000 The same command seems to result in different enumerations. Sometimes its: $ ...
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
1answer
905 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
671 views

Start Bluetooth gui from terminal

What is the name of the gui cinnamon uses to create a Bluetooth control panel? Can I start that same app from terminal instead of using bluetoothctl? I have bluez installed, I've paired my device with ...
1
vote
0answers
683 views

Bluetooth controller vs device UUID handle mismatch affecting pairing?

I've been Googling for 2 days and cannot find a fix that works for me. I'm running into a wall trying to pair a Bluetooth mouse. I think my issue is related to a mismatch between the UUID handles ...
0
votes
1answer
484 views

module-bluez5-device not loaded (pulseaudio)

I'm running a system wide PulseAudio daemon, which is working. Now I'd like to play audio from my phone over bluetooth. In system.pa I'm loading module-bluetooth-policy and module-bluetooth-discover. ...
1
vote
1answer
3k views

Using acquire-write and acquire-notify in bluetoothctl for Bluetooth Low Energe characteristic BLE

The recent BlueZ 5.46 release has a new feature to "let an application get a dedicated file descriptor to read/write data from/to a GATT characteristic". Looking at bluetoothctl command help, It looks ...
19
votes
1answer
5k views

How do I secure Linux systems against the BlueBorne remote attack?

The Armis Lab has discovered a new vector attack affecting all devices with Bluetooth enabled including Linux and IoT systems. BlueBorne attack on Linux Armis has disclosed two vulnerabilities ...
2
votes
0answers
485 views

Setting up Linux Bluetooth 4.0 serial port - gatttool/socat?

Bluetooth LE/ 4 is different from traditional Bluetooth serial port profiles and old instructions don't work. Bluetooth LE is basically all user mode, and there are some instructions on accessing LE ...
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 ...
1
vote
1answer
190 views

Operate on BlueZ provided file descriptor in C

I am attempting to work with the org.bluez.Profile1 in BlueZ 5.44. When connecting with a new device via the NewConnection DBus method, we get a file descriptor to work with. I am fairly confused on ...
0
votes
1answer
692 views

BlueZ with Ubuntu Set-up

I am trying to setup BlueZ in Ubuntu 14.04 with the end goal of connecting my mobile phone to my computer. The website does not have many details of how to install it, and I do not have much ...
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
1answer
38 views

Can't use make command Bluetooth

I am trying to downgrade from Bluez5 to Bluez4 in case to use HFP , here what I get used make after ./configurate command ~/bluez-4.101 $ make GEN lib/bluetooth/bluetooth.h ln: target 'lib/...
3
votes
0answers
183 views

Recreate HID device after BlueZ 5 is restarted

I work on an embedded device which is using Bluetooth keyboard for user interaction. When the keyboard is connected for the first time after reboot or BlueZ restart, BlueZ will establish a connection,...
1
vote
0answers
274 views

Bluetooth connection error

I want to connect my laptop(Arch Linux) to arduino. I am connecting it via bluez and using hc-05 on the arduino side. The problem is, bluez is connecting fine with android phone, android phone is ...
1
vote
0answers
195 views

Bluetooth LE devices connection order

Running Gentoo linux distribution with kernel 4.9.16 and bluez 5.43 Have two devices: Logitech MX Anywhere 2 mouse and Logitech K780 keyboard Both devices are Bluetooth 4.0 LE. Bluetooth adapter is ...
3
votes
0answers
617 views

Binding to systemd device units of connected bluetooth devices

When I connect a bluetooth device (e.g. a wiimote) to my machine and list all device units of systemd via systemctl list-units -t device, the device unit shows up as sys-subsystem-bluetooth-devices-...