While RTL8723CS is able to start with RTL8723BS config, it doesn't
actually work. Powering on device with "power on" in bluetoothctl
and enabling scan via "scan on" doesn't find a single device.
Unfortunately, RealtekBluetoothUartPackage_2.17.119.0525 doesn't have
a config for RTL8723CS, so we have to resort to a known-working config
from armbian firmware repository [1]. Their commit history doesn't mention
its origin.
Closer inspection of the config reveals that indeed 8723CS uses different
entry offsets, e.g. 8723BT:
55ab 2387 # Magic
3a00 # Total len
2b00 06 0000 00aa bbcc # Offset = 0x002b, len = 0x06
f400 03 0100 00 # Offset = 0x00f4, len = 0x03
f800 02 8500 # Offset = 0x00f8, len = 0x02
2700 01 67 # Offset = 0x0027, len = 0x01
0c00 10 0280 9204 50c5 ea19 e11b f1af 5f01 a40b # Offset = 0x000c, len = 0x10
df01 01 01 # Offset = 0x01df, len = 0x01
fe00 01 01 # Offset = 0x00fe, len = 0x01
e301 01 00 # Offset = 0x01e3, len = 0x01
0000 00 # Offset = 0x0000, len = 0x00
8723CS:
55ab 2387 # Magic
3900 # Total len
f400 01 01 # Offset = 0x00f4, len = 0x01
f600 02 8100 # Offset = 0x00f6, len = 0x02
fa00 02 1280 # Offset = 0x00fa, len = 0x02
0c00 10 0280 9204 50c5 ea19 e11b fdaf 5f01 a40b # Offset = 0x000c, len = 0x10
2700 01 63 # Offset = 0x0027, len = 0x1
0001 01 01 # Offset = 0x0100, len = 01
5b01 04 0b0b0b0a # Offset = 0x015b, len = 0x04
4200 02 4150 # Offset = 0x0042, len = 0x02
e000 01 42 # Offset = 0x00e0, len = 0x01
The only known devices with mainline Linux support that use 8723CS are
Pine64's PineTab, PinePhone and Pinebook, all of them work with this config.
[1] https://github.com/armbian/firmware
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
This firmware is submitted for RTL8852BT/RTL8852BE-VT BT USB I/F.
Release Version: 0x04D7_63F7
Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware/config is submitted for RTL8922A BT USB I/F.
Version: 0x04fa9428
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
These files come from the RealtekBluetoothUartPackage_2.17.119.0525 file
which can be downloaded from realtek.com. The download is marked as version
1.0.245.3 / 05/08/2017 on the download page
The added rtl_bt/rtl8723cs_xx_fw.bin file is called
rtl8723c_mp_bt40_fw_asic_rom_patch.bin in the download.
The configuration file for the RTL8723BS part also works for the
CS variant so we add the appropriate link to use that.
Cc: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
A number of the rtl_bt files are identical according to sha256sum
so let's de-dupe them, and also remove a couple of entries in
the WHENCE file that are duplicates while we're at it.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
The setting works for numerous rtl8723 series of devices so let's use
the default naming so it works by default everywhere and link the
device specific names to the generic config.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
This firmware is submitted for RTL8852C BT USB I/F.
Release version is 0x040D_7225
Due to the follow-up RTL8852C firmware patch is format v2,
the RTL8852C BT USB firmware updates will be launched
with rtl8852cu_fw_v2.bin.
Suggested-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This reverts commit 55e7448533.
Commit 55e7448533 replaced rtl_bt firmware with a v2 binary which
is not compatible with older kernels and introduced a regression.
Undo that and add the v2 binary later using a different filename.
Let the rtl8852cu_fw.bin file keep the firmware format v1 and stay
at version 0xD7B8_FABF.
Subsequent RTL8852C BT USB firmware format v2 updates will be
launched with rtl8852cu_fw_v2.bin
Suggested-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Hilda Wu <hildawu@realtek.com>
Reviewed-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware patch update for Realtek RTL8852C BT USB controller
Note: This firmware patch needs to be used with driver
"btrtl: Firmware format v2 support". Please update the
driver with this commit: 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa
Release Version: 0x040D_7225
Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware/config is submitted for RTL8851B BT USB I/F.
Version: 0x0411_7851
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware/config is submitted for RTL8821C BT UART I/F.
Version: 0x75b8_f098
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware patch update for Realtek RTL8821C BT controller with USB
I/F.
Release Version: 0x75b8_f098
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware/config is submitted for RTL8852C BT USB I/F.
Version: 0xDFB7_BBFD
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This firmware/config submitted is for RTL8852B BT USB I/F.
Version: 0xDFB7_91CB
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>