Questions tagged [bluetooth]

A protocol used for low-range, low-power, low-speed communication between devices (phones, keyboard, mice etc...).

750 questions
34
votes
4 answers

How do I connect and send data to a bluetooth serial port on Linux?

I'm trying to setup a virtual serial port though a USB-Bluetooth adapter on Linux and send a message to it through an Android device. I'm on kernel 3.6. I'm able to pair to the device successfully using gnome-bluetooth and also able to send files to…
Pris
  • 671
19
votes
1 answer

Low-level bluetooth utility

What's a bluetooth utility for Linux that will let me pair and unpair devices, display messages coming from a device, send messages to a device (hopefully done using the filesystem!), and set any available flags? The application in mind is that I…
themirror
  • 6,988
18
votes
3 answers

How do I make my USB Bluetooth dongle work? (Can't init device hci0: Connection timed out (110))

I have a USB bluetooth dongle: root@maiko-cce-lin:~# lsusb | grep Bluetooth Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) It rarely works, and when I do get it to work it stops working when I reboot. It…
MaikoID
  • 969
13
votes
3 answers

How to set Bluetooth transmit power?

I am trying to set the (inquiry) transmit power of Bluetooth dongles with both Broadcom and CSR chipsets using hciconfig, e.g.: hciconfig hci0 inqtpl 3 But whatever valid parameter I pass, reading the value afterwards always yields 0, like…
domsom
  • 386
7
votes
1 answer

What is the bluetooth ControllerMode in /etc/bluetooth/main.conf? What is bredr?

A lot of advice online suggests I add the line ControllerMode=bredr in my /etc/bluetooth/main.conf. What does this value do, currently it looks like it defaults to dual. How does changing this value, change the behavior of my bluetooth agent? What…
Evan Carroll
  • 30,763
  • 48
  • 183
  • 315
7
votes
2 answers

Bluetooth not working in Linux Mint 18

I am using Linux Mint 18, my bluetooth icon is appearing but it cannot find any devices when searched for. The output for dmesg |grep -i blue [ 12.730623] Bluetooth: Core ver 2.21 [ 12.730638] Bluetooth: HCI device and connection manager…
7
votes
1 answer

How can I debug why my built-in bluetooth is not working?

I would like to see bluetooth devices over my computer. I have a Asus x79 Deluxe which supports Bluetooth 4.0. It would be nice if that worked under Linux. I have installed the following packages: bluez-utils libopenobex1 I have blueman installed…
Martin Thoma
  • 2,842
6
votes
2 answers

What are the UUIDs listed by `bluetoothctl info`?

When I run bluetoothctl info it shows me information about the COWIN E9 headset I have connected, Device REDACTED (public) Name: COWIN E9 Alias: COWIN E9 Class: 0x00240418 Icon: audio-card Paired: yes Trusted: yes …
Evan Carroll
  • 30,763
  • 48
  • 183
  • 315
5
votes
1 answer

Bluetooth is soft-blocked and rfkill unblock doesn't work

The pretext is that I have been looking for a new distro and live booting several install media (Mint, Ubuntu, Debian) and somewhere along the line my bluetooth radio stopped working. My guess is that there is some minor difference in the way…
jcxz100
  • 81
5
votes
1 answer

Start and stop bluetooth service automatically as rfkill switch changes

I would like to start / stop bluetooth service automatically when I turn on / off rfswitch, is that possible ?
daisy
  • 54,555
5
votes
2 answers

Bluetooth manager window won't open

I'm using a USB Bluetooth dongle on my Raspberry Pi. So far I managed to connect the device and pair it using the terminal. Yet the desktop/GUI Bluetooth manager won't open. I can see the icon on the desktop and as you can see it I can even…
alkopop79
  • 151
3
votes
1 answer

How to pair a BLE device in linux without using gatttool?

Some bluetooth low-energy (BLE) devices are difficult to pair in linux. All information I can find (including this question) suggests that gatttool should be used, like so: sudo gatttool -t random -b E7:2D:83:06:AA:AB -I [E7:2D:83:06:AA:AB][LE]>…
jyp
  • 31
3
votes
0 answers

Why does "hcitool lescan" require privileged system calls, while "hcitool scan" does not?

An answer on Bluetooth LE scan as non root? indicates that with hcitool lescan an "Operation not permitted" error is generated by a writev system call (in hci.c). hci_le_set_scan_parameters -> hci_send_req -> hci_send_cmd -> writev What's so…
3
votes
0 answers

Bluetooth headphones disconnect after a few seconds

I connect my Bluetooth headphones and after 4-5 seconds of speaking they disconnect. This problem exists on Ubuntu and Linux Mint, but not on Windows 10 or Kubuntu. I tried removing blueberry and installing blueman, but no change. My system is up to…
3
votes
1 answer

Why do 2 bluetooth peripherals not interfere ? (mouse and keyboard)

I have a bluetooth mouse and a bluetooth keyboard. When I press a key and move the mouse at the same time, it works. But how ? How does the bluetooth chip doesn't get confused by two signals at the same time ? Note : keyboard/mouse is an example but…
Thomas
  • 893
1
2 3