「BlueZ」- Official Linux Bluetooth protocol stack

认识

官网:https://www.bluez.org/

组成

命令程序 and 配置文件

# apt-file list bluez # Ubuntu 25.04

/etc/bluetooth/**
/etc/default/bluetooth
/etc/init.d/bluetooth

/usr/bin/bluemoon
/usr/bin/bluetoothctl
/usr/bin/btattach
/usr/bin/btmgmt
/usr/bin/btmon
/usr/bin/ciptool
/usr/bin/gatttool
/usr/bin/hciattach
/usr/bin/hciconfig
/usr/bin/hcitool
/usr/bin/hex2hcd
/usr/bin/l2ping
/usr/bin/l2test
/usr/bin/mpris-proxy
/usr/bin/obexctl
/usr/bin/rctest
/usr/bin/rfcomm
/usr/bin/sdptool

/usr/lib/systemd/system/bluetooth.service
/usr/lib/systemd/user/mpris-proxy.service
/usr/lib/udev/hid2hci
/usr/lib/udev/rules.d/97-hid2hci.rules

/usr/libexec/bluetooth/bluetoothd
/usr/sbin/bluetoothd

/usr/share/apport/package-hooks/source_bluez.py
/usr/share/dbus-1/system-services/org.bluez.service
/usr/share/dbus-1/system.d/bluetooth.conf
/usr/share/doc/**
/usr/share/man/**
/usr/share/zsh/site-functions/_bluetoothctl

应用

… corrupted SCO packet …

...
... input: BC30 (AVRCP) as /devices/virtual/input/input30
... Bluetooth: hci0: corrupted SCO packet
...