先读
这是一个规范问题,将成为解决蓝牙问题的路标。请,只要此答案中的任何一个不能解决您的问题,请在另一个问题中提供与此问题相同的信息,并添加指向此问题的链接。您还应该提供每个解决方案的结果/变化。
大约两天了,我的蓝牙无法正常工作。顶部面板上没有蓝牙图标。蓝牙窗口完全冻结,如下图所示:
输出为bluetoothd -d -n
:
bluetoothd[3390]: Bluetooth daemon 4.98
bluetoothd[3390]: src/main.c:parse_config() parsing main.conf
bluetoothd[3390]: src/main.c:parse_config() discovto=0
bluetoothd[3390]: src/main.c:parse_config() pairto=0
bluetoothd[3390]: src/main.c:parse_config() pageto=8192
bluetoothd[3390]: src/main.c:parse_config() auto_to=60
bluetoothd[3390]: src/main.c:parse_config() name=%h-%d
bluetoothd[3390]: src/main.c:parse_config() class=0x000100
bluetoothd[3390]: src/main.c:parse_config() discov_interval=30
bluetoothd[3390]: src/main.c:parse_config() Key file does not have key 'DeviceID'
Run Code Online (Sandbox Code Playgroud)
输出为start bluetooth
:
start:拒绝发送消息,1条匹配规则;type="method_call", sender=":1.343" (uid=1000 pid=19042 comm="启动蓝牙") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requests_reply="0" 目的地="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
我的 Ubuntu 版本是 12.04。关于如何排序的任何想法?
编辑
包含 /var/log/dmesg 内容的 Patebin 链接:链接
编辑#2
hcitool dev
:
Devices:
hci0 74:E5:43:36:65:21
Run Code Online (Sandbox Code Playgroud)
cat /etc/dbus-1/system.d/bluetooth.conf
:
粘贴bin链接
ps aux| grep bluetooth
:
root 1065 0.0 0.0 4740 2028 ? Ss 15:33 0:00 /usr/sbin/bluetoothd
dorsatum 2392 0.0 0.2 142772 10956 ? Sl 15:33 0:00 bluetooth-applet
root 20960 0.0 0.2 76268 10780 ? Sl 22:08 0:00 bluetooth-applet
dorsatum 21203 0.0 0.0 4388 832 pts/0 S+ 22:13 0:00 grep --color=auto bluetooth
Run Code Online (Sandbox Code Playgroud)
您可能想在启动守护程序之前尝试加载 btusb 模块:
sudo modprobe btusb
Run Code Online (Sandbox Code Playgroud)
为了让它在重新启动时发生,请将其放入/etc/modules
:
btusb
Run Code Online (Sandbox Code Playgroud)
以上解决了我的情况,即:sudo service bluetooth start
没有启动守护进程并dmesg
显示
[ 72.468338] init: bluetooth main process (4028) terminated with status 1
[ 72.468401] init: bluetooth respawning too fast, stopped
Run Code Online (Sandbox Code Playgroud)
因为/usr/sbin/bluetoothd -n -d
失败了
bluetoothd[4054]: opening L2CAP socket: Address family not supported by protocol
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
18086 次 |
最近记录: |