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

Bug #1807375 reported by Cristian Aravena Romero
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Confirmed
Medium
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,

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

Best regards,
--
Cristian Aravena Romero (caravena)

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-4.19.0-8-generic 4.19.0-8.9
ProcVersionSignature: Ubuntu 4.19.0-8.9-generic 4.19.6
Uname: Linux 4.19.0-8-generic x86_64
ApportVersion: 2.20.10-0ubuntu14
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: caravena 2769 F.... pulseaudio
 /dev/snd/pcmC0D0p: caravena 2769 F...m pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 7 08:30:39 2018
HibernationDevice: RESUME=UUID=efcf081f-0bb0-4907-b78c-1299aa4aee57
InstallationDate: Installed on 2018-12-02 (4 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: HP HP Pavilion x360 Convertible 14-cd0xxx
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.19.0-8-generic root=UUID=28bdadba-133c-4f5b-a5c9-b06993ea7ce2 ro rootflags=subvol=@ quiet splash vt.handoff=1
RelatedPackageVersions:
 linux-restricted-modules-4.19.0-8-generic N/A
 linux-backports-modules-4.19.0-8-generic N/A
 linux-firmware 1.176
SourcePackage: linux
UpgradeStatus: Upgraded to disco on 2018-12-02 (4 days ago)
dmi.bios.date: 06/14/2018
dmi.bios.vendor: Insyde
dmi.bios.version: F.13
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 8486
dmi.board.vendor: HP
dmi.board.version: 72.19
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.13:bd06/14/2018:svnHP:pnHPPavilionx360Convertible14-cd0xxx:pvrType1ProductConfigId:rvnHP:rn8486:rvr72.19:cvnHP:ct31:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Pavilion
dmi.product.name: HP Pavilion x360 Convertible 14-cd0xxx
dmi.product.sku: 3PX63LA#ABM
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
In , caravena (caravena-linux-kernel-bugs) wrote :

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)

Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , caravena (caravena-linux-kernel-bugs) wrote :

Created attachment 280099
dmesg 4.20.0-042000rc7-generic

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
In , vasthusya (vasthusya-linux-kernel-bugs) wrote :

(In reply to Cristian Aravena Romero from comment #1)
> 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.

Revision history for this message
In , vasthusya (vasthusya-linux-kernel-bugs) wrote :

Created attachment 280449
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

Revision history for this message
In , kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote :

vasthusya,

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

Do you see this on cold boot?

Revision history for this message
In , vasthusya (vasthusya-linux-kernel-bugs) wrote :

Created attachment 280459
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

Revision history for this message
In , kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote :

Created attachment 280713
0001-Bluetooth-btrtl-Let-rtl_load_file-always-return-erro.patch

Revision history for this message
In , kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote :

Created attachment 280715
0002-Bluetooth-btrtl-Let-btrtl_initialize-always-return-e.patch

Revision history for this message
In , kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote :

Created attachment 280717
0003-Bluetooth-btrtl-Skip-initialization-if-firmware-is-a.patch

Revision history for this message
In , kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote :

Please try these patches. It should the issue.

Revision history for this message
In , vasthusya (vasthusya-linux-kernel-bugs) wrote :

Created attachment 280781
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

Revision history for this message
In , kai.heng.feng (kai.heng.feng-linux-kernel-bugs) wrote :

Turns out it's a regression, I sent V2 patch to address the issue.

https://lkml.org/lkml/2019/1/27/16

Revision history for this message
In , vasthusya (vasthusya-linux-kernel-bugs) wrote :

The patch has been working for me since kernel 5.1.

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.