Archives For hp

HP Linux Imaging and Printing

This tutorial is a quick fix for HP laptops that wireless does not work on Ubuntu 18.04 Gnome desktop.

On my cheap laptop HP 246 G6 I found that the wireless network does not work out-of-box after installed Ubuntu 18.04. No wifi option in system tray menu, and System Settings says ‘No Wifi adapter found‘.

This happens on many HP devices including HP 15-bs000, 15-bs100, 15g-br000, 15q-bu000, and Pavilion 15-br000, HP 280 G3, 290 G1, and more. And the reason is Ubuntu does not support RTL8723de wifi driver.

Here’s what I did to fix no wifi adapter issue in Ubuntu 18.04:

1. Reboot and go to BIOS to make sure wireless network are enabled. And plug laptop into a wired connection.

2. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher.

3.1 Run command to get the newest Realtek rtlwifi codes that includes rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, and rtl8821ae.:

git clone https://github.com/lwfinger/rtlwifi_new.git

And then check out extended branch for rtl8822be or rtl8723de:

cd rtlwifi_new/ && git checkout origin/extended -b extended

3.2 You may install the building tools first via command:

sudo apt-get install linux-headers-generic build-essential git

4. In this terminal window, install the drivers via command:

sudo make install

Type your password (no asterisks feedback) when it prompts and hit Enter.

5. If the installation success, run 2 commands load the new driver:

sudo modprobe -r rtl8723de

sudo modprobe rtl8723de

Wireless network starts working in my case:

6. If that does not work, you may remove and blacklist the broadcom drivers and restart:

sudo apt purge bcmwl-kernel-source

sudo sed -i '/blacklist bcma/ d' /etc/modprobe.d/blacklist.conf

sudo sed -i '/blacklist brcmsmac/ d' /etc/modprobe.d/blacklist.conf

In addition, (thanks to jeremy31) if you notice weak signal try command:

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=1

and see if it is better, if not run:

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=2

Or write the rule into configuration. Replace X with whatever setting worked best

echo "options rtl8723de ant_sel=X" | sudo tee /etc/modprobe.d/rtl8723de.conf

HP Linux Imaging and Printing

I’ve bought a cheap laptop HP 246 G6 recently. As expect, Fn + function keys are not working after installing Ubuntu 16.04 on it.

So below is the quick fix how to enable the Fn keys on this laptop which may work also on other HP essential laptops.

1. First open terminal either via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo -H gedit /etc/default/grub

Input your password (no visual feedback) when it prompts and hit Enter.

2. The command opens the grub configuration file with gedit text editor.

There find out the line says:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change it into:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="

3. After saving the changes. Update grub bootloader via command and reboot:

sudo update-grub

4. If F1 to F12 function keys are working even without pressing Fn:

Restart and press F10 to go to BIOS, disable “Action Keys Mode” in System Configuration tab.

HP Linux Imaging and Printing

HPLIP, Hewlett-Packard’s Linux imaging and printing software, has reached the 3.17.6 release with lots of new printers support, and Ubuntu 17.04, Debian 8.8 support.

HPLIP 3.17.6 is the second release in 2017, it adds following new printer support:

  • HP LaserJet Enterprise M607n, M607dn, M608n, M608dn, M608x, M608dh, M609dn, M609x.
  • HP LaserJet Managed E60055dn, E60065dn, E60065x, E60075dn, E60075x.
  • HP LaserJet Enterprise MFP M631dn, MFP M631z, MFP M632fht, MFP M632h, MFP M633fh.
  • HP LaserJet Enterprise Flow MFP M631h, Flow MFP M632z, Flow MFP M633z
  • HP LaserJet Managed MFP E62555dn, MFP E62565hs
  • HP LaserJet Managed Flow MFP E62565h, Flow MFP E62565z, Flow MFP E62575z
  • HP Color LaserJet Enterprise M652dn, M652n, M653dn, M653dh, M653x
  • HP Color LaserJet Managed E65050dn, E65060dn, MFP E67550dh, Flow MFP E67560z, MFP M681dh, MFP M681f
  • HP Color LaserJet Enterprise Flow MFP M681z, Flow MFP M681f, Flow MFP M682z
  • HP PageWide Managed P77750z Multifunction Printer
  • HP Pagewide Pro 750dn, 750dw, 772dw Multifunction Printer
  • HP PageWide Managed P77740zs Multifunction Printer
  • HP PageWide Managed P77750zs Multifunction Printer
  • HP PageWide Managed P75050dn Printer
  • HP LaserJet Pro MFP M25a, MFP M25nw, MFP M26a, MFP M26nw, MFP M27c, MFP M27cnw

HPLIP 3.17.6

How to Install HPLIP 3.17.6 in Ubuntu:

The official .run installer is available for download at the link below:

Download HPLIP (.run file)

After downloaded the .run installer, open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command:

cd ~/Downloads/ && chmod +x hplip-3.17.6.run && ./hplip-3.17.6.run

The commands navigate to your Downloads folder, give executable permission, and finally run the installer script in that terminal window.

Simply follow the terminal prompts, answer some questions, wait it automatically building HPLIP and setting up your devices, and enjoy.

HP Printer Drivers for Linux

HPLIP, HP print, scan and fax drivers for Linux, has recently reached the 3.15.2 release with new Linux distributions support, Python 3 support, and a few bug fixes.

For the Python 3 support for HPLIP, there are some limitations:

  • Doesn’t support Fax Cover Page in Python 3 environments
  • XSane installation failed message on Debian, type ‘n’ to continue installation when HPLIP tools ask to retry xsane installation
  • Cannot launch hp-toolbox for Python less than version 3.4
  • Dependent package installation fails on Fedora

New Distro’s added support in HPLIP 3.15.2:

  • Debian 7.7, 7.8
  • OpenSuse 13.2
  • Fedora 21

And the launchpad fixes in this release:

  • Doesn’t build against libjpeg-turbo 1.3.90
  • hpcups crashes if DEVICE_URI not set in environment
  • Incorrect call to hpmudext.device_open
  • plugin download fails if python links to python3
  • Incorrect IEEE 1284 Device IDs for many models

How to install/upgrade HPLIP in Linux:

First download the HPLIP installer, the “hplip-x.x.x.run” file at:

Download HPLIP

Once the download process finish, open a terminal window and cd to the downloads folder:

cd ~/Downloads

Make the installer package executable (replace ‘hplip-x.x.x.run’ with the real package name in below commands):

chmod +x hplip-x.x.x.run

Finally start the installer and follow the onscreen prompts:

./hplip-x.x.x.run

via: HPLIP release note

.