Bluetooth: Difference between revisions
From DWIKI
mNo edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
*https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gap | *https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gap | ||
=HOWTO= | |||
==Connect new device== | |||
bluetootctl | |||
scan on | |||
==Find vendor by mac address== | |||
*https://maclookup.app/ | |||
*[https://gist.github.com/aallan/b4bb86db86079509e6159810ae9bd3e4 List of MAC addresses with vendors identities ] | |||
*[https://www.wireshark.org/download/automated/data/manuf Wireshark manufacturer database] | |||
=Tools= | =Tools= | ||
Line 20: | Line 30: | ||
===Find devices=== | ===Find devices=== | ||
scan on | scan on | ||
===unpair=== | |||
remove <device-id> | |||
==hciconfig== | ==hciconfig== | ||
= FAQ = | = FAQ = | ||
==Error messages== | |||
== Failed to pair: org.bluez.Error.AlreadyExists == | === Failed to pair: org.bluez.Error.AlreadyExists === | ||
Try | Try | ||
Line 32: | Line 45: | ||
== Failed to connect: org.bluez.Error.Failed == | === Failed to connect: org.bluez.Error.Failed === | ||
hammer? | hammer? | ||
===bluetoothd: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.=== | |||
===Loading LTKs timed out for hci0=== | |||
Try | |||
rmmod btusb | |||
modprobe btusb | |||
systemctl restart bluetooth | |||
== Keeps requiring reconnect == | == Keeps requiring reconnect == | ||
Line 62: | Line 80: | ||
<span style="font-family:monospace"><span style="color:#000000; background-color:#ffffff">will show it also wants </span><span style="color:#b21818; background-color:#ffffff">hci0: Failed to load Intel DDC file intel/ibt-20-1-3.ddc</span></span><br/> | <span style="font-family:monospace"><span style="color:#000000; background-color:#ffffff">will show it also wants </span><span style="color:#b21818; background-color:#ffffff">hci0: Failed to load Intel DDC file intel/ibt-20-1-3.ddc</span></span><br/> | ||
==Failed to connect: org.bluez.Error.Failed br-connection-unknown== | |||
try | |||
systemctl status bluetooth.service | |||
bluetoothd[836]: profiles/audio/avdtp.c:avdtp_connect_cb() xx permision denied | |||
try unpairing and pairing again |
Latest revision as of 15:27, 23 May 2024
Links
- Bluez homepage
- btsco
- bluetooth-alsa
- Asterisk channel plugin for bluetooth HandsFree Profile
- Bluetooth Company Identifiers
Terminology
gatt
Generic Attribute Profile
GAP
'Generic Access Profile
HOWTO
Connect new device
bluetootctl scan on
Find vendor by mac address
- https://maclookup.app/
- List of MAC addresses with vendors identities
- Wireshark manufacturer database
Tools
bluetoothctl
Find devices
scan on
unpair
remove <device-id>
hciconfig
FAQ
Error messages
Failed to pair: org.bluez.Error.AlreadyExists
Try
paired-devices
Failed to connect: org.bluez.Error.Failed
hammer?
bluetoothd: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Loading LTKs timed out for hci0
Try
rmmod btusb modprobe btusb systemctl restart bluetooth
Keeps requiring reconnect
Check ReconnectUUIDs
To find the UUIDs:
bluetoothctl show
mobile device not found
Headphone can't find your system.
Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-20-1-3.sfi (-2)
You might find it at https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel
NOTE
hciconfig hci0 up
will show it also wants hci0: Failed to load Intel DDC file intel/ibt-20-1-3.ddc
Failed to connect: org.bluez.Error.Failed br-connection-unknown
try
systemctl status bluetooth.service
bluetoothd[836]: profiles/audio/avdtp.c:avdtp_connect_cb() xx permision denied
try unpairing and pairing again