2022-12-12 16:53:19

by Joshua Richenhagen

[permalink] [raw]
Subject: Realtek 1d3e:c826 not working

Hello,

on my new Xiaomi Book Pro 14 Ryzen with Realtek b852 using newest
kernel Linux 6.1 Wifi is not recognized at all. Is the PCIe device ID
missing in the rtw89 driver?

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
Subsystem: Device 1d3e:c826
Flags: fast devsel, IRQ 255, IOMMU group 11
I/O ports at 2000 [disabled] [size=256]
Memory at c0900000 (64-bit, non-prefetchable) [disabled] [size=1M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-88-52-01
Capabilities: [158] Latency Tolerance Reporting
Capabilities: [160] L1 PM Substates

Kinds regards
Joshua Richenhagen


2022-12-12 19:27:18

by James

[permalink] [raw]
Subject: Re: Realtek 1d3e:c826 not working

https://askubuntu.com/questions/1412450/network-driver-for-realtek-10ecb852

Dec. 12, 2022 11:43:59 Joshua Richenhagen <[email protected]>:

> Hello,
>
> on my new Xiaomi Book Pro 14 Ryzen with Realtek b852 using newest
> kernel Linux 6.1 Wifi is not recognized at all. Is the PCIe device ID
> missing in the rtw89 driver?
>
> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
>         Subsystem: Device 1d3e:c826
>         Flags: fast devsel, IRQ 255, IOMMU group 11
>         I/O ports at 2000 [disabled] [size=256]
>         Memory at c0900000 (64-bit, non-prefetchable) [disabled] [size=1M]
>         Capabilities: [40] Power Management version 3
>         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
>         Capabilities: [70] Express Endpoint, MSI 00
>         Capabilities: [100] Advanced Error Reporting
>         Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-88-52-01
>         Capabilities: [158] Latency Tolerance Reporting
>         Capabilities: [160] L1 PM Substates
>
> Kinds regards
> Joshua Richenhagen

2022-12-14 17:13:22

by Larry Finger

[permalink] [raw]
Subject: Re: Realtek 1d3e:c826 not working

On 12/12/22 13:19, James wrote:
> https://askubuntu.com/questions/1412450/network-driver-for-realtek-10ecb852
>
> Dec. 12, 2022 11:43:59 Joshua Richenhagen <[email protected]>:
>
>> Hello,
>>
>> on my new Xiaomi Book Pro 14 Ryzen with Realtek b852 using newest
>> kernel Linux 6.1 Wifi is not recognized at all. Is the PCIe device ID
>> missing in the rtw89 driver?
>>
>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
>>         Subsystem: Device 1d3e:c826
>>         Flags: fast devsel, IRQ 255, IOMMU group 11
>>         I/O ports at 2000 [disabled] [size=256]
>>         Memory at c0900000 (64-bit, non-prefetchable) [disabled] [size=1M]
>>         Capabilities: [40] Power Management version 3
>>         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
>>         Capabilities: [70] Express Endpoint, MSI 00
>>         Capabilities: [100] Advanced Error Reporting
>>         Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-88-52-01
>>         Capabilities: [158] Latency Tolerance Reporting
>>         Capabilities: [160] L1 PM Substates
>>
>> Kinds regards
>> Joshua Richenhagen

That driver will not be in the kernel until kernel 6.2, which is predicted to be
released on Feb. 19, 2023.

In the meantime, clone the rtw89 repository at
https://github.com/lwfinger/rtw89.git, and follow the instructions in README.md
in the cloned repo. Pat particular attention to the last paragraph if you are
running Ubuntu. For some reason, they have not included the firmware for this
device even though it has been in the official linux-firmware repo since October.

Larry

2022-12-15 21:34:50

by Joshua Richenhagen

[permalink] [raw]
Subject: Re: Realtek 1d3e:c826 not working

Thank you very much for the help Ping-Ke and Larry.

For anyone suffering from the same problem and using Ubuntu. I've
build a Kernel from wireless-next.git (6.1.0-rc8) and one from
linux-next.git (6.1.0-next-20221215) which both brings bluetooth and
wifi to work with this chip.

https://drive.google.com/drive/folders/134-ohL57i8n7aW48gZ-ielh1-Vpczm0h?usp=sharing

Am Mi., 14. Dez. 2022 um 18:02 Uhr schrieb Larry Finger
<[email protected]>:
>
> On 12/12/22 13:19, James wrote:
> > https://askubuntu.com/questions/1412450/network-driver-for-realtek-10ecb852
> >
> > Dec. 12, 2022 11:43:59 Joshua Richenhagen <[email protected]>:
> >
> >> Hello,
> >>
> >> on my new Xiaomi Book Pro 14 Ryzen with Realtek b852 using newest
> >> kernel Linux 6.1 Wifi is not recognized at all. Is the PCIe device ID
> >> missing in the rtw89 driver?
> >>
> >> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
> >> Subsystem: Device 1d3e:c826
> >> Flags: fast devsel, IRQ 255, IOMMU group 11
> >> I/O ports at 2000 [disabled] [size=256]
> >> Memory at c0900000 (64-bit, non-prefetchable) [disabled] [size=1M]
> >> Capabilities: [40] Power Management version 3
> >> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> >> Capabilities: [70] Express Endpoint, MSI 00
> >> Capabilities: [100] Advanced Error Reporting
> >> Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-88-52-01
> >> Capabilities: [158] Latency Tolerance Reporting
> >> Capabilities: [160] L1 PM Substates
> >>
> >> Kinds regards
> >> Joshua Richenhagen
>
> That driver will not be in the kernel until kernel 6.2, which is predicted to be
> released on Feb. 19, 2023.
>
> In the meantime, clone the rtw89 repository at
> https://github.com/lwfinger/rtw89.git, and follow the instructions in README.md
> in the cloned repo. Pat particular attention to the last paragraph if you are
> running Ubuntu. For some reason, they have not included the firmware for this
> device even though it has been in the official linux-firmware repo since October.
>
> Larry
>