Post new question
Question
Reply
 
Teacher
Posts: 95
Member Since: ‎07-07-2014
Message 1 of 5 (2,091 Views)
Accepted Solution

Realtek 8723DE wifi module Linux driver available now - Ubuntu/Fedora/Arch users*

[ Edited ]
Product Name: HP 15-bs000 Laptop PC
Operating System: Linux

**This is not an official driver for RTL8723DE wireless module. Official RTL8723DE will appear in Linux kernel after it is made available in lwfinger's RTLWIFI project**

 

So, after 3 months since I bought my HP 15-BS576TX laptop with the infamous Realtek RTL8723DE wireless module which was unsupported till now, started working! Thanks to the good work of "smlinux". He/she has provided the driver module (buildable) source here: https://github.com/smlinux/rtl8723de . You can either download a zip version and extract it or git clone the repo and do these steps:

 

Open a terminal, cd into the rtl8723de directory.

 

:~$ make

:~$ sudo make install

 

 

That's it. Inorder to work on the current session, do this:

:~$ sudo modprobe 8723de 

 

EDIT:

Instead of above driver from smlinux, it is recommended to use the official driver hosted at the rtlwifi-new git repsitory maintained by Larry Fingers.

 

Well, at last, RTL8723DE officially supported driver is made available in the rtlwifi-new git extended branch. What is left to do is, Bluetooth support for this laptop. Bluetooth share the same RTL8723DE hardware?

 

For installing from git sources in Ubuntu:

 

 

1. Make sure you have git installed. You can install git using apt install git or through synaptic/software manager.

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.

 

 

 

Reply
0 Kudos
Accepted Solution

Re: Realtek 8723DE wifi module unofficial Linux driver available now - Ubuntu/Fedora/Arch users*

I would suggest using DKMS support so the driver will be built for a new kernel while the kernel is installed, now that the dkms.conf is fixed, for all users, check terminal, command uname -r to determine kernel version

 

For 4.10 and older 

sudo apt-get install build-essential git dkms

git clone -b 4.10-down https://github.com/smlinux/rtl8723de.git

sudo dkms add ./rtl8723de

sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414

Reboot

 

For kernel 4.11 and newer

sudo apt-get install build-essential git dkms

git clone https://github.com/smlinux/rtl8723de.git

sudo dkms add ./rtl8723de

sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414

Reboot

View solution in context
Tutor
Posts: 6
Member Since: ‎12-23-2017
Message 2 of 5 (2,032 Views)

Re: Realtek 8723DE wifi module unofficial Linux driver available now - Ubuntu/Fedora/Arch users*

I would suggest using DKMS support so the driver will be built for a new kernel while the kernel is installed, now that the dkms.conf is fixed, for all users, check terminal, command uname -r to determine kernel version

 

For 4.10 and older 

sudo apt-get install build-essential git dkms

git clone -b 4.10-down https://github.com/smlinux/rtl8723de.git

sudo dkms add ./rtl8723de

sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414

Reboot

 

For kernel 4.11 and newer

sudo apt-get install build-essential git dkms

git clone https://github.com/smlinux/rtl8723de.git

sudo dkms add ./rtl8723de

sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414

Reboot

Highlighted
Teacher
Posts: 95
Member Since: ‎07-07-2014
Message 3 of 5 (1,403 Views)

Re: Realtek 8723DE wifi module unofficial Linux driver available now - Ubuntu/Fedora/Arch users*

rtlwifi maintainer Larry Fingers has the officially released driver for RTL8723DE WiFi module in Linux. Presently, the driver is getting added into his repository. When I tried, repository was missing rtl8723defw.bin firmware. That will be available by tomorrow (hopefully).

 


The driver for RTL8723DE at https://github.com/smlinux/rtl8723de is not the version that will end up in the Linux kernel. It uses cfg80211 for network support, but NOT mac80211. If you want to test the kernel version, my contact at Realtek has made it available. It is now in the "extended" branch of rtlwifi_new. Do a "git pull" and follow the instructions in README.md.



 This is the repo. https://github.com/lwfinger/rtlwifi_new/tree/extended . The driver is available as of now in "extended" branch. I will update with steps to install after confirming this is working for me.

Teacher
Posts: 95
Member Since: ‎07-07-2014
Message 4 of 5 (1,255 Views)

Re: Realtek 8723DE wifi module unofficial Linux driver available now - Ubuntu/Fedora/Arch users*

[ Edited ]

So, the official driver from Realtek which is available in https://github.com/lwfinger/rtlwifi_new/ is working great. You Thave to download the zip file from the "extended" branch of the git repo. or use git command to clone the repository locally. Then, open the terminal inside rtlwifi_new  directory and run "make" followed by "sudo make install".

 

With my HP-15-BS576TX laptop, the signal strength is satisfactory with a "modprobe -v rtl8723de ant_sel=2". I have added "options rtl8723de ant_sel=2" in a file /etc/modprobe.d/rtl8723de.conf.

 

Now, only Bluetooth support remaining. From whatever I understand, bluetooth and wifi shares the same RTL8723DE hardware. Hope the support will be available soon.

 

Tutor
Posts: 6
Member Since: ‎12-23-2017
Message 5 of 5 (1,229 Views)

Re: Realtek 8723DE wifi module unofficial Linux driver available now - Ubuntu/Fedora/Arch users*

You don't need to download a zip file, just do

git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation