Questions tagged [bluez]

The tag has no usage guidance.

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 ...
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 ...
8
votes
0answers
947 views

Sound playback over bluetooth lags

I followed the instructions on Arch Linux Wiki and managed to set up sound playback thorugh bluetooth. However, there is a serious lag when using A2DP profile. No problems when using the headset ...
4
votes
0answers
764 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 ...
3
votes
0answers
492 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
0answers
184 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,...
3
votes
0answers
619 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-...
3
votes
0answers
379 views

Pulseaudio does not register HFP profile in SDP server

I need to pair a headset to a Linux based device over Bluetooth. Actually I want to have mic paired to the device to get raw audio from the mic. The device does not have a sound card. I have ...
3
votes
0answers
990 views

Very low volume audio through Bluetooth since networking restart

I'm running Debian 8, and I've been successfully using Pulseaudio/BlueZ to play audio through a Bluetooth speaker. Today I restarted my networking stack in order to try and fix a WiFi problem, and ...
2
votes
0answers
144 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 ...
2
votes
0answers
428 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. ...
2
votes
0answers
978 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-...
2
votes
0answers
490 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
0answers
475 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 ...
2
votes
0answers
2k views

How to configure bluez/kernel for Bluetooth keyboard peripheral

I am trying to bring up a custom ARM machine (similar to Raspberry Pi) to connect to a Bluetooth keyboard using a UART HCI interface (as opposed to a USB Bluetooth dongle). The device appears to pair ...
2
votes
0answers
478 views

Bluez bluetoothd requires root for all processes interacting with it

I've upgraded my bluez installation to version 5.41 on my Ubuntu xenail box (16.04). I'm trying to do some testing with a piece of bluetooth low energy hardware so I'm staring bluetoothd with the ...
2
votes
0answers
332 views

Can bluez run hooks on connect/disconnect

Is it possible to get bluez to run hooks when a device connects/disconnects? I'm setting up a raspberry pi to broadcast sound from a TV to Bluetooth ear phones. I want to add a pulse audio lookback ...
2
votes
0answers
552 views

Bluetooth Tethering, no IPv4 adresse at interface bnep0

I want to tether my mobile internet from my smartphone (OnePlus One, Android) to my Laptop (Debian 8). I want achieve this without using external tools. At the arch wiki page (https://wiki.archlinux....
2
votes
0answers
1k views

bluez paired but disconnected

I'm running bluez=4.99-2 on a Raspberry with Raspian installed and an old usb dongle 0a5c:200a Broadcom Corp. BCM2035. I use an Android device to connect to it, the dongle doesn't support sspmode so ...
2
votes
0answers
914 views

Send message to Android phone using bluetooth

I have a Raspberry Pi which you can assume to be just a Linux machine. It runs BlueZ and is successfully paired with my Android phone. What I want to do is, my Python program should be able to send a ...
2
votes
0answers
513 views

Possible to upgrade to latest Bluez using Mint 15 Olivia (Cinnamon)?

I'm using the latest version of Mint 15. I noticed that the Bluez version that is shipped with Mint 15 is 4.101 (http://www.bluez.org/bluez-4101/). As you can see the release date is : 22nd June ...
2
votes
0answers
755 views

Bluetooth was working but just stopped?

I recently upgraded to the latest FGLRX driver on my MacBook Pro and I noticed that Bluetooth was having some issues afterward. I tried reinstalling bluetooth and bluez, but it didn't seem to fix ...
1
vote
0answers
28 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 ...
1
vote
0answers
61 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. ...
1
vote
0answers
743 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
258 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 ...
1
vote
0answers
913 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
560 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 ...
1
vote
0answers
685 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 ...
1
vote
0answers
279 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
197 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 ...
1
vote
0answers
390 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 ...
1
vote
0answers
707 views

Bluetooth over uart using hciattach?

It am using QN9021 SoC working in controller mode (BLE Bluetooth core specification v4.0). It supports some standard HCI commands as well as some vendor specific commands. I am trying to attach it in ...
1
vote
0answers
2k views

Pulseaudio module-loopback problems

I'm trying to setup bluetooth audio sink using bluez + pulseaudio. The computer is running debian 7. I'm able to connect another device via bluetooth and I can see it in input devices. I've found ...
1
vote
0answers
466 views

How to pair and do data transfer to mobile from embedded linux board using bluez?

We are using Bluez stack in our our embedded linux boards for attached wifi chip on UART interface. Now we are able to scan and get the device name using hcitool. Now need to pair the device with the ...
1
vote
0answers
2k views

Barebone Linux Bluetooth pairing

I have a small embedded ARM box, without any KVM, just a serial console, Net and a Bluetooth USB dongle. System is autocompiled using Buildroot framework and reasonably working. I can access the box ...
1
vote
0answers
607 views

Emulate Bluetooth LE Adapter for Acceptance Testing

I'm developing an Android app that captures Bluetooth LE signals and I'm a big fan of test driven and behaviour driven development. So, I want to develop my app by using TDD and BDD. When it comes to ...
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: : ...
0
votes
0answers
19 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
0answers
125 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
93 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/...
0
votes
0answers
207 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 ...
0
votes
0answers
109 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: ...
0
votes
0answers
54 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 ...
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 ...
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 ...
0
votes
0answers
433 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....
0
votes
0answers
300 views

Killer 1535 802.11 2×2 Wi-Fi + BT 4.1 controller can't discover MS Mobile Mouse 3600

I saw number of posts here about Mobile Mouse 3600 but sadly none of them helped me to debug the issue. I have Killer 1535 card on my Dell XPS 13. According to specs it's Bluetooth 4.1 device. Mobile ...
0
votes
0answers
156 views

Which linux kernel options need to be enabled to support bluetooth low energy?

Which are the mandatory and optional options?