[已解决]联想ThinkPad 0B47189蓝牙键盘连接中断Unexpected continuation frame

CPU/显卡/打印机/USB设备等硬件问题
回复
bopjiang
帖子: 3
注册时间: 2016-08-13 4:39
系统: ubuntu 16.04

[已解决]联想ThinkPad 0B47189蓝牙键盘连接中断Unexpected continuation frame

#1

帖子 bopjiang » 2016-08-13 4:57

问题现象:
联想ThinkPad 0B47189蓝牙键盘, 通过USB蓝牙适配器同台式机相连。
1. 在长时间(30分钟左右)不使用键盘的情况下,敲击键盘,键盘信号灯提示连接断,一直重连,看主机日志,一直打印Bluetooth: Unexpected continuation frame (len 0), 点系统的蓝牙图标,蓝牙显示打开,但是键盘显示未连接状态,用鼠标设置成连接状态,问题临时解决。
长时间不用,又会出现类似现象。

2. 重启机器时,输入密码框时,键盘也连不上,现象同1.


系统:ubuntu 16.04.1
内核:4.4.0-34

代码: 全选

➜  ~ dpkg  -l |grep blue
ii  blueman                                     2.0.4-1ubuntu2                                              amd64        Graphical bluetooth manager
ii  bluez                                       5.37-0ubuntu5                                               amd64        Bluetooth tools and daemons
ii  bluez-cups                                  5.37-0ubuntu5                                               amd64        Bluetooth printer driver for CUPS
ii  bluez-hcidump                               5.37-0ubuntu5                                               amd64        Analyses Bluetooth HCI packets
ii  bluez-obexd                                 5.37-0ubuntu5                                               amd64        bluez obex daemon
ii  gnome-bluetooth                             3.18.2-1ubuntu2                                             amd64        GNOME Bluetooth tools
ii  indicator-bluetooth                         0.0.6+16.04.20160526-0ubuntu1                               amd64        System bluetooth indicator.
ii  libbluetooth3:amd64                         5.37-0ubuntu5                                               amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth13:amd64                  3.18.2-1ubuntu2                                             amd64        GNOME Bluetooth tools - support library
ii  pulseaudio-module-bluetooth                 1:8.0-0ubuntu3                                              amd64        Bluetooth module for PulseAudio sound server

➜  ~ lsusb
Bus 003 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

➜  ~ grep -i blue /var/log/syslog
Aug 12 17:44:00 pjpc kernel: [  312.986083] Bluetooth: Unexpected continuation frame (len 0)
Aug 12 17:44:09 pjpc kernel: [  321.268470] Bluetooth: Unexpected continuation frame (len 0)
Aug 12 17:44:09 pjpc kernel: [  321.291047] Bluetooth: Unexpected continuation frame (len 0)
Aug 12 17:44:09 pjpc kernel: [  321.338226] input: ThinkPad Compact Bluetooth Keyboard with TrackPoint as /devices/virtual/misc/uhid/0005:17EF:6048.0004/input/input13
Aug 12 17:44:09 pjpc kernel: [  321.338613] lenovo 0005:17EF:6048.0004: input,hidraw3: BLUETOOTH HID v3.09 Keyboard [ThinkPad Compact Bluetooth Keyboard with TrackPoint] on 0
0:1B:10:00:03:36
Aug 12 17:44:24 pjpc gnome-session[3921]: [<blueman.services.Input.Input object at 0x7f15600bbef0>]
Aug 12 17:44:25 pjpc blueman-mechanism: Exiting
Aug 12 17:44:44 pjpc gnome-session[3921]: blueman-manager version 2.0.4 starting
Aug 12 17:55:17 pjpc systemd[1]: bluetooth.target: Unit not needed anymore. Stopping.
Aug 12 17:55:17 pjpc systemd[1]: Stopped target Bluetooth.
Aug 12 17:55:18 pjpc bluetoothd[4636]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource
Aug 12 17:55:18 pjpc bluetoothd[4636]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink
Aug 12 17:56:22 pjpc kernel: [ 1054.333664] usb 3-9: Product: Bluetooth V2.0 Dongle
Aug 12 17:56:22 pjpc kernel: [ 1054.333668] usb 3-9: Manufacturer: Bluetooth v2.0
Aug 12 17:56:22 pjpc bluetoothd[4636]: Failed to obtain handles for "Service Changed" characteristic
Aug 12 17:56:22 pjpc bluetoothd[4636]: Not enough free handles to register service
Aug 12 17:56:22 pjpc bluetoothd[4636]: Error adding Link Loss service
Aug 12 17:56:22 pjpc bluetoothd[4636]: Not enough free handles to register service
Aug 12 17:56:22 pjpc bluetoothd[4636]: message repeated 2 times: [ Not enough free handles to register service]
Aug 12 17:56:22 pjpc bluetoothd[4636]: Current Time Service could not be registered
Aug 12 17:56:22 pjpc bluetoothd[4636]: gatt-time-server: Input/output error (5)
Aug 12 17:56:22 pjpc bluetoothd[4636]: Not enough free handles to register service
Aug 12 17:56:22 pjpc bluetoothd[4636]: Not enough free handles to register service
Aug 12 17:56:22 pjpc bluetoothd[4636]: Sap driver initialization failed.
Aug 12 17:56:22 pjpc bluetoothd[4636]: sap-server: Operation not permitted (1)
Aug 12 17:56:22 pjpc systemd[1]: Reached target Bluetooth.
Aug 12 17:56:22 pjpc bluetoothd[4636]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/A2DPSource
Aug 12 17:56:22 pjpc bluetoothd[4636]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/A2DPSink
Aug 12 18:03:18 pjpc kernel: [ 1470.813793] Bluetooth: Unexpected continuation frame (len 0)
Aug 12 18:03:19 pjpc kernel: [ 1471.392544] Bluetooth: Unexpected continuation frame (len 0)
Aug 12 18:03:27 pjpc kernel: [ 1479.805055] Bluetooth: Unexpected continuation frame (len 0)
Aug 12 18:03:27 pjpc kernel: [ 1479.833761] Bluetooth: Unexpected continuation frame (len 0)
Aug 12 18:03:27 pjpc kernel: [ 1479.869855] input: ThinkPad Compact Bluetooth Keyboard with TrackPoint as /devices/virtual/misc/uhid/0005:17EF:6048.0007/input/input15
Aug 12 18:03:27 pjpc kernel: [ 1479.870941] lenovo 0005:17EF:6048.0007: input,hidraw3: BLUETOOTH HID v3.09 Keyboard [ThinkPad Compact Bluetooth Keyboard with TrackPoint] on 0
0:1B:10:00:03:36

各位大神麻烦帮忙看下。。。。搞不定就只能退货了 :Cry
上次由 bopjiang 在 2016-08-16 17:37,总共编辑 1 次。
bopjiang
帖子: 3
注册时间: 2016-08-13 4:39
系统: ubuntu 16.04

Re: 联想ThinkPad 0B47189蓝牙键盘连接中断,Unexpected continuation fram

#2

帖子 bopjiang » 2016-08-16 17:36

做了两件事情,终于好了:



看了这篇文章,bluetooth这个包之前忘记装了。装上后还是然并卵

http://www.techradar.com/how-to/computi ... -3-1316938



突然想到是不是gnome默认带的蓝牙管理问题,使用blueman加入键盘。

blueman蓝牙匹配真是蛋疼,中间各种窗口崩溃,试了N次不知怎么就好了。

Aug 16 14:57:43 pjpc gnome-session-binary[3661]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Aug 16 14:57:43 pjpc gnome-session-binary[3661]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Aug 16 14:57:43 pjpc gnome-session[3661]: gnome-session-binary[3661]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Aug 16 14:57:43 pjpc gnome-session[3661]: gnome-session-binary[3661]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Aug 16 14:57:43 pjpc gnome-session-binary[3661]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed



使用blueman匹配上后,重启机器,重启bluetooth服务,待机30分钟,都能正常连上蓝牙了。
bopjiang
帖子: 3
注册时间: 2016-08-13 4:39
系统: ubuntu 16.04

Re: [已解决]联想ThinkPad 0B47189蓝牙键盘连接中断Unexpected continuation f

#3

帖子 bopjiang » 2016-08-18 14:57

今天又有一次键盘连不上了, 结果重新将USB 蓝牙适配器 拔插一次就好了。 看来蓝牙问题真不少。

Aug 18 14:50:15 pjpc org.blueman.Mechanism[2557]: Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Aug 18 14:50:15 pjpc org.blueman.Mechanism[2557]: Unable to init server: Could not connect: Connection refused
Aug 18 14:50:15 pjpc org.blueman.Mechanism[2557]: Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Aug 18 14:50:15 pjpc org.blueman.Mechanism[2557]: Unable to init server: Could not connect: Connection refused
Aug 18 14:50:15 pjpc blueman-mechanism: Starting blueman-mechanism
Aug 18 14:50:15 pjpc dbus[2557]: [system] Successfully activated service 'org.blueman.Mechanism'
Aug 18 14:50:15 pjpc org.blueman.Mechanism[2557]: (blueman-mechanism:5277): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Aug 18 14:50:15 pjpc blueman-mechanism: loading RfKill
Aug 18 14:50:15 pjpc blueman-mechanism: loading Ppp
Aug 18 14:50:15 pjpc blueman-mechanism: loading Rfcomm
Aug 18 14:50:15 pjpc blueman-mechanism: loading Network
Aug 18 14:50:45 pjpc blueman-mechanism: Exiting
回复