HP MFP M181fw scanner installation problem

Asked by Ilja

I have bought a Color LaserJet Pro HP MFP M181fw The printer works, the scanner is not found,

I'm on XUbuntu, 18.04. Installed with hplip-3.18.6.run, it seemed unproblematic. Printer works fine. The scanner is not found by xsane.

lsusb shows the usb connection,

sane-find-scanner found the scanner:
-------------
found USB scanner (vendor=0x03f0 [HP], product=0xaf2a [HP ColorLaserJet MFP M178-M181]) at libusb:001:005
-------------

scanimage -L did not find anything:
----------
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

sudoing it makes no difference.

I have already added a line

ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="af2a", ENV{libsane_matched}="yes"

to /lib/udev/rules.d/60-libsane1.rules and restarted, this has not changed anything.

----------
The HP device manager works, but if I press scan, it starts with some error "Failed to create file: Permission denied", then xsane tries to find a scanner, but fails: "Failed to open device hpaio:/usb/HP_ColorLaserJet_MFP_M178-M181?serial=VNC4G14125: Operation not supported

hp-check -t gives the following warnings:
warning: Failed to read /etc/cups/ppd/HP_Color_LaserJet_MFP_M181fw_DBA091_.ppd ppd file
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
warning: Failed to read /etc/cups/ppd/HP_ColorLaserJet_MFP_M178-M181.ppd ppd file
warning: Failed to read /etc/cups/ppd/HP_ColorLaserJet_MFP_M178-M181_2.ppd ppd file
warning: Failed to read /etc/cups/ppd/Panasonic-KX-MB1500.ppd ppd file
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

and the following hp-check.log
-------------------
hp-check[11856]: info: :
hp-check[11856]: info: :HP Linux Imaging and Printing System (ver. 3.18.6)
hp-check[11856]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[11856]: info: :
hp-check[11856]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[11856]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[11856]: info: :This is free software, and you are welcome to distribute it
hp-check[11856]: info: :under certain conditions. See COPYING file for more details.
hp-check[11856]: info: :
hp-check[11856]: info: :Note: hp-check can be run in three modes:
hp-check[11856]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the
hp-check[11856]: info: :proper dependencies are installed to successfully compile HPLIP.
hp-check[11856]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied
hp-check[11856]: info: :tarball has the proper dependencies installed to successfully run.
hp-check[11856]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time
hp-check[11856]: info: :dependencies).
hp-check[11856]: info: :
hp-check[11856]: info: :Check types:
hp-check[11856]: info: :a. EXTERNALDEP - External Dependencies
hp-check[11856]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[11856]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[11856]: info: :d. [All are run-time checks]
hp-check[11856]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[11856]: info: :
hp-check[11856]: info: :Status Types:
hp-check[11856]: info: : OK
hp-check[11856]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[11856]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[11856]: info: :
hp-check[11856]: info: :
hp-check[11856]: info: :---------------
hp-check[11856]: info: :| SYSTEM INFO |
hp-check[11856]: info: :---------------
hp-check[11856]: info: :
hp-check[11856]: info: : Kernel: 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 GNU/Linux
 Host: xxx-MS-7522
 Proc: 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 GNU/Linux
 Distribution: 12 18.04
hp-check[11856]: info: : Bitness: 64 bit

hp-check[11856]: info: :
hp-check[11856]: info: :-----------------------
hp-check[11856]: info: :| HPLIP CONFIGURATION |
hp-check[11856]: info: :-----------------------
hp-check[11856]: info: :
hp-check[11856]: info: :HPLIP-Version: HPLIP 3.18.6
hp-check[11856]: info: :HPLIP-Home: /usr/share/hplip
hp-check[11856]: info: :HPLIP-Installation: Auto installation is supported for ubuntu distro 18.04 version
hp-check[11856]: info: :
hp-check[11856]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[11856]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.18.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.18.6
html=/usr/share/doc/hplip-3.18.6
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.18.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no

hp-check[11856]: info: :
hp-check[11856]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[11856]: info: :[plugin]
installed = 1
eula = 1
version = 3.18.6

hp-check[11856]: info: :
hp-check[11856]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[11856]: info: :[upgrade]
notify_upgrade = true
last_upgraded_time = 1531476871
pending_upgrade_time = 0
latest_available_version = 3.17.10

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_ColorLaserJet_MFP_M178-M181?serial=VNC4G14125"
printer_name = HP_ColorLaserJet_MFP_M178-M181
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 13.07.2018 14:09:35
version = 3.18.6

hp-check[11856]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[11856]: info: :
hp-check[11856]: info: :--------------
hp-check[11856]: info: :| COMPILEDEP |
hp-check[11856]: info: :--------------
hp-check[11856]: info: :
hp-check[11856]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.3.0 OK -
hp-check[11856]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
hp-check[11856]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[11856]: info: :
hp-check[11856]: info: :------------------------
hp-check[11856]: info: :| General Dependencies |
hp-check[11856]: info: :------------------------
hp-check[11856]: info: :
hp-check[11856]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 OK -
hp-check[11856]: info: : python-xml Python XML libraries REQUIRED - 2.2.5 OK -
hp-check[11856]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
hp-check[11856]: info: : sane-devel SANE - Scanning library development files REQUIRED - - OK -
hp-check[11856]: info: : pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
hp-check[11856]: info: : pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.12.1 OK -
hp-check[11856]: info: : libpthread libpthread - POSIX threads library REQUIRED - 2.27 OK -
hp-check[11856]: info: : python-devel Python devel - Python development files REQUIRED 2.2 2.7.15 OK -
hp-check[11856]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
hp-check[11856]: info: : python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
hp-check[11856]: info: : cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
hp-check[11856]: info: : reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
hp-check[11856]: info: : pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
hp-check[11856]: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check[11856]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
hp-check[11856]: info: : python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.15 OK -
hp-check[11856]: info: : python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
hp-check[11856]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[11856]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[11856]: info: :
hp-check[11856]: info: :----------------------
hp-check[11856]: info: :| Scan Configuration |
hp-check[11856]: info: :----------------------
hp-check[11856]: info: :
hp-check[11856]: info: : scanext Scan-SANE-Extension REQUIRED - 3.18.6 OK -
hp-check[11856]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.18.6 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[11856]: info: :
hp-check[11856]: info: :-------------------------
hp-check[11856]: info: :| External Dependencies |
hp-check[11856]: info: :-------------------------
hp-check[11856]: info: :
hp-check[11856]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.22 OK -
hp-check[11856]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
hp-check[11856]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
hp-check[11856]: info: : network network -wget OPTIONAL - 1.19.4 OK -
hp-check[11856]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[11856]: info: : xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
hp-check[11856]: info: : dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
hp-check[11856]: info: : avahi-utils avahi-utils OPTIONAL - 0.7 OK -
hp-check[11856]: info: :
hp-check[11856]: info: :---------------------
hp-check[11856]: info: :| Python Extentions |
hp-check[11856]: info: :---------------------
hp-check[11856]: info: :
hp-check[11856]: info: : hpmudext IO-Extension REQUIRED - 3.18.6 OK -
hp-check[11856]: info: : cupsext CUPS-Extension REQUIRED - 3.18.6 OK -
hp-check[11856]: info: :
hp-check[11856]: info: :------------------------------
hp-check[11856]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[11856]: info: :------------------------------
hp-check[11856]: info: :
hp-check[11856]: info: :No Scanner found.
hp-check[11856]: info: :
hp-check[11856]: info: :--------------------------
hp-check[11856]: info: :| DISCOVERED USB DEVICES |
hp-check[11856]: info: :--------------------------
hp-check[11856]: info: :
hp-check[11856]: info: : Device URI Model
hp-check[11856]: info: : -------------------------------------------------------- ------------------------------
hp-check[11856]: info: : hp:/usb/HP_ColorLaserJet_MFP_M178-M181?serial=VNC4G14125 HP ColorLaserJet MFP M178-M181
hp-check[11856]: info: :
hp-check[11856]: info: :---------------------------------
hp-check[11856]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[11856]: info: :---------------------------------
hp-check[11856]: info: :
hp-check[11856]: info: :
hp-check[11856]: info: :HP_Color_LaserJet_MFP_M181fw_DBA091_
hp-check[11856]: info: :------------------------------------
hp-check[11856]: info: :Type: Unknown
hp-check[11856]: info: :Device URI: ipps://NPIDBA091.local:631/ipp/print
hp-check[11856]: info: :PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M181fw_DBA091_.ppd
warning: Failed to read /etc/cups/ppd/HP_Color_LaserJet_MFP_M181fw_DBA091_.ppd ppd file
hp-check[11856]: info: :PPD Description:
hp-check[11856]: info: :Printer status: printer HP_Color_LaserJet_MFP_M181fw_DBA091_ is idle. enabled since Fr 13 Jul 2018 13:30:00 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
hp-check[11856]: info: :
hp-check[11856]: info: :HP_ColorLaserJet_MFP_M178-M181
hp-check[11856]: info: :------------------------------
hp-check[11856]: info: :Type: Printer
hp-check[11856]: info: :Device URI: hp:/usb/HP_ColorLaserJet_MFP_M178-M181?serial=VNC4G14125
hp-check[11856]: info: :PPD: /etc/cups/ppd/HP_ColorLaserJet_MFP_M178-M181.ppd
warning: Failed to read /etc/cups/ppd/HP_ColorLaserJet_MFP_M178-M181.ppd ppd file
hp-check[11856]: info: :PPD Description:
hp-check[11856]: info: :Printer status: printer HP_ColorLaserJet_MFP_M178-M181 is idle. enabled since Fr 13 Jul 2018 13:34:24 CEST
hp-check[11856]: info: :Communication status: Good
hp-check[11856]: info: :
hp-check[11856]: info: :HP_ColorLaserJet_MFP_M178-M181_2
hp-check[11856]: info: :--------------------------------
hp-check[11856]: info: :Type: Printer
hp-check[11856]: info: :Device URI: hp:/usb/HP_ColorLaserJet_MFP_M178-M181?serial=VNC4G14125
hp-check[11856]: info: :PPD: /etc/cups/ppd/HP_ColorLaserJet_MFP_M178-M181_2.ppd
warning: Failed to read /etc/cups/ppd/HP_ColorLaserJet_MFP_M178-M181_2.ppd ppd file
hp-check[11856]: info: :PPD Description:
hp-check[11856]: info: :Printer status: printer HP_ColorLaserJet_MFP_M178-M181_2 is idle. enabled since Fr 13 Jul 2018 13:48:38 CEST
hp-check[11856]: info: :Communication status: Good
hp-check[11856]: info: :
hp-check[11856]: info: :Panasonic-KX-MB1500
hp-check[11856]: info: :-------------------
hp-check[11856]: info: :Type: Unknown
hp-check[11856]: info: :Device URI: usb://Panasonic/KX-MB1500?serial=21DW49014151&interface=1
hp-check[11856]: info: :PPD: /etc/cups/ppd/Panasonic-KX-MB1500.ppd
warning: Failed to read /etc/cups/ppd/Panasonic-KX-MB1500.ppd ppd file
hp-check[11856]: info: :PPD Description:
hp-check[11856]: info: :Printer status: printer Panasonic-KX-MB1500 is idle. enabled since Di 29 Mai 2018 09:18:30 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
hp-check[11856]: info: :
hp-check[11856]: info: :
hp-check[11856]: info: :--------------
hp-check[11856]: info: :| PERMISSION |
hp-check[11856]: info: :--------------
hp-check[11856]: info: :
hp-check[11856]: info: :USB HP_ColorLaserJet_MFP_M178-M181 Required - - OK Node:'/dev/bus/usb/001/007' Perm:' root lp rw- rw- rw- rw- r--'
hp-check[11856]: info: :
hp-check[11856]: info: :-----------
hp-check[11856]: info: :| SUMMARY |
hp-check[11856]: info: :-----------
hp-check[11856]: info: :
hp-check[11856]: info: :Missing Required Dependencies
hp-check[11856]: info: :-----------------------------
hp-check[11856]: info: :None
hp-check[11856]: info: :
hp-check[11856]: info: :Missing Optional Dependencies
hp-check[11856]: info: :-----------------------------
hp-check[11856]: info: :None

hp-check[11856]: info: :
hp-check[11856]: info: :Total Errors: 0
hp-check[11856]: info: :Total Warnings: 2
hp-check[11856]: info: :
hp-check[11856]: info: :
hp-check[11856]: info: :Done.
----------------

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Ilja
Solved:
Last query:
Last reply:
Revision history for this message
Santhosh Manchikanti (santhosh.m) said :
#1

Hi Ilja,

Looks like plug-in is not installed properly.

Could you please run "hp-plugin" command. It will download and install plug-in automatically.

If you still face any issue. Please let us know.

Regards,
Santhosh

Revision history for this message
Ilja (ilja-schmelzer) said :
#2

No, this was also already installed. I have reinstalled it, and nothing changed.

Revision history for this message
Santhosh Manchikanti (santhosh.m) said :
#3

Hi Ilja,

Can you please share the logs for further analysis . Please run the following command to capture the logs.

$sudo hp-logcapture

Regards,
Santhosh

Revision history for this message
Ilja (ilja-schmelzer) said :
#4

Hi Santhosh,

Ok.

$sudo hp-logcapture told me to create a bug report at https://bugs.launchpad.net/hplip/+filebug and upload the file there, which I have done creating

https://bugs.launchpad.net/hplip/+bug/1782520

Revision history for this message
Santhosh Manchikanti (santhosh.m) said :
#5

Hi Ilja,

As you have raised the bug. Kindly close this query.

Regards,
Santhosh

Revision history for this message
Ilja (ilja-schmelzer) said :
#6

The problem will be considered at https://bugs.launchpad.net/hplip/+bug/1782520 so that it can be closed here.

Revision history for this message
Lorenzo J. Lucchini (ljl) said :
#7

If this printer, as you say, requires a binary plugin, then https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index should be amended to indicate it, because it currently says "no", possibly misleading potential customers (like me, although I was wise enough to double-check here).

This is true of other printers, too. That page should either be kept updated or removed.