Hi Realtek Engineers,
In the hope that they can help me understand and correct why the
driver installs and (apparently) loads correctly after compiling the
driver (using the project: https://github.com/lwfinger/rtw88) but it
doesn't work in NetworkManager and dmesg gives me this error when
loading it via modprobe:
[ 166.218608] rtw_8723de 0000:02:00.0: firmware: direct-loading
firmware rtw88/rtw8723d_fw.bin
[ 166.219439] rtw_8723de 0000:02:00.0: Firmware version 48.0.0, H2C version 0
[ 172.152525] rtw_8723de 0000:02:00.0: failed to poll offset=0x5
mask=0x3 value=0x0
[ 172.152531] rtw_8723de 0000:02:00.0: mac power on failed
[ 172.152533] rtw_8723de 0000:02:00.0: failed to power on mac
[ 172.152535] rtw_8723de 0000:02:00.0: failed to setup chip efuse info
[ 172.152537] rtw_8723de 0000:02:00.0: failed to setup chip information
[ 172.167493] rtw_8723de: probe of 0000:02:00.0 failed with error -16
Kernel: 6.5.0-kali3-amd64
Hardware: built-in chipset: on Notebook HP 15-DA0012DX
I've done a lot of research and haven't found anything that can get
around this error, can you help me?
Best regards,
On 12/16/23 02:16, Leonam Uerba wrote:
> Hi Realtek Engineers,
>
> In the hope that they can help me understand and correct why the
> driver installs and (apparently) loads correctly after compiling the
> driver (using the project: https://github.com/lwfinger/rtw88) but it
> doesn't work in NetworkManager and dmesg gives me this error when
> loading it via modprobe:
>
> [ 166.218608] rtw_8723de 0000:02:00.0: firmware: direct-loading
> firmware rtw88/rtw8723d_fw.bin
> [ 166.219439] rtw_8723de 0000:02:00.0: Firmware version 48.0.0, H2C version 0
> [ 172.152525] rtw_8723de 0000:02:00.0: failed to poll offset=0x5
> mask=0x3 value=0x0
> [ 172.152531] rtw_8723de 0000:02:00.0: mac power on failed
> [ 172.152533] rtw_8723de 0000:02:00.0: failed to power on mac
> [ 172.152535] rtw_8723de 0000:02:00.0: failed to setup chip efuse info
> [ 172.152537] rtw_8723de 0000:02:00.0: failed to setup chip information
> [ 172.167493] rtw_8723de: probe of 0000:02:00.0 failed with error -16
>
> Kernel: 6.5.0-kali3-amd64
> Hardware: built-in chipset: on Notebook HP 15-DA0012DX
>
> I've done a lot of research and haven't found anything that can get
> around this error, can you help me?
I am not a Realtek engineer, but you might try setting some options for
rtw88_pci or rtw_pci (depends on whether you are using the built-in kernel
drivers or the GitHub repo) such as disable_msi=y and disable_aspm=y.
Similarly, add the option disable_lps_deep=y for rtw88_core or rtw_core.
Late-model HP and Lenovo laptops have BIOS coding that seems to need these options.
Larry
On 12/17/23 00:53, Leonam Uerba wrote:
> Thanks for help Larry, but, unfortunately none of these options
> changed the failure status. I did it this way, is there something I'm
> doing wrong?
>
> 1) i create a file on /etc/modprobe.d called: "rtw_8723de.conf: who
> contains these tips that your give me:
>
> cat /etc/modprobe.d/rtw_8723de.conf
>
> options rtw88_pci disable_msi=y
> options rtw88_pci disable_aspm=y
> options rtw_pci disable_msi=y
> options rtw_pci disable_aspm=y
> options rtw_core disable_lps_deep=y
> options rtw88_core disable_lps_deep=y
>
> obs.: I added all the modules even though some didn't appear os "lsmod
> | grep rtw"
>
> 2) lsmod | grep -i rtw
> rtw_8723de 12288 0
> rtw_8723d 61440 1 rtw_8723de
> rtw_pci 32768 1 rtw_8723de
> rtw_core 303104 2 rtw_8723d,rtw_pci
> mac80211 1396736 3 rtw_core,mt7601u,rtw_pci
> cfg80211 1339392 4 rndis_wlan,rtw_core,mt7601u,mac80211
>
> then: modprobe -r rtw_8723de && modprobe -a rtw_8723de
>
> and still same error on syslog/dmesg.... :/
>
> do you have any more tips to solve this case ?
On this list, do not top post. Also, always do a "Reply All", or whatever your
mailer wants. I have added linux-wireless back in.
Please do the following:
sudo modprobe -rv rtw_8723de
sudo modprobe -rv rtw_core
sudo modprobe -v rtw_8723de
Do the options show on the rtw_pci and rtw_core lines of the last command?
If so, they are correct, and I have no more suggestions.
Larry