You are not logged in.

#26 2020-11-08 19:06:32

solino
Member
Registered: 2020-11-07
Posts: 3

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

I have the same issue since I've updated my laptop from kernel 5.8 to 5.9
[santi@santiago-hplaptop15seq0xxx ~]$ inxi -Fxxc0z --no-host
System:    Kernel: 5.9.6-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.20.2 tk: Qt 5.15.1 wm: kwin_x11
           dm: SDDM Distro: Archlinux
Machine:   Type: Laptop System: HP product: HP Laptop 15s-eq0xxx v: N/A serial: <filter> Chassis: type: 10 serial: <filter>
           Mobo: HP model: 86FD v: 99.36 serial: <filter> UEFI: AMI v: F.17 date: 04/13/2020
Battery:   ID-1: BAT0 charge: 28.7 Wh condition: 41.4/41.4 Wh (100%) volts: 11.5/11.3 model: Hewlett-Packard Primary
           serial: N/A status: Discharging
CPU:       Info: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen+ rev: 1
           L2 cache: 2048 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 33551
           Speed: 1222 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 1: 1230 2: 1229 3: 1277 4: 1260 5: 1230
           6: 1283 7: 1222 8: 1222
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 04:00.0
           chip ID: 1002:15d8
           Device-2: Luxvisions Innotech Limited type: USB driver: uvcvideo bus ID: 3-1.2:3 chip ID: 30c9:0013
           Display: x11 server: X.org 1.20.9 compositor: kwin_x11 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa
           resolution: <xdpyinfo missing>
           Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
           driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:15de
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard
           driver: N/A bus ID: 04:00.5 chip ID: 1022:15e2
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
           bus ID: 04:00.6 chip ID: 1022:15e3
           Sound Server: ALSA v: k5.9.6-arch1-1
Network:   Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: rtw_8822ce
           v: N/A port: f000 bus ID: 02:00.0 chip ID: 10ec:c822
           IF: wlan0 state: up mac: <filter>
Drives:    Local Storage: total: 476.94 GiB used: 251.83 GiB (52.8%)
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000H1 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4
           serial: <filter>
Partition: ID-1: / size: 29.40 GiB used: 17.73 GiB (60.3%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: /home size: 434.49 GiB used: 234.09 GiB (53.9%) fs: ext4 dev: /dev/nvme0n1p4
Swap:      ID-1: swap-1 type: partition size: 4.00 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
           Fan Speeds (RPM): N/A
Info:      Processes: 244 Uptime: 34m Memory: 9.71 GiB used: 1.77 GiB (18.3%) Init: systemd v: 246 Compilers: gcc: 10.2.0
           clang: 10.0.1 Packages: 1278 pacman: 1273 flatpak: 5 Shell: Bash v: 5.0.18 running in: yakuake inxi: 3.1.08

Offline

#27 2020-11-09 07:45:31

kdb424
Member
From: Pittsburgh PA, USA
Registered: 2013-05-26
Posts: 18
Website

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

I'm technically running artix, though I have managed to downgrade my kernel to this and get bluetooth back. It's not a good fix, but it did work. This also works on arch.
Linux amy 5.8.14-arch1-1 #1 SMP PREEMPT Wed, 07 Oct 2020 23:59:46 +0000 x86_64 GNU/Linux

Offline

#28 2020-11-11 20:06:21

apereirafernandez
Member
Registered: 2020-10-20
Posts: 21

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

no working neither in 5.9.8 ...

I was testing if it works with lts kernel and it does, the problem is that other problems appear since is a very new laptop... gotta stick to the linux kernel hoping the bluetooth problem gets fixed

Offline

#29 2020-11-15 15:40:03

thatsourabh
Member
Registered: 2020-11-15
Posts: 1

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

This issue also affects devices with ID 0bda:b00c on every 5.9 kernel.

Offline

#30 2020-11-19 15:43:07

solino
Member
Registered: 2020-11-07
Posts: 3

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Today I have updateted my kernel to 5.9.9-arch1-1 and the issue persist.
[santi@santiago-hplaptop15seq0xxx ~]$ uname -r
5.9.9-arch1-1
[santi@santiago-hplaptop15seq0xxx ~]$ bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]#

Offline

#31 2020-11-19 16:02:04

apereirafernandez
Member
Registered: 2020-10-20
Posts: 21

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

solino wrote:

Today I have updateted my kernel to 5.9.9-arch1-1 and the issue persist.
[santi@santiago-hplaptop15seq0xxx ~]$ uname -r
5.9.9-arch1-1
[santi@santiago-hplaptop15seq0xxx ~]$ bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]#

yeah... same here, not fixed in 5.9.9 ... I think we will have to wait until 5.10... hoping it gets fixed

Offline

#32 2020-11-19 18:05:30

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,276

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Is this related to https://bugzilla.kernel.org/show_bug.cgi?id=209403 and https://bugzilla.kernel.org/show_bug.cgi?id=209403 and https://bugzilla.kernel.org/show_bug.cgi?id=208765

Maybe adding some additional comments to one or other of these would be worth doing?

Last edited by mcloaked (2020-11-19 18:06:17)


Mike C

Offline

#33 2020-11-19 18:23:24

loqs
Member
Registered: 2014-03-06
Posts: 18,067

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Has everyone still affected tested https://marc.info/?l=linux-bluetooth&m= … 632366&w=2 from post #16 and it does not work for them?

Offline

#34 2020-11-20 01:33:22

apereirafernandez
Member
Registered: 2020-10-20
Posts: 21

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

mcloaked wrote:

Is this related to https://bugzilla.kernel.org/show_bug.cgi?id=209403 and https://bugzilla.kernel.org/show_bug.cgi?id=209403 and https://bugzilla.kernel.org/show_bug.cgi?id=208765

Maybe adding some additional comments to one or other of these would be worth doing?

my friend... from my understanding this issue is not related to any of those 3 you mention

Offline

#35 2020-11-20 01:36:11

apereirafernandez
Member
Registered: 2020-10-20
Posts: 21

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

loqs wrote:

Has everyone still affected tested https://marc.info/?l=linux-bluetooth&m= … 632366&w=2 from post #16 and it does not work for them?

I honestly tried but don't really know how to do complete it ... didn't made much effort since the patch is for another card

Offline

#36 2020-11-20 01:47:52

loqs
Member
Registered: 2014-03-06
Posts: 18,067

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

apereirafernandez wrote:
loqs wrote:

Has everyone still affected tested https://marc.info/?l=linux-bluetooth&m= … 632366&w=2 from post #16 and it does not work for them?

I honestly tried but don't really know how to do complete it ... didn't made much effort since the patch is for another card

After obtaining the PKGBUILD you add the patch to the source and checksum arrays with the following change:

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index ef27b86..607e6e2 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -19,6 +19,7 @@ source=(
   "$_srcname::git+https://git.archlinux.org/linux.git?signed#tag=$_srctag"
   config         # the main kernel config file
   sphinx-workaround.patch
+  'bluetooth.patch::https://marc.info/?l=linux-bluetooth&m=160378222632366&q=mbox'
 )
 validpgpkeys=(
   'ABAF11C65A2970B130ABE3C479BE3E4300411886'  # Linus Torvalds
@@ -27,7 +28,8 @@ validpgpkeys=(
 )
 sha256sums=('SKIP'
             '958333f18de79c19ccf9eccb4e16e2a217a0619a1d96c2c65ccba23628815bab'
-            '8cb21e0b3411327b627a9dd15b8eb773295a0d2782b1a41b2a8839d1b2f5778c')
+            '8cb21e0b3411327b627a9dd15b8eb773295a0d2782b1a41b2a8839d1b2f5778c'
+            'e60dcd8bd6d43ebca2dd5393540c1246bbe3709d636d865a7dd0a80a62f28a52')
 
 export KBUILD_BUILD_HOST=archlinux
 export KBUILD_BUILD_USER=$pkgbase

The linux PKGBUILD will apply the patch without further changes.  Then build the package,  which can take hours.
You can also try linux-mainline Unofficial_user_repositories#miffe to see if 5.10-rc4 has fixed the issue.

Offline

#37 2020-11-20 07:05:41

depeo
Member
Registered: 2020-11-19
Posts: 15

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Not fixed in linux-5.10-rc4

# ~/D/linux-5.10-rc4> grep '35] & 0x40) {' net/bluetooth/hci_core.c
		if (hdev->commands[35] & 0x40) 
loqs wrote:

You can also try linux-mainline Unofficial_user_repositories#miffe to see if 5.10-rc4 has fixed the issue.

Offline

#38 2020-11-20 12:51:46

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,276

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

apereirafernandez wrote:
mcloaked wrote:

Is this related to https://bugzilla.kernel.org/show_bug.cgi?id=209403 and https://bugzilla.kernel.org/show_bug.cgi?id=209403 and https://bugzilla.kernel.org/show_bug.cgi?id=208765

Maybe adding some additional comments to one or other of these would be worth doing?

my friend... from my understanding this issue is not related to any of those 3 you mention

OK - thanks - I have submitted a new report at https://bugzilla.kernel.org/show_bug.cgi?id=210279


Mike C

Offline

#39 2020-11-20 16:26:24

depeo
Member
Registered: 2020-11-19
Posts: 15

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

I tested the patch now, and bluetooth is working again! smile

Linux x 5.9.9-arch1-1-btfix #1 SMP PREEMPT Fri, 20 Nov 2020 15:47:08 +0000 x86_64 GNU/Linux

Last edited by depeo (2020-11-20 16:29:24)

Offline

#40 2020-11-20 16:36:35

apereirafernandez
Member
Registered: 2020-10-20
Posts: 21

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

depeo wrote:

I tested the patch now, and bluetooth is working again! smile

is your card the rtl8822ce?

Offline

#41 2020-11-20 16:50:28

depeo
Member
Registered: 2020-11-19
Posts: 15

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

It's realtek chip, but different number, but the bug affects several different controllers.

apereirafernandez wrote:

is your card the rtl8822ce?

Offline

#42 2020-11-21 15:13:08

svrmirac
Member
Registered: 2017-08-04
Posts: 15

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

loqs wrote:

Has everyone still affected tested https://marc.info/?l=linux-bluetooth&m= … 632366&w=2 from post #16 and it does not work for them?

Tried this patch and got BT working, with rtl8822ce.

Do you have any idea when this will be added to the "default" kernel.

Is this is good enough to mark the thread as solved?

Offline

#43 2020-11-21 16:28:14

loqs
Member
Registered: 2014-03-06
Posts: 18,067

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

There has been no response to the mailing list post of the patch.  Once it is accepted into someones tree it will become easier to guess which kernel the patch will land in.
Edit:
It is your choice when to mark the thread solved.

Last edited by loqs (2020-11-21 16:29:22)

Offline

#44 2020-11-22 21:19:50

navtey
Member
Registered: 2020-09-30
Posts: 4

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

Hello, So today I downloaded source code of Linux from kernel.org , extracted it and then changed that buggy line in net/bluetooth/hci_core.c line 766

change it from     if (hdev->commands[35] & 0x40) {
to                          if (hdev->commands[35] & 0x04) {

now follow guide at https://wiki.archlinux.org/index.php/Ke … ompilation   
I didn't use build system because of too  much to download and i can't do it for now.

I can use my card now, and it works well <3 much smoother , Have fun.

Last edited by navtey (2020-11-22 21:20:33)

Offline

#45 2020-11-25 05:40:19

depeo
Member
Registered: 2020-11-19
Posts: 15

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

The patch isn't needed in 5.9.11 (at least for me) A bit weird since i don't see anything about it in the changelog.

Last edited by depeo (2020-11-25 05:59:14)

Offline

#46 2020-11-25 13:44:25

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,276

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

It seems that the patch is being followed up - and there was an additional comment by one of the developers on the patch that you can follow at https://patches.linaro.org/patch/310710/ so hopefully this will get into the kernel tree before too long.


Mike C

Offline

#47 2020-11-25 14:03:28

apereirafernandez
Member
Registered: 2020-10-20
Posts: 21

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

depeo wrote:

The patch isn't needed in 5.9.11 (at least for me) A bit weird since i don't see anything about it in the changelog.

The patch is not implemented in 5.9.11... I still have the same problem with bluetooth in 5.9.11, maybe you had another problem not related with this rlt8822ce, glad to hear it's working for you now

Last edited by apereirafernandez (2020-11-25 14:06:31)

Offline

#48 2020-11-25 17:24:48

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,276

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

The patch has now been applied in the bluetooth next tree - https://git.kernel.org/pub/scm/linux/ke … -next.git/


Mike C

Offline

#49 2020-11-25 22:10:12

apereirafernandez
Member
Registered: 2020-10-20
Posts: 21

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

mcloaked wrote:

The patch has now been applied in the bluetooth next tree - https://git.kernel.org/pub/scm/linux/ke … -next.git/

so it is expected to be in 5.10?

Offline

#50 2020-11-25 22:50:08

loqs
Member
Registered: 2014-03-06
Posts: 18,067

Re: [SOLVED] Bluetooth not working with rtl8822ce and kernel 5.9.1

apereirafernandez wrote:
mcloaked wrote:

The patch has now been applied in the bluetooth next tree - https://git.kernel.org/pub/scm/linux/ke … -next.git/

so it is expected to be in 5.10?

It was added to the -next tree after Linus had completed all the feature pulls and tagged 5.10-rc1 so unless it part of a fix pull request it will be part of 5.11 then back-ported to 5.10.Y stable series.
It could be added to the Arch linux package before that,  open a bug request on the Arch bug tracker or talk to heftig on IRC.

Offline

Board footer

Powered by FluxBB