Realtek rtl8723de Device d723

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723
Subsystem: Hewlett-Packard Company Device 8319
Flags: bus master, fast devsel, latency 0, IRQ 122
I/O ports at 1000 [size=256]
Memory at 91000000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
Kernel driver in use: rtl8723de
Kernel modules: rtl8723de

https://h30434.www3.hp.com/t5/Notebook-Wireless-and-Networking/Realtek-8723DE-wifi-module-amp-Bluetooth-Linux-driver/td-p/6477307

 

 

1. Make sure you have git installed. You can install git using apt install git or through synaptic/software manager. If you want to use dkms to make and install the driver, make sure that dkms also is installed. You can download and install using below commands, in a terminal:

:~$ sudo apt update && sudo apt install git dkms

 

2. The RTL8723DE driver is in the git extended branch. So,

 

Open a terminal:

 

 

:~$ cd Downloads

:~$ git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git
unofficial
:~$ cd rtlwifi_new

Now, either you can run:
:~/Downloads/rtlwifi_new$ make 
:~/Downloads/rtlwifi_new$ sudo make install

OR use dkms to build and manage the modules:

:~/Downloads/rtlwifi_new$ sudo dkms add ../rtlwifi_new
:~/Downloads/rtlwifi_new$ sudo dkms build rtlwifi-new/0.6 
:~/Downloads/rtlwifi_new$ sudo dkms install rtlwifi-new/0.6
:~/Downloads/rtl-new/rtlwifi_new$ sudo modprobe -v rtl8723de ant_sel=2


^^ That should work. If firmware error is shown, reboot and will work. Make sure, you have linux-headers for the respective kernel(s) and build-essential packages installed.

 

 

For me, ant_sel=2 shows the maximum WiFi signal gain. So, I’ve added below lines in a separate conf file:

 

 

:~$ sudo /bin/sh -c 'echo "options rtl8723de ant_sel=2" >> /etc/modprobe.d/rtl8723de.conf'

 

Hope this helps. If it does not build, use :

:~/Downloads/rtlwifi_new$ sudo dkms install rtlwifi-new/0.6 --force

 

UPDATE:

RTL8723D Bluetooth Firmware is available in Linux firmware git directory as committed by Larry Fingers (rtlwifi-new) :

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=6d5131107f2ba…

Firmware file names:

/lib/firmware/rtl_bt/rtl8723d_fw.bin
/lib/firmware/rtl_bt/rtl8723d_config.bin
/lib/firmware/rtlwifi/rtl8723defw.bin

You have to git clone the directory to get the firmware  and place the specific rtl8723d firmware  in /lib/firmware/rtl_bt folder.

git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

 

But, unfortunately, for my laptop HP 15-BS576TX, adding the firmwares to the /lib/firmware/rtl_bt did not help. The /var/log/kern.log suggests Bluetooth for this model seeks rtl8723B firmware? It is confusing and I get no help from rtlwifi-new maintaner too.

 

[   10.863701] Bluetooth: hci0: rtl: examining hci_ver=08 hci_rev=000d lmp_ver=08 lmp_subver=8723
[   10.863702] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   10.971044] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   10.971047] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   10.995696] Bluetooth: hci0: rom_version status=0 version=2
[   10.995698] Bluetooth: hci0: didn't find patch for chip id 2