• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended
HP 15-BW011DX
Linux

Recently, I aquired a HP 15-BW011DX notebook and decided to install Ubuntu 18.04 LTS on it.


To my surprise,  when I booted Ubuntu, the Bluetooth was working fine, however, the WiFi adapter could not be found.

Naturally, I went to the internet for answers (Linux forums and GitHub) and stumbled upon this: https://github.com/lwfinger/rtlwifi_new/ 

 

However, when I install the driver from the extended branch I have a low Wireless connection and Bluetooth sucked (it only worked on devices <5cm away from the laptop). Then I discovered that if I use "modprobe rtl8723de ant_sel=2" WiFi is boosted, but bluetooth still sucks due to HP using one antenna and improperly coding the ROM to use 2 if available, according to fwfinger.

 

Anyway... I found a better solution which allows bluetooth to work with WiFi enabled flawlessly. I made a script which solves the issue with basically selecting 3 different letters. It can be run offline (special conditions apply xD) or online. It uses  smlinux's driver rather than the "OFFICIAL" one from lwfinger. It's funny that the official is no way near as stable as smlinux's.

 

TO INSTALL OFFLINE:

1. Ensure dkms is installed (If you don't have an ethernet cable, you can just download the .deb, rpm etc. from here and install it)

2. Figure out your kernel version with "uname -srv" and download the appropriate zip    

Kernel>=5.0

Kernel>=4.15

Kernel>=4.11

Kernel<=4.10

3. Extract the zip into the directory with the script and execute the script

 

TO INSTALL ONLINE:

0. Connect to a network via ethernet (obviously :P... in my last post someone had the audacity to ask how did I download anything without WiFi in a rude manner)

1. Execute the script

 

You can download the script here. Or you can go to smlinux's github and use the steps he has there (my script does that, but in a much shorter way for you)

 

I noticed that the driver may sometimes refuse to connect to WiFi, but a simple restart solves it..

A simple workaround for this is to "crontab -e" in terminal and add "15 * * * * echo "<your_sudo_password>" | sudo -S rmmod 8723de && echo "<your_sudo_password>" | sudo -S modprobe rtl8723de" to the end of the file. This will create a task for the driver to be restarted every 15 minutes (when it restarts, you'll lose WiFi for 5 seconds then automatically reconnect... It's better than having to restart the system completely and does not affect file downloads at all)

 

 

 

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.