好吧,我遇到了蓝牙总是关闭的问题。我进入配置->蓝牙,每次尝试打开它都会在一段时间后返回关闭状态。我尝试使用这个命令:
aptitude install bluetooth
然后运行
/etc/init.d/bluetooth start
之后我跑了/etc/init.d/bluetooth status
,这就是显示的内容:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2017-01-17 21:13:47 UTC; 29s ago
Docs: man:bluetoothd(8)
Main PID: 7939 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─7939 /usr/lib/bluetooth/bluetoothd
Jan 17 21:13:47 kali bluetoothd[7939]: Error adding Link Loss service
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Current Time Service could not be re...ed
Jan 17 21:13:47 kali bluetoothd[7939]: gatt-time-server: Input/output error (5)
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Sap driver initialization failed.
Jan 17 21:13:47 kali bluetoothd[7939]: sap-server: Operation not permitted (1)
Hint: Some lines were ellipsized, use -l to show in full.
我的电脑是索尼 VAIO SVF15A17CLV。
输出来自rfkill list all
0: sony-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: sony-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
谢谢你!!
答案1
apt-get install bluetooth
lsmod | grep bluetooth
/etc/init.d/bluetooth status
/etc/init.d/bluetooth start
答案2
使用此命令,因为它应该起作用:
service bluetooth restart