SUMMARY Bluetooth mouse stops working after a while. Mouse is shown as connected, it set to trusted. Disconnect and reconnect does not help. Using bluetoothctl to disconnect and reconnect sometimes helps, but most often does not. STEPS TO REPRODUCE 1. Connect mouse 2. It works for a while 3. Than it does not work anymore. OBSERVED RESULT Not working after random time passes. EXPECTED RESULT Still working. Log: dec 27 21:36:16 xxx kernel: input: 400-MA102 Mouse as /devices/virtual/misc/uhid/0005:000D:0000.0043/input/input205 dec 27 21:36:16 xxx kernel: input: 400-MA102 Keyboard as /devices/virtual/misc/uhid/0005:000D:0000.0043/input/input206 dec 27 21:36:16 xxx kernel: input: 400-MA102 Consumer Control as /devices/virtual/misc/uhid/0005:000D:0000.0043/input/input207 dec 27 21:36:16 xxx kernel: hid-generic 0005:000D:0000.0043: input,hidraw10: BLUETOOTH HID v1.10 Mouse [400-MA102] on e0:d4:e8:11:50:52 bluetoothctl log: [400-MA102]# disconnect Attempting to disconnect from B4:BC:7C:2F:CF:A5 [CHG] Device B4:BC:7C:2F:CF:A5 ServicesResolved: no Successful disconnected [CHG] Device B4:BC:7C:2F:CF:A5 Connected: no [bluetooth]# connect B4:BC:7C:2F:CF:A5 Attempting to connect to B4:BC:7C:2F:CF:A5 [CHG] Device B4:BC:7C:2F:CF:A5 Connected: yes Connection successful [CHG] Device B4:BC:7C:2F:CF:A5 ServicesResolved: yes [CHG] Device B4:BC:7C:2F:CF:A5 ServicesResolved: no [CHG] Device B4:BC:7C:2F:CF:A5 Connected: no [CHG] Device B4:BC:7C:2F:CF:A5 Connected: yes [CHG] Device B4:BC:7C:2F:CF:A5 ServicesResolved: yes [CHG] Device B4:BC:7C:2F:CF:A5 ServicesResolved: no [CHG] Device B4:BC:7C:2F:CF:A5 Connected: no [CHG] Device B4:BC:7C:2F:CF:A5 Connected: yes [CHG] Device B4:BC:7C:2F:CF:A5 ServicesResolved: yes (still not working) SOFTWARE/OS VERSIONS Linux/KDE Plasma: Neon 20.04. (available in About. System) KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
not sure if this kernel crash is related: dec 27 21:43:34 xxx kernel: input: 400-MA102 Mouse as /devices/virtual/misc/uhid/0005:000D:0000.0044/input/input208 dec 27 21:43:34 xxx kernel: input: 400-MA102 Keyboard as /devices/virtual/misc/uhid/0005:000D:0000.0044/input/input209 dec 27 21:43:34 xxx kernel: input: 400-MA102 Consumer Control as /devices/virtual/misc/uhid/0005:000D:0000.0044/input/input210 dec 27 21:43:34 xxx kernel: hid-generic 0005:000D:0000.0044: input,hidraw10: BLUETOOTH HID v1.10 Mouse [400-MA102] on e0:d4:e8:11:50:52 dec 27 21:43:38 xxx kernel: ------------[ cut here ]------------ dec 27 21:43:38 xxx kernel: WARNING: CPU: 6 PID: 1136 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:1555 dcn20_program_front_end_for_ctx+0x574/0x580 [amdgpu] dec 27 21:43:38 xxx kernel: Modules linked in: rfcomm uhid cmac algif_hash algif_skcipher af_alg bnep binfmt_misc snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec iwlmvm snd_hda_core snd_hwdep soundwire_bus mac80211 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine libarc4 snd_pcm uvcvideo videobuf2_vmalloc edac_mce_amd videobuf2_memops btusb snd_seq_midi videobuf2_v4l2 btrtl snd_seq_midi_event btbcm videobuf2_common kvm_amd btintel videodev snd_rawmidi nls_iso8859_1 bluetooth iwlwifi kvm mc joydev snd_seq snd_seq_device input_leds ecdh_generic snd_timer cfg80211 serio_raw ecc asus_wmi hid_multitouch sparse_keymap wmi_bmof snd soundcore snd_rn_pci_acp3x ccp snd_pci_acp3x mac_hid sch_fq_codel msr parport_pc ppdev lp parport ip_tables x_tables autofs4 usbhidbtrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log hid_generic amdgpu dec 27 21:43:38 xxx kernel: amd_iommu_v2 gpu_sched i2c_algo_bit crct10dif_pclmul crc32_pclmul ttm ghash_clmulni_intel aesni_intel drm_kms_helper crypto_simd cryptd syscopyarea sysfillrect glue_helper sysimgblt fb_sys_fops cec rc_core ahci libahci drm nvme i2c_piix4 r8169 nvme_core realtek wmi video i2c_hid hid dec 27 21:43:38 xxx kernel: CPU: 6 PID: 1136 Comm: Xorg Tainted: G W 5.6.0-1036-oem #39-Ubuntu dec 27 21:43:38 xxx kernel: Hardware name: SLIMBOOK PROX14-AMD/PROX14-AMD, BIOS N.1.06GRP01 07/06/2020 dec 27 21:43:38 xxx kernel: RIP: 0010:dcn20_program_front_end_for_ctx+0x574/0x580 [amdgpu] dec 27 21:43:38 xxx kernel: Code: c0 74 cb 4c 89 e2 48 89 df e8 78 b7 4d dc eb be 49 8b 45 00 8b 90 e4 01 00 00 85 d2 75 d5 8b 86 4c 04 00 00 85 c0 75 cb eb a4 <0f> 0b e9 14 fb ff ff 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41 dec 27 21:43:38 xxx kernel: RSP: 0018:ffffab0e82083788 EFLAGS: 00010202 dec 27 21:43:38 xxx kernel: RAX: ffff9f9399191400 RBX: ffff9f9397cd0000 RCX: 000000000000000a dec 27 21:43:38 xxx kernel: RDX: 0000000000000001 RSI: 0000000000003adc RDI: ffff9f9396e80000 dec 27 21:43:38 xxx kernel: RBP: ffffab0e820837c0 R08: ffffab0e8208374c R09: 0000000000000002 dec 27 21:43:38 xxx kernel: R10: ffff9f90aac48800 R11: 0000000000000004 R12: ffff9f8f06740000 dec 27 21:43:38 xxx kernel: R13: ffff9f8f067401b8 R14: ffff9f8f06740660 R15: 0000000000000001 dec 27 21:43:38 xxx kernel: FS: 00007efff6d02a80(0000) GS:ffff9f93af780000(0000) knlGS:0000000000000000 dec 27 21:43:38 xxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 dec 27 21:43:38 xxx kernel: CR2: 00007eff8e0aefe0 CR3: 00000007d3800000 CR4: 0000000000340ee0 dec 27 21:43:38 xxx kernel: Call Trace: dec 27 21:43:38 xxx kernel: commit_planes_for_stream+0x61e/0xbd0 [amdgpu] dec 27 21:43:38 xxx kernel: ? resource_build_scaling_params+0x6f6/0x9b0 [amdgpu] dec 27 21:43:38 xxx kernel: dc_commit_updates_for_stream+0x135/0x270 [amdgpu] dec 27 21:43:38 xxx kernel: amdgpu_dm_commit_planes.constprop.0+0x894/0xb60 [amdgpu] dec 27 21:43:38 xxx kernel: amdgpu_dm_atomic_commit_tail+0xa17/0x11d0 [amdgpu] dec 27 21:43:38 xxx kernel: ? dcn20_get_dcc_compression_cap+0x23/0x30 [amdgpu] dec 27 21:43:38 xxx kernel: commit_tail+0x99/0x130 [drm_kms_helper] dec 27 21:43:38 xxx kernel: drm_atomic_helper_commit+0x123/0x150 [drm_kms_helper] dec 27 21:43:38 xxx kernel: amdgpu_dm_atomic_commit+0x95/0xa0 [amdgpu] dec 27 21:43:38 xxx kernel: drm_atomic_commit+0x4a/0x50 [drm] dec 27 21:43:38 xxx kernel: drm_mode_obj_set_property_ioctl+0x116/0x2d0 [drm] dec 27 21:43:38 xxx kernel: ? drm_mode_obj_find_prop_id+0x40/0x40 [drm] dec 27 21:43:38 xxx kernel: drm_ioctl_kernel+0xae/0xf0 [drm] dec 27 21:43:38 xxx kernel: drm_ioctl+0x234/0x3d0 [drm] dec 27 21:43:38 xxx kernel: ? drm_mode_obj_find_prop_id+0x40/0x40 [drm] dec 27 21:43:38 xxx kernel: ? __switch_to_asm+0x40/0x70 dec 27 21:43:38 xxx kernel: ? __switch_to_asm+0x34/0x70 dec 27 21:43:38 xxx kernel: amdgpu_drm_ioctl+0x4e/0x80 [amdgpu] dec 27 21:43:38 xxx kernel: ksys_ioctl+0x9d/0xd0 dec 27 21:43:38 xxx kernel: __x64_sys_ioctl+0x1a/0x20 dec 27 21:43:38 xxx kernel: do_syscall_64+0x57/0x1b0 dec 27 21:43:38 xxx kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9 dec 27 21:43:38 xxx kernel: RIP: 0033:0x7efff706450b dec 27 21:43:38 xxx kernel: Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48 dec 27 21:43:38 xxx kernel: RSP: 002b:00007ffef2b5b368 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 dec 27 21:43:38 xxx kernel: RAX: ffffffffffffffda RBX: 00007ffef2b5b3a0 RCX: 00007efff706450b dec 27 21:43:38 xxx kernel: RDX: 00007ffef2b5b3a0 RSI: 00000000c01864ba RDI: 000000000000000d dec 27 21:43:38 xxx kernel: RBP: 00000000c01864ba R08: 0000000000000045 R09: 00000000cccccccc dec 27 21:43:38 xxx kernel: R10: 000055e10e55d334 R11: 0000000000000246 R12: 000055e10c3163c0 dec 27 21:43:38 xxx kernel: R13: 000000000000000d R14: 0000000000000fff R15: 0000000000000003 dec 27 21:43:38 xxx kernel: ---[ end trace 9b8280e70a4f3f32 ]---
I'm fairly sure Bluedevil is not at fault here since it's not involved in the actual bluetooth mouse functionality. All it does is trigger the initial pairing, the rest is done by lower layers > not sure if this kernel crash is related This appears to be in the graphics driver, so most likely not related
Should I report this bug elsewhere? If so then where please?
OK, can you please change this bug to different component completely - I have now had the same situation with both a bluetooth and a USB dongle mouse. That means, this is not bluetooth related, but rather Plasma in general. I suspect it can be related to the kernel crashing bug shown above.
Also for the info: internal touchpad works and moves cursor around unaffected when no external mouse works.
If you;re on X11, then no KDE software is involved. Mouse input is handled by the X server and the Kernel. You'd probably need to file a kernel bug report.