Skip to contentSkip to conversation

New: Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

Bug 201921 [email protected] 1 participant 13 messages Dec 7, 2018 – Aug 8, 2019 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=201921

            Bug ID: 201921
           Summary: Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver
                    a99e, hci rev 826c, hci ver 0008
           Product: Drivers
           Version: 2.5
    Kernel Version: Ubuntu 4.19.0-8.9-generic 4.19.6
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Bluetooth
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Hello,

Open bug in launchpad.net
https://bugs.launchpad.net/bugs/1807375

dmesg:
Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

Best regards,
--
Cristian Aravena Romero (caravena)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

https://bugzilla.kernel.org/show_bug.cgi?id=201921

--- Comment #1 from Cristian Aravena Romero ([email protected]) --- Created attachment 280099
--> https://bugzilla.kernel.org/attachment.cgi?id=280099&action=edit
dmesg 4.20.0-042000rc7-generic

I really do not know if the problem was definitively solved. Because Bluetooth devices now appear in GNOME.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from [email protected] --- (In reply to Cristian Aravena Romero from comment #1)

Quoted 5 lines

Created attachment 280099 [details]
dmesg 4.20.0-042000rc7-generic

I really do not know if the problem was definitively solved. Because Bluetooth devices now appear in GNOME.

It is still affecting me on vanilla 4.20 and 4.19.12.

I was able to modify drivers/bluetooth/btrtl.c to use rtl_bt/rtl8821c_fw.bin firmware for this device.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

--- Comment #3 from [email protected] ---
Created attachment 280449
--> https://bugzilla.kernel.org/attachment.cgi?id=280449&action=edit
Add IC_INFO(a99e, 826c) to load rtl8821c firmware

With this patch, it has been working fine for a week using Bluetooth mouse.

Other things tested:

- File transfer
- A2DP Source

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

Kai-Heng Feng ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Kai-Heng Feng ([email protected]) --- vasthusya,

I also see this issue, but this only happens to reboot.

Do you see this on cold boot?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

--- Comment #5 from [email protected] ---
Created attachment 280459
--> https://bugzilla.kernel.org/attachment.cgi?id=280459&action=edit
Kernel messages from various boot states.

Yes, the coldboot lmp_subver=8221 & hci_rev=c are correct and Bluetooth works on vanilla kernel.

Unfortunately, I must restart the computer in order to gain CPU clock boost on my Ryzen 5 2500u.
Separate issue, haven't checked around here for that bug yet.
https://community.amd.com/thread/229980#2893988

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

--- Comment #6 from Kai-Heng Feng ([email protected]) --- Created attachment 280713
--> https://bugzilla.kernel.org/attachment.cgi?id=280713&action=edit
0001-Bluetooth-btrtl-Let-rtl_load_file-always-return-erro.patch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

--- Comment #7 from Kai-Heng Feng ([email protected]) --- Created attachment 280715
--> https://bugzilla.kernel.org/attachment.cgi?id=280715&action=edit
0002-Bluetooth-btrtl-Let-btrtl_initialize-always-return-e.patch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

--- Comment #8 from Kai-Heng Feng ([email protected]) --- Created attachment 280717
--> https://bugzilla.kernel.org/attachment.cgi?id=280717&action=edit
0003-Bluetooth-btrtl-Skip-initialization-if-firmware-is-a.patch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#10 lore raw

[Bug 201921] Bluetooth: hci0: RTL: rtl: unknown IC info, lmp subver a99e, hci rev 826c, hci ver 0008

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=201921

--- Comment #10 from [email protected] ---
Created attachment 280781
--> https://bugzilla.kernel.org/attachment.cgi?id=280781&action=edit
0004-Bluetooth-btrtl-Expose-btrtl_device_info.patch

Hi Kai,

Your patch #2 had two issues:
- btrtl_device_info definition is unavailable in hci_h5.c as it's not in
header
- a couple of argument type mismatch

It would have compiled fine when you don't have CONFIG_BT_HCIUART_RTL=y

I have made it compilable and running it now with working Bluetooth.

Thanks

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.