2017-08-23 02:09:18

by Alex Deucher

[permalink] [raw]
Subject: RTL8822BE Bluetooth device

I have this device, but the driver requires a firmware file
(rtl8821a_config.bin) which does not seem to exist. Looking at the
code[1], there appear to be several firmware config files for variants
of this device:
+ switch (lmp_subver) {
+ case RTL_ROM_LMP_8723B:
+ cfg_name = "rtl_bt/rtl8723b_config.bin";
+ break;
+ case RTL_ROM_LMP_8821A:
+ cfg_name = "rtl_bt/rtl8821a_config.bin";
+ break;
+ case RTL_ROM_LMP_8761A:
+ cfg_name = "rtl_bt/rtl8761a_config.bin";
+ break;
+ case RTL_ROM_LMP_8822B:
+ cfg_name = "rtl_bt/rtl8822b_config.bin";
+ break;
However, the only file that seem to actually exist is
rtl8822b_config.bin. Does anyone know where to get the others?

Thanks,

Alex

[1] https://patchwork.kernel.org/patch/9323749/


2017-08-23 03:22:10

by Alex Lu

[permalink] [raw]
Subject: 答复: 答复: RTL8822BE Bluetooth device

SSBoYXZlIG5vIHByb2JsZW0gd2l0aCBpdC4NCg0KVGhhbmtzLA0KQlJzLA0KQWxleCBMdQ0KDQot
LS0tLemCruS7tuWOn+S7ti0tLS0tDQrlj5Hku7bkuro6IEFsZXggRGV1Y2hlciBbbWFpbHRvOmFs
ZXhkZXVjaGVyQGdtYWlsLmNvbV0gDQrlj5HpgIHml7bpl7Q6IDIwMTflubQ45pyIMjPml6UgMTA6
NTMNCuaUtuS7tuS6ujog6ZmG5pyx5LyfDQrmioTpgIE6IGxpbnV4LWJsdWV0b290aEB2Z2VyLmtl
cm5lbC5vcmc7IExhcnJ5LkZpbmdlckBsd2Zpbmdlci5uZXQNCuS4u+mimDogUmU6IOetlOWkjTog
UlRMODgyMkJFIEJsdWV0b290aCBkZXZpY2UNCg0KT24gVHVlLCBBdWcgMjIsIDIwMTcgYXQgMTA6
MjEgUE0sIOmZhuacseS8nyA8YWxleF9sdUByZWFsc2lsLmNvbS5jbj4gd3JvdGU6DQo+IEhpIEFs
ZXggRGV1Y2hlciwNCj4gVGhlIH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SBSVExfUk9NX0xNUF84NzIzQjoNCj4gKyBjZmdfbmFtZSA9ICJydGxfYnQvcnRsODcyM2Jf
Y29uZmlnLmJpbiI7IGJyZWFrOyBjYXNlDQo+ICsgUlRMX1JPTV9MTVBfODgyMUE6DQo+ICsgY2Zn
X25hbWUgPSAicnRsX2J0L3J0bDg4MjFhX2NvbmZpZy5iaW4iOyBicmVhazsgY2FzZQ0KPiArIFJU
TF9ST01fTE1QXzg3NjFBOg0KPiArIGNmZ19uYW1lID0gInJ0bF9idC9ydGw4NzYxYV9jb25maWcu
YmluIjsgYnJlYWs7IGNhc2UNCj4gKyBSVExfUk9NX0xNUF84ODIyQjoNCj4gKyBjZmdfbmFtZSA9
ICJydGxfYnQvcnRsODgyMmJfY29uZmlnLmJpbiI7IGJyZWFrOw0KPiBIb3dldmVyLCB0aGUgb25s
eSBmaWxlIHRoYXQgc2VlbSB0byBhY3R1YWxseSBleGlzdCBpcyBydGw4ODIyYl9jb25maWcuYmlu
LiAgRG9lcyBhbnlvbmUga25vdyB3aGVyZSB0byBnZXQgdGhlIG90aGVycz8NCj4NCj4gVGhhbmtz
LA0KPg0KPiBBbGV4DQo+DQo+IFsxXSBodHRwczovL3BhdGNod29yay5rZXJuZWwub3JnL3BhdGNo
LzkzMjM3NDkvDQo+DQo+IC0tLS0tLVBsZWFzZSBjb25zaWRlciB0aGUgZW52aXJvbm1lbnQgYmVm
b3JlIHByaW50aW5nIHRoaXMgZS1tYWlsLg0K

2017-08-23 02:53:22

by Alex Deucher

[permalink] [raw]
Subject: Re: 答复: RTL8822BE Bluetooth device

On Tue, Aug 22, 2017 at 10:21 PM, 陆朱伟 <[email protected]> wrote:
> Hi Alex Deucher,
> The rtl8821a_config.bin is not necessary.
> It is used for some special settings, such as bdaddr, sco over pcm/hci, etc.

Thanks for clarifying. How about the attached patch to make it clear
which config firmwares are optional?


Alex

>
> Thanks,
> BRs,
> Alex Lu.
>
> -----邮件原件-----
> 发件人: Alex Deucher [mailto:[email protected]]
> 发送时间: 2017年8月23日 10:09
> 收件人: [email protected]; 陆朱伟; [email protected]
> 主题: RTL8822BE Bluetooth device
>
> I have this device, but the driver requires a firmware file
> (rtl8821a_config.bin) which does not seem to exist. Looking at the code[1], there appear to be several firmware config files for variants of this device:
> + switch (lmp_subver) {
> + case RTL_ROM_LMP_8723B:
> + cfg_name = "rtl_bt/rtl8723b_config.bin"; break; case
> + RTL_ROM_LMP_8821A:
> + cfg_name = "rtl_bt/rtl8821a_config.bin"; break; case
> + RTL_ROM_LMP_8761A:
> + cfg_name = "rtl_bt/rtl8761a_config.bin"; break; case
> + RTL_ROM_LMP_8822B:
> + cfg_name = "rtl_bt/rtl8822b_config.bin"; break;
> However, the only file that seem to actually exist is rtl8822b_config.bin. Does anyone know where to get the others?
>
> Thanks,
>
> Alex
>
> [1] https://patchwork.kernel.org/patch/9323749/
>
> ------Please consider the environment before printing this e-mail.


Attachments:
0001-btrtl-Make-it-clear-what-config-firmware-is-optional.patch (1.52 kB)

2017-08-23 02:21:20

by Alex Lu

[permalink] [raw]
Subject: 答复: RTL8822BE Bluetooth device

SGkgQWxleCBEZXVjaGVyLA0KVGhlIHJ0bDg4MjFhX2NvbmZpZy5iaW4gaXMgbm90IG5lY2Vzc2Fy
eS4NCkl0IGlzIHVzZWQgZm9yIHNvbWUgc3BlY2lhbCBzZXR0aW5ncywgc3VjaCBhcyBiZGFkZHIs
IHNjbyBvdmVyIHBjbS9oY2ksIGV0Yy4NCg0KVGhhbmtzLA0KQlJzLA0KQWxleCBMdS4NCg0KLS0t
LS3pgq7ku7bljp/ku7YtLS0tLQ0K5Y+R5Lu25Lq6OiBBbGV4IERldWNoZXIgW21haWx0bzphbGV4
ZGV1Y2hlckBnbWFpbC5jb21dIA0K5Y+R6YCB5pe26Ze0OiAyMDE35bm0OOaciDIz5pelIDEwOjA5
DQrmlLbku7bkuro6IGxpbnV4LWJsdWV0b290aEB2Z2VyLmtlcm5lbC5vcmc7IOmZhuacseS8nzsg
TGFycnku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