我已经将我的bluez版本从5降到了4.79。首先,我用sudo apt-get清除卸载了bluez5,然后我做了sudo apt自动删除。然后,我将获得tar文件,并执行了经典的./配置、make、,而没有错误。
问题是:$ systemctl status bluetooth输出是:
*bluetooth.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)因此,当我尝试$ sudo systemctl start bluetooth时,输出是:
Failed to start bluetooth.service : Unit bluetooth.service failed to load: No such file or directory$ bluetoothd -v输出:
4.79
如何启动蓝牙服务,以及为什么缺少bluetooth.service文件?我对linux很陌生,我在rp1上和拉斯皮恩·杰西一起运行bluez。任何帮助都很感激。
发布于 2020-04-01 09:19:44
$ sudo systemctl enable bluetooth
Failed to enable unit: Unit file bluetooth.service does not exist.我已经克服了错误,所以我试着安装了所有的bluez软件包,并且成功了。
sudo apt-get install bluez*安装后,我启用了蓝牙。
$ sudo systemctl enable bluetooth
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable bluetooth
$ sudo systemctl start bluetoothhttps://unix.stackexchange.com/questions/453187
复制相似问题