Bluetooth 在Raspberry Pi上将BlueZ升级到5.52

Bluetooth 在Raspberry Pi上将BlueZ升级到5.52,bluetooth,raspberry-pi,bluez,Bluetooth,Raspberry Pi,Bluez,如何在Raspberry Pi上将BlueZ升级到5.52版 我试过了,但车载蓝牙似乎没有打开,所以我无法使用: sudo apt purge bluez (unpack latest BlueZ 5.52 source and cd to it) ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental --enable-tools

如何在Raspberry Pi上将BlueZ升级到5.52版

我试过了,但车载蓝牙似乎没有打开,所以我无法使用:

sudo apt purge bluez
(unpack latest BlueZ 5.52 source and cd to it)
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental --enable-tools --enable-library --enable-deprecated 
make -j4
sudo make install
sudo systemctl enable bluetooth
为了让蓝牙deamon运行,我必须在每次重新启动后启用蓝牙模块

sudo modprobe bluetooth
之后,服务将运行,并且
dmsg | grep blue
显示以下内容:

[  118.489822] Bluetooth: Core ver 2.22
[  118.489929] Bluetooth: HCI device and connection manager initialized
[  118.489953] Bluetooth: HCI socket layer initialized
[  118.489966] Bluetooth: L2CAP socket layer initialized
[  118.490008] Bluetooth: SCO socket layer initialized
[  139.315521] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  139.315529] Bluetooth: BNEP filters: protocol multicast
[  139.315544] Bluetooth: BNEP socket layer initialized
但是
hciconfig
没有给我任何设备


这里缺少什么?

RPi中的蓝牙与调试时使用的UART相同。因此,您需要在
config.txt
中禁用调试UART,谢谢您提供的信息。我的部分答案可以包括在这里:在此期间,我安装了官方的BlueZ apt软件包,似乎做到了这一点。