Archives For hp

HP’s Linux printer and scanner driver, HPLIP, released new 3.22.2 version today with many new printers support!

According to the release note, HPLIP 3.22.2 adds official support for Red Hat Enterprise Linux 8.5, Elementary OS 6.1, and Linux Mint 20.3.

And,

  • HP LaserJet Tank MFP 1602a, 1602w, 1604w
  • HP LaserJet Tank MFP 2602dn, 2602sdn, 2602sdw, 2602dw
  • HP LaserJet Tank MFP 2604dw, 2604sdw
  • HP LaserJet Tank MFP 2603dw, 2603sdw
  • HP LaserJet Tank MFP 2605sdw
  • HP LaserJet Tank MFP 2606dn, 2606dsn, 2606sdw, 2606dw, 2606dc
  • HP LaserJet Tank MFP 1005, 1005w, 1005nw
  • HP LaserJet Tank 1502a, 1502w
  • HP LaserJet Tank 1504w
  • HP LaserJet Tank 2502dw, 2502dn,
  • HP LaserJet Tank 2504dw
  • HP LaserJet Tank 2503dw
  • HP LaserJet Tank 2506dw, 2506d, 2506dn
  • HP LaserJet Tank 1020, 1020w, 1020nw

Download & Install HPLIP 3.22.2

To get the software package, download the “hplip-x.xx.x.run” file from the link page below:

Next, search for and open a terminal window from start menu. And, run command to grant executable permission, and run the installer script to install it:

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

Just follow the terminal output and answer questions. It will build and install the software automatically.

Tip: For those still using Python 2 and getting into python-pyqt5 dependency issue, see this workaround.

How to Remove HPLIP:

Running the “hplip-x.xx.x.run” installer will generate a source folder in user Downloads directory. If you don’t see it, re-run it via command:

~/Downloads/hplip*.run --target ~/Downloads/hplip

Then in file manager, go to “Downloads”. Right-click on ‘hplip’ folder and select ‘Open in Terminal’, finally run the uninstall script in pop-up terminal window:

sudo python3 uninstall.py

That’s all. Enjoy!

HPLIP, Hewlett-Packard’s Linux imaging and printing software, released version 3.21.8 with new printers support.

The open-source HP printer and scanner driver add some new devices support. They are:

  • HP Smart Tank 500 series
  • HP Smart Tank 530 series
  • HP Smart Tank Plus 570 series
  • HP Smart Tank 7600
  • HP Smart Tank 750
  • HP Smart Tank 790
  • HP Smart Tank Plus 710-720
  • HP Smart Tank Plus 7000
  • HP Smart Tank Plus 660-670
  • HP Smart Tank Plus 6000
  • HP DeskJet Ink Advantage Ultra 4800 All-in-One Printer series

And Linux Mint 20.2, RHEL 8.4 and Manjaro 21.0.7 are officially supported according to the release note.

How to Install HPLIP 3.21.8 in Ubuntu:

The official installer package, “hplip-3.21.8.run“, is available to download at the link below:

After downloaded the file, open the Downloads folder in terminal by right-clicking on blank area in that directory and choose ‘Open in Terminal.’

Open Downloads folder in terminal

When terminal opens, add executable permission to the file by running command:

chmod u+x hplip-3.21.8.run

Then run the installer and follow terminal output to start installing the driver:

./hplip-3.21.8.run

For the python-pyqt5 dependency issue, see this how to tutorial. Or, you can manually install the dependencies via command:

sudo apt-get install libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg-dev libsnmp-dev libtool-bin libusb-1.0-0-dev wget python3-pil policykit-1 policykit-1-gnome python3-pyqt5 python3-dbus.mainloop.pyqt5 python-gi-dev python3-dev python3-notify2 python3 python3-reportlab libsane libsane-dev sane-utils xsane libavahi-client-dev libavahi-core-dev

And compile it from source folder (generated automatically once you run the .run file) via configure, make, sudo make install.

Uninstall HPLIP 3.21.8:

While installing the driver, it creates a source folder that contains an uninstall script. Until you remove that folder, you can run the script to remove HPLIP:

cd ~/Downloads/hplip-3.21.8/ && sudo ./uninstall.py

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.

UPDATE Jan-2021, IMPORTANT NOTE:

1. Ubuntu 18.04.5 comes with Linux Kernel 5.4 which makes rtl8723de device work out-of-the-box.

If kernel doesn’t update to v5.4.0, run command:

sudo apt install linux-generic-hwe-18.04

2. For other RealTek WiFi drivers, e.g., rtl8188fu, rtl8192fu, rtl8723ds, rtl8723du, and more. See this how to guide.

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 You may first install the building tools first via command:

sudo apt-get install linux-headers-$(uname -r) build-essential git

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

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

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

cd rtw88/ && make && sudo make install

Type your password (no asterisk 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

(REQUIRED) Or write the rule into configuration. REPLACE X with whatever setting (1, 2, or 3) 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.