Cannot find the scanner in HP Device Manager

Asked by Jens Fosen

Hello,

Cannot find the icon of the scanner in the HP Device Manager using hplip 3.18.6. However, scanning from the embedded web server works fine.

Running openSUSE Leap 15.0 / KDE Plasma 5.12.6 / KDE Framework 5.45.0 Qt-version: 5.9.4, Kernel 4.12.14-lp150.12.16-default, 64-bit - clean installed.
Printer: HP ENVY Photo 6220 last updated software today.

-------------------------------
 # hp-check -t
Saving output in log file: /root/hp-check.log

HP Linux Imaging and Printing System (ver. 3.18.6)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
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 proper dependencies are installed to successfully compile HPLIP.
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 tarball has the proper dependencies installed to successfully run.
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 dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

/bin/sh: lsb_release: command not found
warning: welcome distro is not found in AUTH_TYPES
warning: 0-0.0 version is not supported. Using 0-0 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.12.14-lp150.12.16-default #1 SMP Tue Aug 14 17:51:27 UTC 2018 (28574e6) GNU/Linux
 Host: Viking
 Proc: 4.12.14-lp150.12.16-default #1 SMP Tue Aug 14 17:51:27 UTC 2018 (28574e6) GNU/Linux
 Distribution: 0 0.0
 Bitness: 64 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.18.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 distro 0.0 version

Current contents of '/etc/hp/hplip.conf' file:
# 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/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
html==/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.18.6
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no

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

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

-------------------------
| External Dependencies |
-------------------------

 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.23 OK -
 error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 128 OK -
 error: dbus DBus - Message bus system REQUIRED - 1.12.2 MISSING 'DBUS may not be installed or not running'
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.114 OK -
 network network -wget OPTIONAL - 1.19.5 OK -
 error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'

------------------------
| General Dependencies |
------------------------

 error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
 error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 MISSING 'cups-devel needs to be installed'
 error: cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 MISSING 'cups-image needs to be installed'
 error: libpthread libpthread - POSIX threads library REQUIRED - b'2.26' MISSING 'libpthread needs to be installed'
 error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
 sane SANE - Scanning library REQUIRED - - OK -
 error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 MISSING 'libnetsnmp-devel needs to be installed'
 error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 MISSING 'libcrypto needs to be installed'
 python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.5 OK -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
 python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.4 OK -
 python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
 error: python3-devel Python devel - Python development files REQUIRED 2.2 3.6.5 MISSING 'python3-devel needs to be installed'
 python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
 error: python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 - MISSING 'python3-reportlab needs to be installed'

--------------
| COMPILEDEP |
--------------

 error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
 error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - - MISSING 'gcc needs to be installed'
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -

---------------------
| Python Extentions |
---------------------

 cupsext CUPS-Extension REQUIRED - 3.18.6 OK -
 hpmudext IO-Extension REQUIRED - 3.18.6 OK -

----------------------
| Scan Configuration |
----------------------

 hpaio HPLIP-SANE-Backend REQUIRED - 3.18.6 OK 'hpaio found in /etc/sane.d/dll.conf'
 scanext Scan-SANE-Extension REQUIRED - 3.18.6 OK -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: opendir failed: No such file or directory
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `hpaio'
[dll] sane_get_devices
[dll] load: searching backend `hpaio' in `/usr/lib64/sane'
[dll] load: trying to load `/usr/lib64/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib64/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: opendir failed: No such file or directory
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `hpaio'
[dll] sane_get_devices
[dll] load: searching backend `hpaio' in `/usr/lib64/sane'
[dll] load: trying to load `/usr/lib64/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib64/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
device `hpaio:/net/ENVY_Photo_6200_series?ip=192.168.10.159' is a Hewlett-Packard ENVY_Photo_6200_series all-in-one
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

ENVY_Photo_6200
---------------
Type: Printer
Device URI: hp:/net/ENVY_Photo_6200_series?ip=192.168.10.159
PPD: /etc/cups/ppd/ENVY_Photo_6200.ppd
PPD Description: HP Envy Photo 6200 Series hpijs, 3.17.9
Printer status: printer ENVY_Photo_6200 is idle. enabled since Sat Sep 15 08:50:22 2018
Communication status: Good

--------------
| PERMISSION |
--------------

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 18
Total Warnings: 1

Done.
----------------------------------------

I'm not in to the console use and prefer to use KDE / Yast interfaces.

Do I need xsane installed?

Hoping for assistance,

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Jens Fosen
Solved:
Last query:
Last reply:
Revision history for this message
srinivas (srinivas5) said :
#1

Hi Jens,

All the "REQUIRED" packages mentioned int he hp-check shown as "errors" needs to be installed for proper functioning of HPLIP driver.
If you see any issues with the missing packages installation, please use "suse 42.3" or "suse 13.2" distro. As "suse 15" distro is not supported in the HPLIP driver.
Also please use the latest driver, 3.18.7.

Thanks,
Srinivas Teja.

Revision history for this message
Jens Fosen (jensf) said :
#2

Hi Srinivas,

I tried this but I get the following that I do not find away to solve because of absolete pyqt4 and pyqt4-dbus in openSUSE?

How to proceed?

Thanks in advance.
Jens

MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name Component Required/Optional
pil scan OPTIONAL
pyqt4-dbus gui_qt4 REQUIRED
reportlab fax OPTIONAL
pyqt4 gui_qt4 REQUIRED
python-notify gui_qt4 OPTIONAL
xsane scan OPTIONAL
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)
warning: This installer cannot install 'pyqt4-dbus' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

Revision history for this message
srinivas (srinivas5) said :
#3

Hi Jens,

As mentioned above, suse 15.0 is not supported in HPLIP driver, so packages are not getting installed.
please use "suse 42.3" instead.

Thanks,
Srinivas Teja.

Revision history for this message
Jens Fosen (jensf) said :
#4

Hi Srinivas,

I did that yesterday and found the pyqt4 files that was needed and got a clean installation using suse 42.3.

However, the scan icon did not show up in the HP Device Manager and after a restart the desktop had an error I could not understand; something io / kio - so from frustration I deleted the complet installation and no sitting without both an os and a working printer.

Maybe I try a clean install tonight or back to the win... slavery :-) - however a working printer and scanner is important for me.

Will Hplip for suse 15.0 eventually be up and running?

Thanks,
Jens

Revision history for this message
srinivas (srinivas5) said :
#5

Once the final ISO has been released for suse 15.0 by the distro team, it will be planned to support in hplip releases.

Revision history for this message
Jens Fosen (jensf) said :
#6

Hi Srinivas,

I used the "Experimental" distribution 3.18.6-lp150.174.1 I found on openSUSE and by using xsane I have a working solution I can live with in the moment.

Thank you so much for kind help - I will be waiting the final ISO

Thanks and best regards

Jens