* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
@ 2020-10-04 13:41 ` bugzilla-daemon
2020-10-11 6:51 ` bugzilla-daemon
` (31 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-04 13:41 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
julian@blk9.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julian@blk9.net
--- Comment #3 from julian@blk9.net ---
This problem is affecting multiple users on ubuntu:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1887968
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
2020-10-04 13:41 ` [Bug 208965] " bugzilla-daemon
@ 2020-10-11 6:51 ` bugzilla-daemon
2020-10-21 18:14 ` bugzilla-daemon
` (30 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-11 6:51 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #4 from Jonathan L. Komar (komar.jonathan@gmail.com) ---
Huawei Matebook 13 2020 AMD running the 5.8.13-zen1-2-zen kernel on Arch Linux.
Same problem. I added myself to the mailing list.
RTL8822CE 802.11ac PCIe Wireless Network Adapter
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
2020-10-04 13:41 ` [Bug 208965] " bugzilla-daemon
2020-10-11 6:51 ` bugzilla-daemon
@ 2020-10-21 18:14 ` bugzilla-daemon
2020-10-23 9:50 ` bugzilla-daemon
` (29 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-21 18:14 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
david.zakarias@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david.zakarias@gmail.com
--- Comment #6 from david.zakarias@gmail.com ---
Same problem here on Redmibook 16, RTL8822CE, with Microsoft Modern Mobile
Mouse.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (2 preceding siblings ...)
2020-10-21 18:14 ` bugzilla-daemon
@ 2020-10-23 9:50 ` bugzilla-daemon
2020-10-23 9:52 ` bugzilla-daemon
` (28 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-23 9:50 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #7 from julian@blk9.net ---
On my machine (Huawei Matebook 13 2020 AMD), the btrtl driver does not seem to
be used at all (btusb is used instead). The bluetooth device seem to use the
1358:c123 USB identifiers which are not listed in the blacklist table of
drivers/bluetooth/btusb.c. Could this be the problem ?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (3 preceding siblings ...)
2020-10-23 9:50 ` bugzilla-daemon
@ 2020-10-23 9:52 ` bugzilla-daemon
2020-10-23 22:00 ` bugzilla-daemon
` (27 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-23 9:52 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #8 from julian@blk9.net ---
Note that other RTL8822CE devices with different USB vendor/device IDs are
present in the blacklist table.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (4 preceding siblings ...)
2020-10-23 9:52 ` bugzilla-daemon
@ 2020-10-23 22:00 ` bugzilla-daemon
2020-10-24 7:49 ` bugzilla-daemon
` (26 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-23 22:00 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #9 from julian@blk9.net ---
I've patched my kernel to add the missing USB identifier and that seem to have
solved the issue. I can now properly pair with a bluetooth mouse.
My dmesg now shows firmware files being loaded for the device:
[ 5.909847] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c
lmp_ver=0
a lmp_subver=8822
[ 5.912751] Bluetooth: hci0: RTL: rom_version status=0 version=3
[ 5.912754] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin
[ 5.918147] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin
[ 5.918282] Bluetooth: hci0: RTL: cfg_sz 6, total sz 31422
What's the right way to go about this ? Should I submit my patch upstream ?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (5 preceding siblings ...)
2020-10-23 22:00 ` bugzilla-daemon
@ 2020-10-24 7:49 ` bugzilla-daemon
2020-10-24 9:02 ` bugzilla-daemon
` (25 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-24 7:49 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #10 from david.zakarias@gmail.com ---
My device ID as shown by lsusb:
Bus 001 Device 002: ID 0cb5:c547 Realtek Bluetooth Radio
Both btusb and btrtl is loaded but I do not see the rtl8822 firmware being
loaded in the dmesg output.
The wifi part of the chip works fine.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (6 preceding siblings ...)
2020-10-24 7:49 ` bugzilla-daemon
@ 2020-10-24 9:02 ` bugzilla-daemon
2020-10-24 17:34 ` bugzilla-daemon
` (24 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-24 9:02 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #11 from julian@blk9.net ---
I’ve submitted this patch to the linux-bluetooth mailing list:
https://patchwork.kernel.org/project/bluetooth/patch/20201023231748.56519-1-julian@pidancet.net/
David, i suggest you try to apply the same patch to your system, changing the
USB IDs to what you’re seeing, and see if that solves your issue.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (7 preceding siblings ...)
2020-10-24 9:02 ` bugzilla-daemon
@ 2020-10-24 17:34 ` bugzilla-daemon
2020-10-25 12:47 ` bugzilla-daemon
` (23 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-24 17:34 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #12 from Vladislav Smirnov (beluckydaf@gmail.com) ---
(In reply to julian from comment #11)
> I’ve submitted this patch to the linux-bluetooth mailing list:
> https://patchwork.kernel.org/project/bluetooth/patch/20201023231748.56519-1-
> julian@pidancet.net/
>
> David, i suggest you try to apply the same patch to your system, changing
> the USB IDs to what you’re seeing, and see if that solves your issue.
This is indeed the solution. Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (8 preceding siblings ...)
2020-10-24 17:34 ` bugzilla-daemon
@ 2020-10-25 12:47 ` bugzilla-daemon
2020-10-25 14:11 ` bugzilla-daemon
` (22 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-25 12:47 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #13 from david.zakarias@gmail.com ---
I tried what Julian did, but things do not work.
hciconfig hci0 shows:
hci0: Type: Primary Bus: USB
BD Address: 80:30:49:1B:82:2C ACL MTU: 1021:6 SCO MTU: 255:12
DOWN
RX bytes:2068 acl:0 sco:0 events:189 errors:0
TX bytes:32660 acl:0 sco:0 commands:189 errors:0
If I start btmon, and do sudo hciconfig hci0 up, there's a huge amount of
output, and an error at the end:
< HCI Command: LE Clear White List (0x08|0x0010) plen 0 #59 [hci0] 38.597768
> HCI Event: Command Complete (0x0e) plen 4 #60 [hci0] 38.599898
LE Clear White List (0x08|0x0010) ncmd 2
Status: Success (0x00)
< HCI Command: LE Set Resolvable P.. (0x08|0x002e) plen 2 #61 [hci0] 38.600001
Timeout: 900 seconds
> HCI Event: Command Complete (0x0e) plen 4 #62 [hci0] 38.601954
LE Set Resolvable Private Address Timeout (0x08|0x002e) ncmd 2
Status: Unsupported Remote Feature / Unsupported LMP Feature (0x1a)
I'm stuck, any ideas?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (9 preceding siblings ...)
2020-10-25 12:47 ` bugzilla-daemon
@ 2020-10-25 14:11 ` bugzilla-daemon
2020-10-25 17:02 ` bugzilla-daemon
` (21 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-25 14:11 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #16 from david.zakarias@gmail.com ---
Also, in a sense the patch worked, as the firmware is now loaded on boot. But
that's the only positive thing about it, as no (remote) devices are visible and
it's impossible to bring hci0 up because of the error above.
Without the patch, the firmware is not loaded, remote devices ARE visible, but
when I try connecting, it disconnects instantly, same
org.bluez.Error.AuthenticationCanceled error as what OP is seeing.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (10 preceding siblings ...)
2020-10-25 14:11 ` bugzilla-daemon
@ 2020-10-25 17:02 ` bugzilla-daemon
2020-10-26 8:37 ` bugzilla-daemon
` (20 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-25 17:02 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #17 from fakecop (fakecop@yandex.ru) ---
(In reply to julian from comment #11)
> I’ve submitted this patch to the linux-bluetooth mailing list:
> https://patchwork.kernel.org/project/bluetooth/patch/20201023231748.56519-1-
> julian@pidancet.net/
>
> David, i suggest you try to apply the same patch to your system, changing
> the USB IDs to what you’re seeing, and see if that solves your issue.
Hi, Julian, help me pls, how to apply your patch?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (11 preceding siblings ...)
2020-10-25 17:02 ` bugzilla-daemon
@ 2020-10-26 8:37 ` bugzilla-daemon
2020-10-27 8:34 ` bugzilla-daemon
` (19 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-26 8:37 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #19 from Niklas Frank (niklas97.nf@googlemail.com) ---
(In reply to david.zakarias from comment #13)
> I tried what Julian did, but things do not work.
>
> hciconfig hci0 shows:
>
> hci0: Type: Primary Bus: USB
> BD Address: 80:30:49:1B:82:2C ACL MTU: 1021:6 SCO MTU: 255:12
> DOWN
> RX bytes:2068 acl:0 sco:0 events:189 errors:0
> TX bytes:32660 acl:0 sco:0 commands:189 errors:0
>
> If I start btmon, and do sudo hciconfig hci0 up, there's a huge amount of
> output, and an error at the end:
>
> < HCI Command: LE Clear White List (0x08|0x0010) plen 0 #59 [hci0]
> 38.597768
> > HCI Event: Command Complete (0x0e) plen 4 #60 [hci0]
> 38.599898
> LE Clear White List (0x08|0x0010) ncmd 2
> Status: Success (0x00)
> < HCI Command: LE Set Resolvable P.. (0x08|0x002e) plen 2 #61 [hci0]
> 38.600001
> Timeout: 900 seconds
> > HCI Event: Command Complete (0x0e) plen 4 #62 [hci0]
> 38.601954
> LE Set Resolvable Private Address Timeout (0x08|0x002e) ncmd 2
> Status: Unsupported Remote Feature / Unsupported LMP Feature (0x1a)
>
>
> I'm stuck, any ideas?
Hi,
I got a similar error.
I have a Huawei Matebook 14 2020 with Ryzen 4600H and the same RTL8822CE.
lsusb shows the following:
Bus 003 Device 002: ID 1358:c123 Realtek Bluetooth Radio
I applied Julians Kernel patch and can see that the firmware is loaded during
boot, but bluez does not detect the controller.
dmesg | grep -i bluetooth:
[ 1.720939] usb 3-3: Product: Bluetooth Radio
[ 3.962354] Bluetooth: Core ver 2.22
[ 3.962376] Bluetooth: HCI device and connection manager initialized
[ 3.962380] Bluetooth: HCI socket layer initialized
[ 3.962382] Bluetooth: L2CAP socket layer initialized
[ 3.962385] Bluetooth: SCO socket layer initialized
[ 4.091974] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c
lmp_ver=0a lmp_subver=8822
[ 4.093982] Bluetooth: hci0: RTL: rom_version status=0 version=3
[ 4.093985] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin
[ 4.094858] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin
[ 4.094926] Bluetooth: hci0: RTL: cfg_sz 6, total sz 31422
[ 4.196048] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.196051] Bluetooth: BNEP filters: protocol multicast
[ 4.196057] Bluetooth: BNEP socket layer initialized
[ 4.371968] Bluetooth: hci0: RTL: fw version 0x09993aa1
Trying to bring the device up via 'hciconfig hci0 up' gives me the following
error message:
Can't init device hci0: Protocol not supported (93)`
Does anyone have any Ideas what I can do to get this working?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (12 preceding siblings ...)
2020-10-26 8:37 ` bugzilla-daemon
@ 2020-10-27 8:34 ` bugzilla-daemon
2020-10-27 8:58 ` bugzilla-daemon
` (18 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-27 8:34 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #23 from Niklas Frank (niklas97.nf@googlemail.com) ---
Too bad..
As you, Julian, are the one who has been able to fix the problem for at least
some people, do you have any Idea what David and I might try out to get
Bluetooth working for our devices as well?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (13 preceding siblings ...)
2020-10-27 8:34 ` bugzilla-daemon
@ 2020-10-27 8:58 ` bugzilla-daemon
2020-10-27 16:39 ` bugzilla-daemon
` (17 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-27 8:58 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #24 from julian@blk9.net ---
I must admit I am clueless...
We should probably start by comparing Laptop models and distro used to see if a
pattern emerges.
I’m running Ubuntu 20.04 on a Huawei Matebook 13 AMD 2020 laptop. I’ve applied
my patch on top of the 5.4.0 Ubuntu kernel
(linux-image-unsigned-5.4.0-52-generic). I’m happy to share the .deb files if
someone wants to give it a try.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (14 preceding siblings ...)
2020-10-27 8:58 ` bugzilla-daemon
@ 2020-10-27 16:39 ` bugzilla-daemon
2020-10-28 12:56 ` bugzilla-daemon
` (16 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-27 16:39 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
Edward Vear (edwardvear@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |edwardvear@gmail.com
--- Comment #25 from Edward Vear (edwardvear@gmail.com) ---
(In reply to david.zakarias from comment #20)
> Is it possible that a newer firmware fixes the problem? I also have version
> 0x09993aa1.
> Julian what version do you have?
Hi David,
I ran into the same Set Resolvable Private Address error with my adapter, an
rtl8761b. I submitted a patch here with my understanding of the issue:
https://marc.info/?l=linux-bluetooth&m=160378222632366&w=2. Could you check to
see if that patch helps?
I don't believe it is related to the original issue seen in this thread though.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (15 preceding siblings ...)
2020-10-27 16:39 ` bugzilla-daemon
@ 2020-10-28 12:56 ` bugzilla-daemon
2020-10-28 14:47 ` bugzilla-daemon
` (15 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-28 12:56 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #28 from waffen03@gmail.com ---
(In reply to Edward Vear from comment #25)
> (In reply to david.zakarias from comment #20)
> > Is it possible that a newer firmware fixes the problem? I also have version
> > 0x09993aa1.
> > Julian what version do you have?
>
> Hi David,
>
> I ran into the same Set Resolvable Private Address error with my adapter, an
> rtl8761b. I submitted a patch here with my understanding of the issue:
> https://marc.info/?l=linux-bluetooth&m=160378222632366&w=2. Could you check
> to see if that patch helps?
>
> I don't believe it is related to the original issue seen in this thread
> though.
I had the same problem, patch worked for me. Thank you! Can confirm it now
works on 5.9.1.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (16 preceding siblings ...)
2020-10-28 12:56 ` bugzilla-daemon
@ 2020-10-28 14:47 ` bugzilla-daemon
2020-10-28 20:37 ` bugzilla-daemon
` (14 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-28 14:47 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #29 from Niklas Frank (niklas97.nf@googlemail.com) ---
(In reply to Edward Vear from comment #25)
> (In reply to david.zakarias from comment #20)
> > Is it possible that a newer firmware fixes the problem? I also have version
> > 0x09993aa1.
> > Julian what version do you have?
>
> Hi David,
>
> I ran into the same Set Resolvable Private Address error with my adapter, an
> rtl8761b. I submitted a patch here with my understanding of the issue:
> https://marc.info/?l=linux-bluetooth&m=160378222632366&w=2. Could you check
> to see if that patch helps?
>
> I don't believe it is related to the original issue seen in this thread
> though.
Thanks alot! I am now able to connect to my Bluetooth mouse!
Although I notice that the bluetooth adapter still behaves weird. It sometimes
simply stops working and I have to unload and load the `btusb` kernel module to
get the adapter working again.
As for Distro/Kernel Version: I am using Manjaro and I have applied the patches
on top of Kernel 5.9.3
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (17 preceding siblings ...)
2020-10-28 14:47 ` bugzilla-daemon
@ 2020-10-28 20:37 ` bugzilla-daemon
2020-10-28 21:56 ` bugzilla-daemon
` (13 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-28 20:37 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #30 from fakecop (fakecop@yandex.ru) ---
(In reply to Niklas Frank from comment #29)
> (In reply to Edward Vear from comment #25)
> > (In reply to david.zakarias from comment #20)
> > > Is it possible that a newer firmware fixes the problem? I also have
> version
> > > 0x09993aa1.
> > > Julian what version do you have?
> >
> > Hi David,
> >
> > I ran into the same Set Resolvable Private Address error with my adapter,
> an
> > rtl8761b. I submitted a patch here with my understanding of the issue:
> > https://marc.info/?l=linux-bluetooth&m=160378222632366&w=2. Could you check
> > to see if that patch helps?
> >
> > I don't believe it is related to the original issue seen in this thread
> > though.
>
> Thanks alot! I am now able to connect to my Bluetooth mouse!
>
> Although I notice that the bluetooth adapter still behaves weird. It
> sometimes simply stops working and I have to unload and load the `btusb`
> kernel module to get the adapter working again.
>
> As for Distro/Kernel Version: I am using Manjaro and I have applied the
> patches on top of Kernel 5.9.3
Hi, please tell me how you managed to apply the patch??
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (18 preceding siblings ...)
2020-10-28 20:37 ` bugzilla-daemon
@ 2020-10-28 21:56 ` bugzilla-daemon
2020-10-29 7:16 ` bugzilla-daemon
` (12 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-28 21:56 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #31 from waffen03@gmail.com ---
(In reply to fakecop from comment #30)
> (In reply to Niklas Frank from comment #29)
> > (In reply to Edward Vear from comment #25)
> > > (In reply to david.zakarias from comment #20)
> > > > Is it possible that a newer firmware fixes the problem? I also have
> > version
> > > > 0x09993aa1.
> > > > Julian what version do you have?
> > >
> > > Hi David,
> > >
> > > I ran into the same Set Resolvable Private Address error with my adapter,
> > an
> > > rtl8761b. I submitted a patch here with my understanding of the issue:
> > > https://marc.info/?l=linux-bluetooth&m=160378222632366&w=2. Could you
> check
> > > to see if that patch helps?
> > >
> > > I don't believe it is related to the original issue seen in this thread
> > > though.
> >
> > Thanks alot! I am now able to connect to my Bluetooth mouse!
> >
> > Although I notice that the bluetooth adapter still behaves weird. It
> > sometimes simply stops working and I have to unload and load the `btusb`
> > kernel module to get the adapter working again.
> >
> > As for Distro/Kernel Version: I am using Manjaro and I have applied the
> > patches on top of Kernel 5.9.3
>
> Hi, please tell me how you managed to apply the patch??
> Thanks
You need the source code to compile a modified kernel. If you have it you could
just go in and edit the file in question manually (net/bluetooth/hci_core.c) or
apply the patch with the patch command if you find it easier.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (19 preceding siblings ...)
2020-10-28 21:56 ` bugzilla-daemon
@ 2020-10-29 7:16 ` bugzilla-daemon
2020-11-09 16:55 ` bugzilla-daemon
` (11 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-10-29 7:16 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #32 from Niklas Frank (niklas97.nf@googlemail.com) ---
(In reply to fakecop from comment #30)
> (In reply to Niklas Frank from comment #29)
> > (In reply to Edward Vear from comment #25)
> > > (In reply to david.zakarias from comment #20)
> > > > Is it possible that a newer firmware fixes the problem? I also have
> > version
> > > > 0x09993aa1.
> > > > Julian what version do you have?
> > >
> > > Hi David,
> > >
> > > I ran into the same Set Resolvable Private Address error with my adapter,
> > an
> > > rtl8761b. I submitted a patch here with my understanding of the issue:
> > > https://marc.info/?l=linux-bluetooth&m=160378222632366&w=2. Could you
> check
> > > to see if that patch helps?
> > >
> > > I don't believe it is related to the original issue seen in this thread
> > > though.
> >
> > Thanks alot! I am now able to connect to my Bluetooth mouse!
> >
> > Although I notice that the bluetooth adapter still behaves weird. It
> > sometimes simply stops working and I have to unload and load the `btusb`
> > kernel module to get the adapter working again.
> >
> > As for Distro/Kernel Version: I am using Manjaro and I have applied the
> > patches on top of Kernel 5.9.3
>
> Hi, please tell me how you managed to apply the patch??
> Thanks
Hi,
are you on Manjaro as well?
As Julian already said, there is information available online on how to compile
your specific distros kernel. Just do a quick google search, read the
instructions, make sure you understand what the commands are doing, and follow
the steps.
If you are on manjaro as well, have a look at the following forum post:
https://forum.manjaro.org/t/how-to-compile-patch-kernel-with-custom-alsa-driver/20326
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (20 preceding siblings ...)
2020-10-29 7:16 ` bugzilla-daemon
@ 2020-11-09 16:55 ` bugzilla-daemon
2020-11-21 15:18 ` bugzilla-daemon
` (10 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-11-09 16:55 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #34 from fakecop (fakecop@yandex.ru) ---
Thanks very match, sorry my bad English.
I am used arch linux and my mouse work now!!
1). I'm download source code linux (version 5.9.6)
2). Insert in PKGBUILD two patchs: onw from julian and two from Edward (thanks
guys, good job)
3). Build kernel and install.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (21 preceding siblings ...)
2020-11-09 16:55 ` bugzilla-daemon
@ 2020-11-21 15:18 ` bugzilla-daemon
2020-11-26 18:44 ` bugzilla-daemon
` (9 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-11-21 15:18 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
Francois B (Makoto) (francois@makotonoblog.be) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |francois@makotonoblog.be
--- Comment #38 from Francois B (Makoto) (francois@makotonoblog.be) ---
(In reply to julian from comment #24)
> I must admit I am clueless...
>
> We should probably start by comparing Laptop models and distro used to see
> if a pattern emerges.
>
> I’m running Ubuntu 20.04 on a Huawei Matebook 13 AMD 2020 laptop. I’ve
> applied my patch on top of the 5.4.0 Ubuntu kernel
> (linux-image-unsigned-5.4.0-52-generic). I’m happy to share the .deb files
> if someone wants to give it a try.
It could be great if you can share your deb file. Thanks a lot :)
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (22 preceding siblings ...)
2020-11-21 15:18 ` bugzilla-daemon
@ 2020-11-26 18:44 ` bugzilla-daemon
2020-11-28 18:59 ` bugzilla-daemon
` (8 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-11-26 18:44 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
Steeve McCauley (steeve.mccauley@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steeve.mccauley@gmail.com
--- Comment #39 from Steeve McCauley (steeve.mccauley@gmail.com) ---
Also confirming that the patch works for the realtek 8761b usb bluetooth
adaptor, on all 5.9.x kernels I've patched and tested, including some fedora
kernels,
cd
~/rpmbuild/BUILD/kernel-5.9.fc32/linux-5.9.8-100.fc32.x86_64/net/bluetooth/
$ diff -u hci_core.c~ hci_core.c
--- hci_core.c~ 2020-11-17 16:36:11.387834274 -0500
+++ hci_core.c 2020-11-26 06:35:22.422411928 -0500
@@ -763,7 +763,7 @@
hci_req_add(req, HCI_OP_LE_CLEAR_RESOLV_LIST, 0, NULL);
}
- if (hdev->commands[35] & 0x40) {
+ if (hdev->commands[35] & 0x04) {
__le16 rpa_timeout = cpu_to_le16(hdev->rpa_timeout);
/* Set RPA timeout */
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (23 preceding siblings ...)
2020-11-26 18:44 ` bugzilla-daemon
@ 2020-11-28 18:59 ` bugzilla-daemon
2020-12-02 14:05 ` bugzilla-daemon
` (7 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-11-28 18:59 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #40 from devsk (funtoos@yahoo.com) ---
(In reply to Steeve McCauley from comment #39)
> Also confirming that the patch works for the realtek 8761b usb bluetooth
> adaptor, on all 5.9.x kernels I've patched and tested, including some fedora
> kernels,
>
> cd
> ~/rpmbuild/BUILD/kernel-5.9.fc32/linux-5.9.8-100.fc32.x86_64/net/bluetooth/
> $ diff -u hci_core.c~ hci_core.c
> --- hci_core.c~ 2020-11-17 16:36:11.387834274 -0500
> +++ hci_core.c 2020-11-26 06:35:22.422411928 -0500
> @@ -763,7 +763,7 @@
> hci_req_add(req, HCI_OP_LE_CLEAR_RESOLV_LIST, 0, NULL);
> }
>
> - if (hdev->commands[35] & 0x40) {
> + if (hdev->commands[35] & 0x04) {
> __le16 rpa_timeout = cpu_to_le16(hdev->rpa_timeout);
>
> /* Set RPA timeout */
This patch does not resolve the issue of suspend/resume cycle leading to
disconnected USB device and hence requiring reboot to get the bluetooth adapter
back. https://bugzilla.kernel.org/show_bug.cgi?id=210141
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (24 preceding siblings ...)
2020-11-28 18:59 ` bugzilla-daemon
@ 2020-12-02 14:05 ` bugzilla-daemon
2020-12-11 12:00 ` bugzilla-daemon
` (6 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-12-02 14:05 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
Olivier V (forum.viennet@free.fr) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |forum.viennet@free.fr
--- Comment #41 from Olivier V (forum.viennet@free.fr) ---
Bug affects rtl8822cu too (and not only rtl8822ce)
meloli@Asus-A17:~$ lsusb
Bus 005 Device 002: ID 13d3:3548 IMC Networks Bluetooth Radio
Bug report for this device here :
https://bugzilla.kernel.org/show_bug.cgi?id=210453
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (25 preceding siblings ...)
2020-12-02 14:05 ` bugzilla-daemon
@ 2020-12-11 12:00 ` bugzilla-daemon
2020-12-11 18:44 ` bugzilla-daemon
` (5 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-12-11 12:00 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #43 from Maksim Moskalik (gravelandmp3@yandex.ru) ---
I checked on kernel 5.9.12 Ubuntu 20.04 Huawei amd D13, problem not solved
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (26 preceding siblings ...)
2020-12-11 12:00 ` bugzilla-daemon
@ 2020-12-11 18:44 ` bugzilla-daemon
2020-12-12 1:00 ` bugzilla-daemon
` (4 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-12-11 18:44 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #44 from Olivier V (forum.viennet@free.fr) ---
I'm happy for you and your rtl8822ce firmware...
But still bluetooth not working for rtl8822cu in 5.9.12.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (27 preceding siblings ...)
2020-12-11 18:44 ` bugzilla-daemon
@ 2020-12-12 1:00 ` bugzilla-daemon
2020-12-12 6:24 ` bugzilla-daemon
` (3 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-12-12 1:00 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
Luis (lcarmona@openpartner.cl) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lcarmona@openpartner.cl
--- Comment #45 from Luis (lcarmona@openpartner.cl) ---
Confirmed that worked mixing julian@blk9.net and Edward Vear patches.
I have a Matebook D15 with Elementary OS and kernel 5.9.12 (now patched).
Thanks a lot for all the efforts. Spent several days searching for the
solution.
Regards,
LC
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (28 preceding siblings ...)
2020-12-12 1:00 ` bugzilla-daemon
@ 2020-12-12 6:24 ` bugzilla-daemon
2020-12-12 8:10 ` bugzilla-daemon
` (2 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-12-12 6:24 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #46 from devsk (funtoos@yahoo.com) ---
@Luis: do the patches make it work with suspend-resume cycle? Are you able to
see your bluetooth devices after resuming from suspend?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (29 preceding siblings ...)
2020-12-12 6:24 ` bugzilla-daemon
@ 2020-12-12 8:10 ` bugzilla-daemon
2020-12-19 19:59 ` bugzilla-daemon
2021-01-11 18:29 ` bugzilla-daemon
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-12-12 8:10 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #47 from Olivier V (forum.viennet@free.fr) ---
Is it necessary to apply the patch myself ?
How to do this (exact steeps) ?
Thank you?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (30 preceding siblings ...)
2020-12-12 8:10 ` bugzilla-daemon
@ 2020-12-19 19:59 ` bugzilla-daemon
2021-01-11 18:29 ` bugzilla-daemon
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2020-12-19 19:59 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #48 from Olivier V (forum.viennet@free.fr) ---
I bisected the bug on the rtl8822ce here :
https://bugzilla.kernel.org/show_bug.cgi?id=210453
It seems to bee the same problem linked to "rpa".
meloli@Asus-A17:~/Bureau/meloli/GITBISECT/linux$ git bisect bad
b2cc23398e8166b38f8715026273503b081c2a7a is the first bad commit
commit b2cc23398e8166b38f8715026273503b081c2a7a
Author: Sathish Narasimman <nsathish41@gmail.com>
Date: Thu Jul 23 18:09:02 2020 +0530
Bluetooth: Enable RPA Timeout
Enable RPA timeout during bluetooth initialization.
The RPA timeout value is used from hdev, which initialized from
debug_fs
Signed-off-by: Sathish Narasimman <sathish.narasimman@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h | 2 ++
net/bluetooth/hci_core.c | 8 ++++++++
2 files changed, 10 insertions(+)
$ git checkout b2cc23398e8166b38f8715026273503b081c2a7a
# give a bad kernel
$ git checkout b2cc23398e8166b38f8715026273503b081c2a7a^
# give a good kernel
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug 208965] not working bluetooth mouse low energy rtl8822ce
2020-08-19 20:53 [Bug 208965] New: not working bluetooth mouse low energy rtl8822ce bugzilla-daemon
` (31 preceding siblings ...)
2020-12-19 19:59 ` bugzilla-daemon
@ 2021-01-11 18:29 ` bugzilla-daemon
32 siblings, 0 replies; 34+ messages in thread
From: bugzilla-daemon @ 2021-01-11 18:29 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=208965
--- Comment #58 from Olivier V (forum.viennet@free.fr) ---
Here https://bugzilla.kernel.org/show_bug.cgi?id=210279#c14
Paul Wise said : "Sudip Mukherjee requested inclusion in stable, so it will
likely get into v5.10.6".
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 34+ messages in thread