From Fedora Project Wiki

Revision as of 18:43, 6 October 2017 by Dzickus (talk | contribs) (Created page with "Bluetooth is a short range wireless protocol that is used to connect to various low bandwidth I/O devices (like keyboards, mice, headsets). Newer versions have a low-energy m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Bluetooth is a short range wireless protocol that is used to connect to various low bandwidth I/O devices (like keyboards, mice, headsets). Newer versions have a low-energy mode with a slightly higher bandwidth and range.

The Bluetooth solution is composed of a userspace daemon, bluetoothd, that communicates through a management port in the kernel to the hardware drivers. Applications that want to communicate with the bluetoothd daemon do so over a d-bus api. This includes the various GNOME bluetooth applets.

Identifying Bluetooth Problems

Was the bluetooth hardware found?

A simple command to make sure the kernel found the bluetooth hardware and activated it

  • Make sure bluetooth was found and enabled (note hci0: and 'UP RUNNING'):
    $ hciconfig
    hci0:	Type: Primary  Bus: USB
    	BD Address: xx:xx:xx:xx:xx:xx  ACL MTU: 1021:4  SCO MTU: 96:6
    	UP RUNNING PSCAN 
    	RX bytes:15047 acl:0 sco:0 events:2433 errors:0
    	TX bytes:599323 acl:0 sco:0 commands:2431 errors:0
    
  • If the command returns nothing (no hci: info), then there is a hardware issue
    $ lsusb -v | grep Bluetooth | grep DeviceProtocol
    bDeviceProtocol         1 Bluetooth
    
  • If the lsusb command returns nothing, there is no hardware, a dmesg output would be needed
  • If the lsusb commands returns Bluetooth, then check for attached driver
    $ lsusb -t | grep Wireless
        |__ Port 4: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
        |__ Port 4: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    
  • If Driver is empty, lsusb -v output would be needed to add ids
  • If hciconfig shows output but not UP
    $ hciconfig up