meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:bluetooth [2021/08/03 10:38] niziaklinux:bluetooth [2024/12/11 11:44] (current) niziak
Line 2: Line 2:
  
 <code bash> <code bash>
-apt-get install bluez bluez-tools d-feet+apt-get install bluez bluez-hcidump bluez-tools d-feet blueman
 sudo usermod -a -G bluetooth $USER sudo usermod -a -G bluetooth $USER
 sudo setcap 'cap_net_raw,cap_net_admin+eip' `which hcitool` sudo setcap 'cap_net_raw,cap_net_admin+eip' `which hcitool`
Line 8: Line 8:
 </code> </code>
  
 +===== debug  =====
 +
 +Enable debug output of ''bluetooth.service'':
 +<code bash>
 +systemctl edit bluetooth.service
 +</code>
 +<file override>
 +[Service]
 +ExecStart=
 +ExecStart=/usr/libexec/bluetooth/bluetoothd -dn
 +</file>
 +NOTE: empty ''ExecStart='' is required to remove previous ''ExecStart'' (to prevent duplicate entries)
 +
 +<code bash>
 +systemctl daemon-reload
 +systemctl restart bluetooth.service
 +</code>
 ===== hcitool ===== ===== hcitool =====