Hard locks with r8723bs module enabled (cherry trail)

I have a Teclast X98 Pro tablet (Cherry Trail) with the latest version of Manjaro stable, kernel 6.6.8-2.

Everything works as expected (sleep, touch, sound, networking, screen orientation), except that when the module r8723bs is loaded, the tablet will hard lock randomy after a while. In addition, when using bluetooth, the screen jitters randomly.

Any suggestion would be welcome.

Impossible to say - realtek has a lot of variants - usually designed for Windows - with poor or no Linux support.

Is your system using the r8xxx kernel driver or a custom driver?

There is custom driver at AUR AUR (en) - r8723bs-git
And dkms based driver AUR (en) - 8723bs-git-dkms

Perhaps you can get some ideas using a generic search on the interweb

arch linux r8723bs - sx.nix.dk

Thanks for your reply. I am using the driver that comes from the kernel. The two AUR repos describe themselves as obsolete as the driver is now part of mainline.

I searched extensively in the interwebs, most of the results are from very old versions of the driver.

In dmesg:

[ 22.334823] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[ 23.361030] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[ 23.369477] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723bs_fw.bin
[ 23.371676] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723bs_config-OBDA8723.bin

after rmmodding and modprobing r8723bs again:

[12218.902971] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[12219.047643] rtl8723bs: probe of mmc1:0001:1 failed with error -22
[suspend/resume]
[12785.123066] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[12785.127512] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723bs_fw.bin
[12785.128288] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723bs_config-OBDA8723.bin

For what it is worth, here is what lspci tells me:

Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 20)

and cpuinfo

vendor_id : GenuineIntel
cpu family : 6
model : 76
model name : Intel(R) Atomâ„¢ x5-Z8500 CPU @ 1.44GHz
stepping : 3
microcode : 0x368

I guess I need to file a bugreport for the mainline kernel.