我的BT键盘不对。你能帮帮我吗?
刚刚买了这套很不错的蓝牙桌面和这台华硕笔记本电脑,并在上面安装了Ubuntu15.04。
首先,我的老鼠没有配对。我通过安装Bluez5和蓝牙管理器修复了这个问题,正如埃里克·鲍尔这里所建议的:蓝牙鼠标对但不连接
现在键盘不对了。
在键盘上,我按了一个3秒的小按钮,把它放在配对模式中。蓝牙管理器看到键盘。我点击“安装”。BT经理说要在键盘上输入代码。我在键盘上输入这段代码,然后按回车键:砰,BT经理说“添加设备失败了”。
/var/log/syslog的最后一行如下所示。谢谢你的帮助!
last lines of /var/log/syslog:
bluetoothd[1144]: Error reading PNP_ID value: Attribute requires authentication before read/write
bluetoothd[1144]: Unable to register GATT service with handle 0x0011 for device FF:DE:BC:04:E4:E9:
org.blueman.Applet[1357]: ERROR:dbus.connection:Exception in handler for D-Bus signal:
org.blueman.Applet[1357]: Traceback (most recent call last):
org.blueman.Applet[1357]: File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
org.blueman.Applet[1357]: self._handler(*args, **kwargs)
org.blueman.Applet[1357]: File "/usr/lib/python2.7/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 51, in wrapper
org.blueman.Applet[1357]: handler(name, value, **kwargs)
org.blueman.Applet[1357]: File "/usr/lib/python2.7/dist-packages/blueman/plugins/applet/SerialManager.py", line 48, in on_device_property_changed
org.blueman.Applet[1357]: d = Device(path)
org.blueman.Applet[1357]: File "/usr/lib/python2.7/dist-packages/blueman/main/Device.py", line 39, in __init__
org.blueman.Applet[1357]: self.Properties = self.Device.get_properties()
org.blueman.Applet[1357]: File "/usr/lib/python2.7/dist-packages/blueman/bluez/errors.py", line 143, in warp
org.blueman.Applet[1357]: raise parse_dbus_error(exception)
org.blueman.Applet[1357]: DBusException: org.freedesktop.DBus.Error.UnknownObject: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist
bluetoothd[1144]: Unable to register GATT service with handle 0x0011 for device FF:DE:BC:05:E4:E9:
bluetoothd[1144]: Error reading PNP_ID value: Attribute requires authentication before read/write
bluetoothd[1144]: Error reading PNP_ID value: Attribute requires authentication before read/write
bluetoothd[1144]: Unable to register GATT service with handle 0x0011 for device FF:DE:BC:05:E4:E9:
bluetoothd[1144]: Report Map read failed: Attribute requires authentication before read/write
bluetoothd[1144]: Protocol Mode characteristic read failed: Attribute requires authentication before read/write
bluetoothd[1144]: HID Information read failed: Attribute requires authentication before read/write
bluetoothd[1144]: Read Report Reference descriptor failed: Attribute requires authentication before read/write发布于 2016-10-07 23:12:59
这个问题是由于网关工具的问题。蓝牙设备调用gattool来获取蓝牙低能设备的属性。可能设备的固件不支持身份验证协议。
我通过启用蓝牙实验功能来避免这个问题。在您的/etc/init.d/蓝牙、NOPLUGIN_OPTION="-E“中添加"-E”选项。然后,重新启动蓝牙服务。
发布于 2015-10-16 07:28:53
它通过更新布卢兹来为我工作:
apt-add-repository ppa:vidplace7/bluez5
apt-add-repository ppa:blueman/ppa
apt-get update
apt-get install bluez
apt-get install blueman
apt-get install bluez-compat然后,我不得不在实验模式下启动bluez :用自己的脚本替换/usr/sbin/bluetooth:
#!/bin/sh
bluetooth -E现在我可以连接到blueman-applet鼠标和键盘了。
有什么想法,如何在启动时自动连接或不使用blueman (只是命令行)?
发布于 2019-01-26 23:49:54
对我来说,在尝试将蓝牙管理器中的键盘配对后,我注意到一个带有密码的小通知气泡。泡沫只存在几秒钟。我在键盘上输入密码,按回车键,然后键盘成对。
它花了几次尝试使它工作(把键盘重新进入配对模式)。
https://askubuntu.com/questions/674570
复制相似问题