rtw88_8821ce: Bluetooth Mouse goes into connect/disconnect loop when Wifi disconnected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 22.04.01 / ASUS E410MA Laptop / Logitech MX Anywhere 2S mouse.
This problem occurs with the rtw88_8821ce driver
Workaround was to blacklist rtw88_8821ce and install rtl8821ce
When disconnecting from a WiFi network, or turning of WiFi altogether, or booting up at a location where there is no remembered WiFi connection, my bluetooth Logitech MX 2S freezes, then begins to rapidly disconnect/
root@ithaca:~ # uname -a
Linux ithaca 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC
2023 x86_64 x86_64 x86_64 GNU/Linux
root@ithaca:~ # inxi -EMN
Machine:
Type: Laptop System: ASUSTeK product: VivoBook_ASUS Laptop
E410MA_E410MA v: 1.0 serial: XXXXXXXXXXXXXXXX
Mobo: ASUSTeK model: E410MA v: 1.0 serial: XXXXXXXXXXXXXXXXXXX
UEFI: American Megatrends v: E410MA.302 date: 09/11/2020
Network:
Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
driver: rtw_8821ce
Bluetooth:
Device-1: IMC Networks Bluetooth Radio type: USB driver: btusb
Report: hciconfig ID: hci0 state: up address: 20:4E:XX:XX:XX:XX bt-v:
2.1
Output of running bluetoothctl while this happens:
root@
Agent registered
(At this point I disconnect WiFI. Mouse starts acting up immediately,
responding erratically, then about 10 seconds elapse, then the below
messages start)
[CHG] Device E4:3B:XX:XX:XX:XX ServicesResolved: no
[CHG] Device E4:3B:XX:XX:XX:XX Connected: yes
[CHG] Device E4:3B:XX:XX:XX:XX ServicesResolved: yes
[CHG] Device E4:3B:XX:XX:XX:XX ServicesResolved: no
[CHG] Device E4:3B:XX:XX:XX:XX Connected: yes
[CHG] Device E4:3B:XX:XX:XX:XX Connected: no
[CHG] Device E4:3B:XX:XX:XX:XX Connected: yes
[CHG] Device E4:3B:XX:XX:XX:XX Connected: no
(This goes on and on about 3 times a second until
I reconnect Wifi using the touchpad)
[CHG] Device E4:3B:XX:XX:XX:XX Connected: yes
[CHG] Device E4:3B:XX:XX:XX:XX Connected: no
[CHG] Device E4:3B:XX:XX:XX:XX Connected: yes
[CHG] Device E4:3B:XX:XX:XX:XX ServicesResolved: yes
[MX Anywhere 2S]#
[MX Anywhere 2S]#
kern.log messages while this happens:
< I disconnect from Wifi>
Feb 11 20:46:15 ithaca kernel: [ 3385.920613] wlo1: deauthenticating from de:5d:xx:xx:xx:xx by
local choice (Reason: 3=DEAUTH_LEAVING)
Feb 11 20:46:15 ithaca kernel: [ 3386.027110] rtw_8821ce 0000:02:00.0: sta de:5d:xx:xx:xx:xx
with macid 0 left
Feb 11 20:46:33 ithaca kernel: [ 3403.244131] input: MX Anywhere 2S Keyboard as /devices/
Feb 11 20:46:33 ithaca kernel: [ 3403.248887] input: MX Anywhere 2S Mouse as /devices/
Feb 11 20:46:33 ithaca kernel: [ 3403.249194] hid-generic 0005:046D:
Feb 11 20:46:57 ithaca kernel: [ 3427.685563] input: MX Anywhere 2S Keyboard as /devices/
Feb 11 20:46:57 ithaca kernel: [ 3427.686055] input: MX Anywhere 2S Mouse as /devices/
Feb 11 20:46:57 ithaca kernel: [ 3427.686305] hid-generic 0005:046D:
< I reconnect to Wifi>
Feb 11 20:47:10 ithaca kernel: [ 3440.394111] input: MX Anywhere 2S Keyboard as /devices/
Feb 11 20:47:10 ithaca kernel: [ 3440.399568] input: MX Anywhere 2S Mouse as /devices/
Feb 11 20:47:10 ithaca kernel: [ 3440.399889] hid-generic 0005:046D:
Feb 11 20:47:19 ithaca kernel: [ 3449.263587] wlo1: authenticate with de:5d:xx:xx:xx:xx
Feb 11 20:47:19 ithaca kernel: [ 3449.930945] wlo1: send auth to de:5d:xx:xx:xx:xx (try 1/3)
Feb 11 20:47:19 ithaca kernel: [ 3449.935512] wlo1: authenticated
Feb 11 20:47:19 ithaca kernel: [ 3449.939267] wlo1: associate with de:5d:xx:xx:xx:xx (try 1/3)
Feb 11 20:47:19 ithaca kernel: [ 3449.943365] wlo1: RX AssocResp from de:5d:xx:xx:xx:xx (capab=0x431 status=0 aid=2)
Feb 11 20:47:19 ithaca kernel: [ 3449.943395] rtw_8821ce 0000:02:00.0: sta de:5d:xx:xx:xx:xx joined with macid 0
Feb 11 20:47:19 ithaca kernel: [ 3449.943789] wlo1: associated
Feb 11 20:47:19 ithaca kernel: [ 3449.995269] IPv6: ADDRCONF(
Nothing logged in dmesg
After reconnecting WiFi, everything works OK again.
---
ProblemType: Bug
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/seq: kubuntu 1928 F.... pipewire
CRDA: N/A
CasperMD5CheckR
CasperVersion: 1.475
CurrentDesktop: KDE
DistroRelease: Ubuntu 22.10
LiveMediaBuild: Kubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: ASUSTeK COMPUTER INC. VivoBook_ASUS Laptop E410MA_E410MA
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220923.
Tags: kinetic
Uname: Linux 5.19.0-21-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/11/2020
dmi.bios.release: 5.13
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E410MA.302
dmi.board.
dmi.board.name: E410MA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: VivoBook
dmi.product.name: VivoBook_ASUS Laptop E410MA_E410MA
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.
changed package from bluez to linux and updated text