1

I have not much experience with ndiswrapper but some vague memory of using it with some broadcom module long back. Now, here is the problem. Realtek RTL8723DE wireless module is used in my new HP 15-BS576TX laptop. I haven't installed Linux yet. But, would like to check if Ndiswrapper can help use the Windows driver to work in Linux. Here is the Windows 10/8/7 driver for this RTL8723DE wlan module: ftp://ftp.hp.com/pub/softpaq/sp80501-81000/sp80963.html

I extracted the exe and can see a folder /RTWLANE_Driver/Wind7X86/ which has rtwlane.sys and few other files which I presume is related to the wireless driver. Is there any chances of luck with ndiswrapper considering the driver executable actually contains win8/win7 drivers.

Thank you.

Jeremy31
  • 12,602
  • 10
  • 58
  • 114
  • ndiswrapper requires Windows XP drivers; from man ndiswrapper: "ndiswrapper - Linux kernel module and user space tool to load and run Windows XP drivers for wireless cards." I have seen many attempts to use the Win7 inf and sys files, however, none were successful. – chili555 Oct 19 '17 at 20:57
  • Ah..then I should wait for the native driver from realtek. meantime, getting a cheap usb wireless card to work with Linux. – Confguy2016 Oct 20 '17 at 09:26
  • That's exactly what I'd suggest. – chili555 Oct 30 '17 at 19:49

1 Answers1

3

To install the module for the RTL8723DE chipset, first determine your kernel using uname -r if your kernel is lower than 4.11, do

sudo apt-get install build-essential dkms git
git clone -b 4.10-down https://github.com/jeremyb31/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Then reboot

If you have kernel 4.11 and newer do

sudo apt-get install build-essential dkms git
git clone https://github.com/jeremyb31/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Then reboot

If you wish to stop power management for the device and change the logging level to minimum

echo "options 8723de rtw_power_mgnt=0 rtw_drv_log_level=0" | sudo tee /etc/modprobe.d/8723de.conf

If you have UEFI, Secure Boot will need to be disabled for the module to load.

Jeremy31
  • 12,602
  • 10
  • 58
  • 114
  • Thanks! that is a better way to build and install the module. – Confguy2016 Dec 23 '17 at 03:47
  • But, this is not working. ERROR (dkms apport): binary package for rtl8723de: 5.1.1.8_21285.20171026_COEX20170111-1414 not found – Confguy2016 Dec 23 '17 at 04:07
  • Try doing a cd Downloads and then run the commands. I found an issue with the dkms.conf on the original github source and have changed this to my own github – Jeremy31 Dec 23 '17 at 11:43
  • The binary package not found usually means the sudo dkms add command failed. The dkms worked perfectly after I fixed the dkms.conf file – Jeremy31 Dec 23 '17 at 14:25
  • Actually, I was using smlinux git repository. I pulled and merged again and dkms built the module fine. BTW, did you notice so many messages in kern.log with this driver? – Confguy2016 Dec 24 '17 at 11:28
  • smlinux merged my change into his github here. Paste some of the kern.log to paste.ubuntu.com and post a link – Jeremy31 Dec 24 '17 at 11:33
  • Thank you man, for all your good work. You are active in many BBS, as I can see. BTW, here is the /var/log/kern.log in Ubuntu 17.10 increasing in size with all the debug messages and nitty gritty details getting logged with 8723de driver: kernel: RTW: traffic_status_watchdog(wlo1) acqiure wake_lock for 4500 ms(tx:311,rx_unicast:551) - Filled with these lines. Here is the kern.log relevant parts: https://paste.ubuntu.com/26247041/ (please ignore the UFW logs) – Confguy2016 Dec 24 '17 at 19:24
  • echo "options 8723de rtw_power_mgnt=0" | sudo tee -a /etc/modprobe.d/8723de.conf and a lot of messages should vanish – Jeremy31 Dec 24 '17 at 20:06
  • And another echo "options 8723de rtw_drv_log_level=0" | sudo tee -a /etc/modprobe.d/8723de.conf – Jeremy31 Dec 24 '17 at 20:13
  • @Jeremy31 awesome work! Thank you so much. Tried First, got WiFi, but weak signal & speed and Later, no luck. But yours saved my life! Using HP 15-BS145TU, RTL8111/8168/8411

    Will this break after installing new kernel?

    – Vaishak Feb 26 '18 at 10:32