Hi, the log information is:
Oct 12 15:10:04 athena dbus-daemon[541]: [system] Activating service name='org.blueman.Mechanism' requested by ':1.97' (uid=44444 pid=7478 comm="/usr/bin/python3 /usr/bin/blueman-applet ") (using servicehelper) Oct 12 15:10:04 athena org.blueman.Mechanism[541]: Unable to init server: Could not connect: Connection refused Oct 12 15:10:04 athena org.blueman.Mechanism[541]: Unable to init server: Could not connect: Connection refused Oct 12 15:10:04 athena blueman-mechanism: Starting blueman-mechanism Oct 12 15:10:04 athena dbus-daemon[541]: [system] Successfully activated service 'org.blueman.Mechanism' Oct 12 15:10:04 athena blueman-mechani[14490]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed Oct 12 15:10:04 athena blueman-mechanism: loading RfKill Oct 12 15:10:04 athena blueman-mechanism: loading Rfcomm Oct 12 15:10:04 athena blueman-mechanism: loading Ppp Oct 12 15:10:04 athena blueman-mechanism: loading Network Oct 12 15:10:04 athena systemd[1]: Starting Load/Save RF Kill Switch Status... Oct 12 15:10:04 athena systemd[1]: Started Load/Save RF Kill Switch Status. Oct 12 15:10:04 athena kernel: [ 569.067736] usb 1-7: USB disconnect, device number 6 Oct 12 15:10:04 athena blueman.desktop[7478]: ERROR:dbus.connection:Exception in handler for D-Bus signal: Oct 12 15:10:04 athena blueman.desktop[7478]: Traceback (most recent call last): Oct 12 15:10:04 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 230, in maybe_handle_message Oct 12 15:10:04 athena blueman.desktop[7478]: self._handler(*args, **kwargs) Oct 12 15:10:04 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper Oct 12 15:10:04 athena blueman.desktop[7478]: handler(name, value, **kwargs) Oct 12 15:10:04 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed Oct 12 15:10:04 athena blueman.desktop[7478]: klass = Device(path).get_properties()["Class"] & 0x1fff Oct 12 15:10:04 athena blueman.desktop[7478]: KeyError: 'Class' Oct 12 15:10:04 athena systemd-rfkill[14493]: Failed to open device: No such device Oct 12 15:10:04 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) config/udev: removing device HUAWEI Mouse Oct 12 15:10:04 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) Option "fd" "69" Oct 12 15:10:04 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) event18 - (II) HUAWEI Mouse: (II) device removed Oct 12 15:10:04 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) UnloadModule: "libinput" Oct 12 15:10:04 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) systemd-logind: releasing fd for 13:82 Oct 12 15:10:04 athena bluetoothd[4011]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource Oct 12 15:10:04 athena bluetoothd[4011]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink Oct 12 15:10:04 athena bluetoothd[4011]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource Oct 12 15:10:04 athena bluetoothd[4011]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink Oct 12 15:10:06 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:06 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). Oct 12 15:10:07 athena kernel: [ 572.402472] usb 1-7: new full-speed USB device number 7 using xhci_hcd Oct 12 15:10:08 athena kernel: [ 572.543621] usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b Oct 12 15:10:08 athena kernel: [ 572.543631] usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Oct 12 15:10:08 athena kernel: [ 572.545725] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015 Oct 12 15:10:08 athena kernel: [ 572.546733] Bluetooth: hci0: Device revision is 16 Oct 12 15:10:08 athena kernel: [ 572.546742] Bluetooth: hci0: Secure boot is enabled Oct 12 15:10:08 athena kernel: [ 572.546746] Bluetooth: hci0: OTP lock is enabled Oct 12 15:10:08 athena kernel: [ 572.546750] Bluetooth: hci0: API lock is enabled Oct 12 15:10:08 athena kernel: [ 572.546754] Bluetooth: hci0: Debug lock is disabled Oct 12 15:10:08 athena kernel: [ 572.546759] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 Oct 12 15:10:08 athena kernel: [ 572.547328] bluetooth hci0: firmware: direct-loading firmware intel/ibt-12-16.sfi Oct 12 15:10:08 athena kernel: [ 572.547339] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi Oct 12 15:10:08 athena gnome-shell[7272]: Allocating size to ShellEmbeddedWindow 0x562665108ba0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? Oct 12 15:10:08 athena laptop-mode: enabled, active Oct 12 15:10:08 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:08 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). Oct 12 15:10:08 athena root: Device /sys/bus/usb/devices/1-0:1.0 is blacklisted, skipping auto suspend. Oct 12 15:10:08 athena root: Device /sys/bus/usb/devices/1-7 is blacklisted, skipping auto suspend. Oct 12 15:10:08 athena root: Device /sys/bus/usb/devices/2-0:1.0 is blacklisted, skipping auto suspend. Oct 12 15:10:08 athena laptop-mode: enabled, active Oct 12 15:10:09 athena root: Device /sys/bus/usb/devices/1-0:1.0 is blacklisted, skipping auto suspend. Oct 12 15:10:09 athena kernel: [ 573.919793] Bluetooth: hci0: Waiting for firmware download to complete Oct 12 15:10:09 athena kernel: [ 573.920670] Bluetooth: hci0: Firmware loaded in 1344228 usecs Oct 12 15:10:09 athena kernel: [ 573.920694] Bluetooth: hci0: Waiting for device to boot Oct 12 15:10:09 athena root: Device /sys/bus/usb/devices/1-7 is blacklisted, skipping auto suspend. Oct 12 15:10:09 athena kernel: [ 573.932669] Bluetooth: hci0: Device booted in 11707 usecs Oct 12 15:10:09 athena kernel: [ 573.932716] bluetooth hci0: firmware: direct-loading firmware intel/ibt-12-16.ddc Oct 12 15:10:09 athena kernel: [ 573.932718] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc Oct 12 15:10:09 athena kernel: [ 573.934714] Bluetooth: hci0: Applying Intel DDC parameters completed Oct 12 15:10:09 athena root: Device /sys/bus/usb/devices/2-0:1.0 is blacklisted, skipping auto suspend. Oct 12 15:10:09 athena laptop-mode: enabled, active Oct 12 15:10:09 athena bluetoothd[4011]: Sap driver initialization failed. Oct 12 15:10:09 athena bluetoothd[4011]: sap-server: Operation not permitted (1) Oct 12 15:10:09 athena bluetoothd[4011]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98) Oct 12 15:10:09 athena bluetoothd[4011]: RFCOMM server failed for :1.77/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb: rfcomm_bind: Address already in use (98) Oct 12 15:10:09 athena bluetoothd[4011]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/A2DPSource Oct 12 15:10:09 athena bluetoothd[4011]: Endpoint registered: sender=:1.77 path=/MediaEndpoint/A2DPSink Oct 12 15:10:09 athena bluetoothd[4011]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource Oct 12 15:10:09 athena bluetoothd[4011]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink Oct 12 15:10:10 athena root: Device /sys/bus/usb/devices/1-0:1.0 is blacklisted, skipping auto suspend. Oct 12 15:10:10 athena root: Device /sys/bus/usb/devices/1-7 is blacklisted, skipping auto suspend. Oct 12 15:10:10 athena root: Device /sys/bus/usb/devices/2-0:1.0 is blacklisted, skipping auto suspend. Oct 12 15:10:10 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:10 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). Oct 12 15:10:11 athena blueman.desktop[7478]: Traceback (most recent call last): Oct 12 15:10:11 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/blueman/main/PluginManager.py", line 212, in Run Oct 12 15:10:11 athena blueman.desktop[7478]: ret = getattr(inst, function)(*args, **kwargs) Oct 12 15:10:11 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/blueman/plugins/applet/DiscvManager.py", line 92, in on_adapter_removed Oct 12 15:10:11 athena blueman.desktop[7478]: if path == self.adapter.get_object_path(): Oct 12 15:10:11 athena blueman.desktop[7478]: AttributeError: 'NoneType' object has no attribute 'get_object_path' Oct 12 15:10:11 athena blueman.desktop[7478]: ERROR:dbus.connection:Exception in handler for D-Bus signal: Oct 12 15:10:11 athena blueman.desktop[7478]: Traceback (most recent call last): Oct 12 15:10:11 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 230, in maybe_handle_message Oct 12 15:10:11 athena blueman.desktop[7478]: self._handler(*args, **kwargs) Oct 12 15:10:11 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/blueman/bluez/PropertiesBlueZInterface.py", line 55, in wrapper Oct 12 15:10:11 athena blueman.desktop[7478]: handler(name, value, **kwargs) Oct 12 15:10:11 athena blueman.desktop[7478]: File "/usr/lib/python3/dist-packages/blueman/plugins/applet/GameControllerWakelock.py", line 36, in on_device_property_changed Oct 12 15:10:11 athena blueman.desktop[7478]: klass = Device(path).get_properties()["Class"] & 0x1fff Oct 12 15:10:11 athena blueman.desktop[7478]: KeyError: 'Class' Oct 12 15:10:11 athena bluetoothd[4011]: bt_uhid_send: Invalid argument (22) Oct 12 15:10:11 athena kernel: [ 576.441460] input: HUAWEI Mouse as /devices/virtual/misc/uhid/0005:12D1:109A.0003/input/input21 Oct 12 15:10:11 athena kernel: [ 576.441791] hid-generic 0005:12D1:109A.0003: input,hidraw0: BLUETOOTH HID v0.01 Mouse [HUAWEI Mouse] on F8:59:71:BC:E1:F6 Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) config/udev: Adding input device HUAWEI Mouse (/dev/input/mouse2) Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) No input driver specified, ignoring this device. Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) This device may have been added with another device file. Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) config/udev: Adding input device HUAWEI Mouse (/dev/input/event18) Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) HUAWEI Mouse: Applying InputClass "libinput pointer catchall" Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) Using input driver 'libinput' for 'HUAWEI Mouse' Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 57 paused 0 Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) HUAWEI Mouse: always reports core events Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) Option "Device" "/dev/input/event18" Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) Option "_source" "server/udev" Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) event18 - (II) HUAWEI Mouse: (II) is tagged by udev as: Mouse Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) event18 - (II) HUAWEI Mouse: (II) device is a pointer Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) event18 - (II) HUAWEI Mouse: (II) device removed Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) Option "config_info" "udev:/sys/devices/virtual/misc/uhid/0005:12D1:109A.0003/input/input21/event18" Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) XINPUT: Adding extended input device "HUAWEI Mouse" (type: MOUSE, id 14) Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) Option "AccelerationScheme" "none" Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) HUAWEI Mouse: (accel) selected scheme none/0 Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) HUAWEI Mouse: (accel) acceleration factor: 2.000 Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (**) HUAWEI Mouse: (accel) acceleration threshold: 4 Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) event18 - (II) HUAWEI Mouse: (II) is tagged by udev as: Mouse Oct 12 15:10:11 athena /usr/lib/gdm3/gdm-x-session[7140]: (II) event18 - (II) HUAWEI Mouse: (II) device is a pointer Oct 12 15:10:12 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:12 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). Oct 12 15:10:12 athena kernel: [ 577.042676] thinkpad_acpi: unknown possible thermal alarm or keyboard event received Oct 12 15:10:12 athena kernel: [ 577.042684] thinkpad_acpi: unhandled HKEY event 0x60b1 Oct 12 15:10:12 athena kernel: [ 577.042687] thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-de...@lists.sourceforge.net Oct 12 15:10:12 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:12 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). Oct 12 15:10:14 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:14 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). Oct 12 15:10:14 athena dbus-daemon[7883]: [session uid=0 pid=7881] Activating service name='org.gnome.gedit' requested by ':1.0' (uid=0 pid=7869 comm="/usr/bin/nautilus --no-desktop file:///var/log ") Oct 12 15:10:14 athena dbus-daemon[7883]: [session uid=0 pid=7881] Successfully activated service 'org.gnome.gedit' Oct 12 15:10:16 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:16 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). Oct 12 15:10:18 athena cpufreqd: cpufreqd_set_profile : Couldn't set profile "On Demand High" set for cpu0 (3900000-390000-ondemand) Oct 12 15:10:18 athena cpufreqd: cpufreqd_loop : Cannot set policy, Rule unchanged ("none"). -----原始邮件----- 发件人:"Ritesh Raj Sarraf" <r...@debian.org> 发送时间:2017-10-09 21:13:18 (星期一) 收件人: wg...@china.com, 877...@bugs.debian.org 抄送: 主题: Re: Bug#877519: Re: Re: Re: Bug#877519: Bluetooth mouse suspend while using cell A simple power plug unplug will also do the same work. So you can try that. s3nt fr0m a $martph0ne, excuse typ0s On 09-Oct-2017 18:18, <wg...@china.com> wrote: Hi, I am so sorry for reply late. My bluetooth dongle is embedded, so I can not plug/unplug it for accquire the debug information. > -----原始邮件----- > 发件人: "Ritesh Raj Sarraf" <r...@debian.org> > 发送时间: 2017-10-06 16:24:33 (星期五) > 收件人: wg...@china.com > 抄送: 877...@bugs.debian.org > 主题: Re: Re: Re: Bug#877519: Bluetooth mouse suspend while using cell > > On Fri, 2017-10-06 at 15:07 +0800, wg...@china.com wrote: > > The device informations about bluetooth are list as below which got > > by lsusb -v. And I do not known how to get to debug information about > > laptop-mode-tools. > > You can set DEBUG=1 in /etc/laptop-mode/conf.d/runtime-pm.conf and then > restart laptop-mode-tools > > Then, you can plun/unplug your bluetooth dongle. After that, all logs > will be stored in syslog/journalctl, from which you'll need to extract > the relevant debug logs. > > HTH > > > -- > Ritesh Raj Sarraf | http://people.debian.org/~rrs > Debian - The Universal Operating System