Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
0answers
10 views

Rfcomm's: cant open serial connection to bluetooth device

I have a raspberry pi zero running raspbian, i am trying to connect a bluetooth device to it and open a serial connection. My bluetooth device is a TI board running an SPP example, i can connect to it ...
-1
votes
0answers
32 views

bluetooth intel not working

can't turn on bluetooth module in arch linux hp probook 430 g3 ID 8087:0a2a Intel Corp. % lsusb -t ...
2
votes
0answers
16 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
16 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
29 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
82 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 (...
0
votes
1answer
101 views

Dell XPS 15 9550 - Bluetooth will not connect to anything

Running Linux Mint 19 output of dmesg |grep -i blue [ 6.877551] Bluetooth: Core ver 2.22 [ 6.877566] Bluetooth: HCI device and connection manager initialized [ 6.877568] Bluetooth: HCI ...
1
vote
0answers
8 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
16 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 ...
0
votes
0answers
81 views

bluez, pulseaudio, and ofono crashes and problems in iMX8 - Wayland

I have been trying to develop an application that has media playback, media control, and telephony with i.MX8 QuadMax MEK board. I use Yocto fsl-imx-wayland distro, which uses Wayland desktop with ...
1
vote
0answers
363 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
25 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
165 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
295 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
646 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
311 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
102 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 ...
0
votes
0answers
23 views

Bluetooth - Unpair and pair again without having to scan

I have two boards with BlueZ v5.46 that I use with several profiles such as SPP, HSP or PAN. I have no problem for pairing, connecting or using profiles but I would like to automate some behaviours. ...
2
votes
1answer
66 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 ...
3
votes
0answers
376 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
164 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 ...
0
votes
0answers
194 views

Qt Bluetooth Low Energy Multiple Connection Error

Qt: 5.10, Linux Ubuntu 17.10, Bluez 5.4x and I´m trying to connect with multiple Bluetooth Low Energy Devices using QBluetooth. Everything works fine for one Connection. But when I connect to a ...
0
votes
0answers
97 views

BlueZ MediaFolder1 interface not present

I am trying to control audio playback on my phone from my laptop. After connecting via Bluetooth, BlueZ registers the org.bluez.MediaPlayer1 interface at /org/bluez/hci0/dev_<BT MAC>/player0 ...
1
vote
0answers
596 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
728 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
0answers
395 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
0answers
327 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 ...
0
votes
1answer
33 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: $ ...
2
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
662 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
538 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
536 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
377 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
2k 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 ...
18
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
404 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
518 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 ...
0
votes
1answer
150 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
532 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
909 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
31 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/...
4
votes
0answers
149 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
232 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
144 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
469 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-...
1
vote
0answers
324 views

How to connect to my phone via bluetooth serial

Hey guys 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 ...
0
votes
0answers
411 views

How do I get Bluetooth working on Fedora Linux 20?

I am trying to get a HP Office 100 printer to work over Bluetooth from my LinuxFedora 20 PC. I have installed "blueman-0.19-all.tar.gz", I tried to install bluez... but got "Package bluez-5.18-1.fc20....
2
votes
0answers
391 views

Bluez Obex daemon not starting

my Bluez obexd daemon is not starting. I connect via: ssh -X something@something I have a running dbus user session and set the DISPLAY env var with DISPLAY=:0 like the www told me. My daemon.log ...
10
votes
3answers
1k 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 ...