HP Scanner Drivers not detected

greetings all
after a prolonged absence, I re-registered to use this great knowledge base
my issue:
I downloaded and installed the proper printer and scanner driver software for my HP Color Laser MFP 178nwg (uld-hp/HP_Color_Laser_MFP_17x_Series.ppd)
YAST found printer driver set and I could install printer and it prints without issues
however, YAST Scanner install does not list the scanner’s driver set
HP Device Mgr does not find printer even when connected directly to system via USB
could someone point me in direction of some more troubleshooting
thank you

I have installed:
opensuse tumbleweed 20211211
KDE plasma version 5.23.4
KDE framework version 5.88.0
Qt version 5.15.2
Kernel 5.15.6-1-default (64-bit)
on a:
2010 Mac Mini (single boot) with:
2 Intel Core Duo CPU p8600 @ 2.40 GHz
NVIDIA GeForce 320M graphics card
16 GB RAM and a 480 GB SSD

Use as root with Scanner on USB:

hp-setup

hallo Sauerland
here is the output you requested:

syndicate:~ # hp-setup -i
HP Linux Imaging and Printing System (ver. 3.21.10)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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: Defaults for each question are maked with a ‘*’. Press <enter> to accept the default.)

SELECT CONNECTION (I/O) TYPE

Num Connection Description
Type


0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
*Enter number 0…1 for connection type (q=quit, enter=usb) ? **
Using connection type: usb
error: No device selected/specified or that supports this functionality.

Please show us the working printer device URI as reported by

lpstat -t

The scanner depends on it using the hp backend (as supplied by hplip).

hallo here is the output:

orion@syndicate:~> lpstat -t 
scheduler is running 
system default destination: BerlinColourLaser 
device for BerlinColourLaser: socket://192.168.2.119:9100 
BerlinColourLaser accepting requests since Sun 12 Dec 2021 01:31:17 PM CET 
printer BerlinColourLaser is idle.  enabled since Sun 12 Dec 2021 01:31:17 PM CET 
orion@syndicate:~> 




Ok that is the problem. You’re not using the HPLIP backend (and driver).

socket://192.168.2.119:9100

The device URI should look more like

hp:/net/.......

BTW, perhaps kill the firewall if active and try using hp-setup again. Does it find your network printer then?

thank you for your reply
I have tried both the hp-setup GUI and hp-setup -i with the firewall disabled, and: nada
hp-setup doesn’t even find the USB-connected printer
how can I activate the HPLIP backend?
theo

I also ran hp-check -r (which I found in another thread)
there seem to be packages missing that are incompatible … any suggestions? … thank you!!

orion@syndicate:~> hp-check -r 
/usr/bin/hp-check:685: SyntaxWarning: "is not" with a literal. Did you mean "!="? 
  if 'getfacl' not in g and '' is not g and 'file' not in g: 
**Saving output in log file: /home/orion/hp-check.log**

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

Copyright (c) 2001-18 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 

**warning: 3-20211211 version is not supported. Using 3-15.3 versions dependencies to verify and install...**

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

 Kernel: 5.15.6-1-default #1 SMP Wed Dec 1 08:32:12 UTC 2021 (c2ce213) GNU/Linux 
 Host: syndicate 
 Proc: 5.15.6-1-default #1 SMP Wed Dec 1 08:32:12 UTC 2021 (c2ce213) GNU/Linux 
 Distribution: 3 20211211 
 Bitness: 64 bit 


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

HPLIP-Version: HPLIP 3.21.10 
HPLIP-Home: /usr/share/hplip 
**warning: HPLIP-Installation: Auto installation is not supported for 3 distro  20211211 version **

**Current contents of '/etc/hp/hplip.conf' file:**
# hplip.conf.  Generated from hplip.conf.in by configure. 

[hplip] 
version=3.21.10 

[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.21.10 
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:**
Plugins are not installed. Could not access file: No such file or directory 

**Current contents of '~/.hplip/hplip.conf' file:**
[commands] 
scan = /usr/bin/xsane -V %SANE_URI% 

[fax] 
email_address =  
voice_phone =  

[installation] 
date_time = 12/14/21 06:47:21 
version = 3.21.10 

[last_used] 
device_uri =  
printer_name =  
working_dir = . 

[polling] 
device_list =  
enable = false 
interval = 5 

[refresh] 
enable = true 
rate = 30 
type = 2 

[settings] 
systray_messages = 1 
systray_visible = 2 

[upgrade] 
last_upgraded_time = 1638917918 
notify_upgrade = true 
pending_upgrade_time = 0 


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment> 

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

 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.3.3           OK         'CUPS Scheduler is running' 
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.54.0          OK         - 
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         - 
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.32          OK         - 
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.20         OK         - 
** error: policykit     PolicyKit - Administrative policy framework                  OPTIONAL        -               0.120           MISSING    'policykit needs to be installed'**
 network              network -wget                                                OPTIONAL        -               1.21.2          OK         - 
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.8             OK         - 

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

 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         - 
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.3.3           OK         - 
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.3.3           OK         - 
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.34'         OK         - 
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         - 
 sane                 SANE - Scanning library                                      REQUIRED        -               1.0.32          OK         - 
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.32          OK         - 
 libavahi-dev         libavahi-dev                                                 REQUIRED        -               -               OK         - 
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.9.1           OK         - 
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         - 
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.12          OK         - 
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         - 
** error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be ins**
talled'
** 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.18          OK         - 
 python3-xml          Python XML libraries                                         REQUIRED        -               2.4.1           OK         - 
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.8.12          OK         - 
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               8.4.0           OK         - 
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.6.2           OK         - 

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

 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         - 
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               11.2.1          OK         - 
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.3             OK         - 

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

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

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

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

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

No Scanner found. 

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

No devices found. 

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

  
**BerlinColourLaser**
**-----------------**
Type: Unknown 
Device URI: socket://192.168.2.119:9100 
PPD: /etc/cups/ppd/BerlinColourLaser.ppd 
**warning: Failed to read /etc/cups/ppd/BerlinColourLaser.ppd ppd file**
PPD Description:  
Printer status: printer BerlinColourLaser is idle.  enabled since Sun 12 Dec 2021 01:31:17 PM CET 
**warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.**


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

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

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

**Missing Optional Dependencies**
**-----------------------------**
**error: 'dbus-1-python3-devel' package is missing/incompatible **
**error: 'dbus-1-python3' package is missing/incompatible **

Total Errors: 3 
Total Warnings: 1 


Done. 
orion@syndicate:~>

Connect with USB and post:

lsusb

If not shown, use another Port, Cable and please no Hub.

good morning
here is the output you requested
printer can be seen here, but hp-setup still can’t find it

orion@syndicate:~> lsusb 
Bus 002 Device 005: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI) 
Bus 002 Device 003: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 004 Device 007: ID 05ac:8218 Apple, Inc. Bluetooth Host Controller 
Bus 004 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) 
Bus 004 Device 003: ID 05ac:8242 Apple, Inc. Built-in IR Receiver 
Bus 004 Device 002: ID 1bcf:05ce Sunplus Innovation Technology Inc. 2.4GHz 2way RF Receiver 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 001 Device 004: ID 03f0:eb2a HP, Inc HP Color Laser MFP 178nw 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
orion@syndicate:~>

After further reading, I think I need to retract my advice re HPLIP. I assumed that there was HPLIP support as a similar model (MFP 178nw) was listed in the supported_devices page. Anyway, returning to your opening post, you mentioned that you has installed a driver package. I assume that this was ‘uld-hp_V1.00.39.12_00.15.tar.gz’?

In an effort to assist I downloaded this driver archive package and extracted the files. I note that it provides install.sh, install-printer.sh, and install-scanner.sh, (along with associated uninstall scripts as well). Did you run the install.sh script successfully as part of your printer config steps?

This is where I started to have doubts…
https://answers.launchpad.net/hplip/+question/691256
Comment #3 onwards.

HPLIP (version 3.18.5) claims support for HP Color LaserJet Pro MFP M178n (and cn) models, but perhaps not for HP Color Laser MFP 178nwg. Hence the ULD driver may be the only option here. If provides both printer and scanner driver components. We just need to clarify whether the install script completed successfully. You might try running the 'install-scanner script (since you mentioned that the printer function was already working).

sudo /path/to/install-scanner.sh

hello,and thank you for your kind support
I ran the scripts and the install appeared to be successful (just ran it again, and this is the output):

orion@syndicate:~> su - 
Password:  
**syndicate:~ #** cd /home/orion/Downloads/uld 
**syndicate:/home/orion/Downloads/uld #** ./install.sh                 
**** Running install ... 
**** Press 'Enter' to continue or 'q' and then 'Enter' to quit. :  
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

**** Do you agree ? [y/n] : y 
**** The same version of Print driver is already installed. 
**** The same version of Scan driver is already installed. 
**** Install finished. 
**syndicate:/home/orion/Downloads/uld #**

Ok, and does scanimage find the scanner?

scanimage -L

Can you scan using a GUI scanner application such as xsane, simple-scan, skanlite etc?

here are the outputs:
first two via network,
next two via USB connexion
last two as suggested in ‘scanimage tool’

orion@syndicate:~> scanimage -L 

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). 
orion@syndicate:~> su - 
Password:  
**syndicate:~ #** scanimage -L 

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). 
**syndicate:~ #** scanimage -L 

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). 
**syndicate:~ #** exit 
logout 
orion@syndicate:~> scanimage -L 

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). 
orion@syndicate:~> sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the 
  # result is different from what you expected, first make sure your 
  # scanner is powered up and properly connected to your computer. 

  # No SCSI scanners found. If you expected something different, make sure that 
  # you have loaded a kernel SCSI driver for your SCSI adapter. 

could not open USB device 0x05ac/0x024f at 002:005: Access denied (insufficient permissions) 
could not open USB device 0x05ac/0x1006 at 002:003: Access denied (insufficient permissions) 
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions) 
could not open USB device 0x05ac/0x8218 at 004:007: Access denied (insufficient permissions) 
could not open USB device 0x0a5c/0x4500 at 004:004: Access denied (insufficient permissions) 
could not open USB device 0x05ac/0x8242 at 004:003: Access denied (insufficient permissions) 
could not open USB device 0x1bcf/0x05ce at 004:002: Access denied (insufficient permissions) 
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions) 
found USB scanner (vendor=0x03f0 [HP Inc.], product=0xeb2a [HP Color Laser MFP 178nw]) at libusb:001:004 
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions) 
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions) 
  # Your USB scanner was (probably) detected. It may or may not be supported by 
  # SANE. Try scanimage -L and read the backend's manpage. 

  # Not checking for parallel port scanners. 

  # Most Scanners connected to the parallel port or other proprietary ports 
  # can't be detected by this program. 

  # You may want to run this program as root to find all devices. Once you 
  # found the scanner devices, be sure to adjust access permissions as 
  # necessary. 
orion@syndicate:~> su - 
Password:  
su: Authentication failure 
orion@syndicate:~> su - 
Password:  
**syndicate:~ #** sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the 
  # result is different from what you expected, first make sure your 
  # scanner is powered up and properly connected to your computer. 

  # No SCSI scanners found. If you expected something different, make sure that 
  # you have loaded a kernel SCSI driver for your SCSI adapter. 

could not fetch string descriptor: Pipe error 
could not fetch string descriptor: Pipe error 
found USB scanner (vendor=0x05ac [Apple Inc.], product=0x8218 [Bluetooth USB Host Controller]) at libusb:004:007 
found USB scanner (vendor=0x03f0 [HP Inc.], product=0xeb2a [HP Color Laser MFP 178nw]) at libusb:001:004 
  # Your USB scanner was (probably) detected. It may or may not be supported by 
  # SANE. Try scanimage -L and read the backend's manpage. 

  # Not checking for parallel port scanners. 

  # Most Scanners connected to the parallel port or other proprietary ports 
  # can't be detected by this program. 
**syndicate:~ #**

Ok, so the device is detected when USB-connected.

found USB scanner (vendor=0x03f0 [HP Inc.], product=0xeb2a [HP Color Laser MFP 178nw]) at libusb:001:004

…and I assume that you can scan ok with it?

For network scanning, the firewall may be an issue. Did you try with firewall stopped? Alternatively, did you check to see if smfp traffic is allowed?

From what I have read about Samsung network printers, port 22161/UDP needs to be open for ‘smfpnetdiscovery’ to work. HP acquired Samsung’s printer business a few years ago. This model is supported by the unified Linux driver, so a little different to HPLIP-supported devices. Anyway, try that and see if discovered on the network ok.

Yes, I installed sane-airscan and now it works just great.

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

deano_ferrari, sauerland, and karlmistelberger
THANK YOU so much for all your help!!
it was indeed the install of sane-airscan that finally detected and enabled the scanner of my Color Laser MFP 178 nwg printer
so, this thread could be closed - can i do that or should an admin?
again: many many THANKS
theo