HP MFP M177fw will not scan with HPLIP

Asked by wjamoore

i have tried multiple efforts to install hplip and including latest version 3.17.7 but I cannot get the scanner to work. i downloaded the trial version of vuescan and voila the scanner works, so the problem is HPLIP.

The scanner is recognized without issue, but when I try to scan i get an I/O error message

below is the output of hp-check -t

Looks like nothing odd to me but the scanner wont work.. Is it permissions?

thanks

wjam

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

 Kernel: 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:28:22 UTC 2017 GNU/Linux
 Host: Aaron-desk-PC
 Proc: 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:28:22 UTC 2017 GNU/Linux
 Distribution: 22 18
 Bitness: 32 bit

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

HPLIP-Version: HPLIP 3.17.7
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 18 version

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

[hplip]
version=3.17.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.17.7
html=/usr/share/doc/hplip-3.17.7
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.17.7
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=no

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

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1501854878
pending_upgrade_time = 0
latest_available_version = 3.16.11

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hpaio:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
printer_name =
working_dir = /home/aaronmint/HP/hplip-3.17.7/plugins/hplip-3.17.6-plugin.run

[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 = 05/08/17 10:32:16
version = 3.17.7

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

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

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

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

 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
 python-xml Python XML libraries REQUIRED - 2.1.0 OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
 sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -
 pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
 pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.11.4 OK -
 libpthread libpthread - POSIX threads library REQUIRED - 2.23 OK -
 python-devel Python devel - Python development files REQUIRED 2.2 2.7.12 OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.1.3 OK -
 python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
 cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
 reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
 pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 cups-image CUPS image - CUPS image development files REQUIRED - 2.1.3 OK -
 python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.12 OK -
 python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 sane SANE - Scanning library REQUIRED - 1.0.25 OK -

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

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

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

 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.1.3 OK 'CUPS Scheduler is running'
 network network -wget OPTIONAL - 1.17.1 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 dbus DBus - Message bus system REQUIRED - 1.10.6 OK -
 avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -

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

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

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

device `hpaio:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC' is a Hewlett-Packard HP_Color_LaserJet_Pro_MFP_M177fw all-in-one

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

  Device URI Model
  ------------------------------------ --------------------------------
  hp:/usb/HP_Color_LaserJet_Pro_MFP_M1 HP Color LaserJet Pro MFP M177fw
  77fw?serial=CNG6K3GCSC

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

EcoFax
------
Type: Unknown
Device URI: ecofaxcb:
PPD: /etc/cups/ppd/EcoFax.ppd
PPD Description: Generic PDF Printer
Printer status: printer EcoFax is idle. enabled since Tue 06 Dec 2016 12:14:22 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP-Color-LaserJet-Pro-MFP-M177fw
--------------------------------
Type: Printer
Device URI: hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
PPD: /etc/cups/ppd/HP-Color-LaserJet-Pro-MFP-M177fw.ppd
PPD Description: HP Color LaserJet Pro MFP m177fw, hpcups 3.16.3, requires proprietary plugin
Printer status: printer HP-Color-LaserJet-Pro-MFP-M177fw is idle. enabled since Fri 04 Aug 2017 15:55:51 CEST
Required plug-in status: Installed
Communication status: Good

HP-Color-LaserJet-Pro-MFP-M177fw-Fax-2
--------------------------------------
Type: Fax
Device URI: hpfax:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
PPD: /etc/cups/ppd/HP-Color-LaserJet-Pro-MFP-M177fw-Fax-2.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP-Color-LaserJet-Pro-MFP-M177fw-Fax-2 is idle. enabled since Fri 04 Aug 2017 15:55:56 CEST
Required plug-in status: Installed
Communication status: Good

HP_Color_LaserJet_Pro_MFP_M177fw
--------------------------------
Type: Printer
Device URI: hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
PPD: /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw.ppd
PPD Description: HP Color LaserJet Pro MFP M277 Postscript (recommended)
Printer status: printer HP_Color_LaserJet_Pro_MFP_M177fw is idle. enabled since Fri 04 Aug 2017 16:31:40 CEST
Required plug-in status: Installed
Communication status: Good

HP_Color_LaserJet_Pro_MFP_M177fw_fax
------------------------------------
Type: Fax
Device URI: hpfax:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
PPD: /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw_fax.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP_Color_LaserJet_Pro_MFP_M177fw_fax is idle. enabled since Fri 04 Aug 2017 16:31:40 CEST
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_M177fw
------------------
Type: Printer
Device URI: hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
PPD: /etc/cups/ppd/HP_LaserJet_M177fw.ppd
PPD Description: HP Color LaserJet Pro MFP m177fw, hpcups 3.17.7, requires proprietary plugin
Printer status: printer HP_LaserJet_M177fw is idle. enabled since Fri 04 Aug 2017 15:56:39 CEST
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_M177fw-fax
----------------------
Type: Fax
Device URI: hpfax:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
PPD: /etc/cups/ppd/HP_LaserJet_M177fw-fax.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP_LaserJet_M177fw-fax is idle. enabled since Fri 04 Aug 2017 15:56:39 CEST
Required plug-in status: Installed
Communication status: Good

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

USB HP-Color-LaserJet-Pro-MFP-M177fw Required - - OK Node:'/dev/bus/usb/001/003' Perm:' root lp rw- rw- rw- rw- r--'

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

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

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

Total Errors: 0
Total Warnings: 1

Done.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Badal (badalkumar) said :
#1

Hi,

Run these commands for generate the error logs,

SANE_DEBUG_HPAIO=12 xsane 2>&1 | tee ~/error_sane.txt
tail -f /var/log/syslog 2>&1 | tee ~/error_syslog.txt

After generate error logs please send back the error_sane.txt and error_syslog.txt file.

Thanks,
Badal

Revision history for this message
wjamoore (aaron-moore-alsatis) said :
#2

Here you go:

[sanei_debug] Setting debug level of hpaio to 12.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 323
[hpaio] sane_hpaio_get_devices(local=0): scan/sane/hpaio.c 342
[hpaio] sane_hpaio_open(/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC): scan/sane/hpaio.c 357 scan_type=5 scansrc=3
[hpaio] scan/sane/soapht.c 461: sane_hpaio_open(/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC)
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 336

Aug 9 15:04:13 Aaron-desk-PC kernel: [12000.844320] Did not find alt setting 1 for intf 0, config 1
Aug 9 15:04:13 Aaron-desk-PC xsane: io/hpmud/musb.c 389: Active kernel driver on interface=1 ret=1
Aug 9 15:04:13 Aaron-desk-PC xsane: io/hpmud/musb.c 393: Detaching kernel driver on interface=1 ret=0
Aug 9 15:04:13 Aaron-desk-PC xsane: io/hpmud/musb.c 535: claimed 7/1/2 interface
Aug 9 15:04:13 Aaron-desk-PC xsane: io/hpmud/musb.c 780: read actual device_id successfully fd=1 len=187
Aug 9 15:04:13 Aaron-desk-PC xsane: io/hpmud/musb.c 561: released 7/1/2 interface
Aug 9 15:04:13 Aaron-desk-PC xsane: io/hpmud/hpmud.c 683: invalid channel_open state
Aug 9 15:04:13 Aaron-desk-PC xsane: http.c 300: unable to open HP-SOAP-SCAN channel
Aug 9 15:04:13 Aaron-desk-PC xsane: bb_soapht.c 661: unable to open http connection hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC
Aug 9 15:04:13 Aaron-desk-PC xsane: bb_soapht.c 793: unable to get_scanner_elements: uri=hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNG6K3GCSC

I had to quit the terminal on the error_syslog as it just sat there looking at me for 5 minutes.. But I think you have the info

thanks

wjam

Can you help with this problem?

Provide an answer of your own, or ask wjamoore for more information if necessary.

To post a message you must log in.