LaserJet Pro MFP M127fn communication error

Bug #1630577 reported by Saul A. Peebsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Invalid
Undecided
Unassigned

Bug Description

LaserJet Pro MFP M127fn
hp-setup runs and finishes fine, printing does not work nor does the scanning.

error: Unable to communicate with device (code=12): hp:/net/HP_LaserJet_Pro_MFP_M127fn?ip=192.168.2.10
error: Unable to open device hp:/net/HP_LaserJet_Pro_MFP_M127fn?ip=192.168.2.10.

error: SANE: Error during device I/O (code=9)

This is on Gentoo. So I installed Mint 18 in a virtual machine, same problem. As a last resort installed W7 in virtual machine - scanning and printing works.
This is not network issue, I can access printers web interface no problem.

I purchased this unit only because it it is claimed to have full Linux support ...

https://paste.pound-python.org/show/14JZnEbKGpeDphJ4zZLd/

Revision history for this message
Gaurav Sood (gaurav-sood) wrote :

Did you install plugin. If not please run "hp-plugin" on terminal and follow the prompts

Revision history for this message
Saul A. Peebsen (emeritus) wrote :

Yes I certainly did. Please see the pastebin link above.

Revision history for this message
Saul A. Peebsen (emeritus) wrote :

I have also a Dell laptop, running Mint Xfce 32-bit. I installed the latest hplip on it, plugin included. Same problem, same errors.

Revision history for this message
Ajay Kedar (ajay-kedar) wrote :
Changed in hplip:
status: New → In Progress
Revision history for this message
Saul A. Peebsen (emeritus) wrote :

I'm trying to do it Gentoo way, and failing as seen below. Obviously the path is not correct. Will try now and patch it the usual way.

>>> Emerging (1 of 1) net-print/hplip-3.16.9::gentoo
 * hplip-3.16.9.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
 * hplip-3.16.5-patches-1.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking hplip-3.16.9.tar.gz to /home/portagetmp/portage/net-print/hplip-3.16.9/work
>>> Unpacking hplip-3.16.5-patches-1.tar.xz to /home/portagetmp/portage/net-print/hplip-3.16.9/work
>>> Source unpacked in /home/portagetmp/portage/net-print/hplip-3.16.9/work
>>> Preparing source in /home/portagetmp/portage/net-print/hplip-3.16.9/work/hplip-3.16.9 ...
 * Applying patches from /home/portagetmp/portage/net-print/hplip-3.16.9/work/patches ...
 * hplip-3.12.6-fast-pp_1.patch ... [ ok ]
 * hplip-3.12.6-fast-pp_2.patch ... [ ok ]
 * hplip-3.14.10-process-events-for-systray.patch ... [ ok ]
 * hplip-3.15.6-distribution.patch ... [ ok ]
 * Applying patches from /etc/portage/patches/net-print/hplip ...
 * ajay.patch ...
The text leading up to this was:
--------------------------
|--- /home/ajay/3.16.9-public_release/hplip-3.16.9/io/hpmud/pml.c 2016-09-19 18:34:16.000000000 +0530
|+++ io/hpmud/pml.c 2016-10-07 11:46:37.731688094 +0530
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored [ !! ]

Revision history for this message
Saul A. Peebsen (emeritus) wrote :

OK, what I'm doing wrong. I unpacked the tarball, patched it successfully, cd into hplip-3.16.9, ran make ...

 No targets specified and no makefile found. Stop.

Revision history for this message
Saul A. Peebsen (emeritus) wrote :

OK, managed to build it with patch, the output is below. Thanks for looking into this!

Oct 7 09:42:08 zeus hp-scan[7197]: hp-scan[7197]: warning: No destinations specified. Adding 'file' destination by default.
Oct 7 09:42:11 zeus hp-scan[7197]: io/hpmud/pml.c 250: Error in snmp_synch_response
Oct 7 09:42:13 zeus hp-scan[7197]: io/hpmud/pml.c 250: Error in snmp_synch_response
Oct 7 09:42:13 zeus hp-scan[7197]: io/hpmud/jd.c 93: unable to read device-id
Oct 7 09:42:13 zeus hp-scan[7197]: scan/sane/soapht.c 478: unable to open device hp:/net/HP_LaserJet_Pro_MFP_M127fn?ip=192.168.2.10
Oct 7 09:42:13 zeus hp-scan[7197]: common/utils.c 220: Invalid Library hanlder pLibHandler = NULL.
Oct 7 09:42:13 zeus hp-scan[7197]: common/utils.c 220: Invalid Library hanlder pLibHandler = NULL.
Oct 7 09:42:13 zeus hp-scan[7197]: common/utils.c 220: Invalid Library hanlder pLibHandler = NULL.
Oct 7 09:42:13 zeus hp-scan[7197]: hp-scan[7197]: error: SANE: Error during device I/O (code=9)

Revision history for this message
Saul A. Peebsen (emeritus) wrote :

OK, this gave me a hint to look at printer setup. SNMP was disabled. I do not remember knowingly disabling it, and everything worked in Windows virtual machine anyway.
With SNMP set to read-only printing and scanning work.

I'm old school, I used to set jumpers before PnP was invented. Do we really need all this SNMP and Avahi and Zeroconf and whatnot? Oh, never mind, end of rant.

Changed in hplip:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.