[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909250: marked as done (HPLIP - scanner HP_LaserJet_M1120n_MFP)



Your message dated Thu, 4 Oct 2018 19:07:19 +0100
with message-id <02102018225544.5154febbf4c0@desktop.copernicus.org.uk>
and subject line Re: Bug#909250: HPLIP - scanner HP_LaserJet_M1120n_MFP
has caused the Debian Bug report #909250,
regarding HPLIP - scanner HP_LaserJet_M1120n_MFP
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
909250: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909250
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hplip
Version: 3.16.11+repack0-3

I can not scan an image from a HP LaserJet M1120n MFP.
I am using the hplip package provided by debian( HP Linux Imaging and Printing System (ver. 3.16.11))
Here is a transcript: root@scanner:/# SANE_DEBUG_DLL=255 SANE_DEBUG_NET=128 hp-scan
...
[dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/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
Using device hpaio:/net/HP_LaserJet_M1120n_MFP?ip=192.168.200.16
Opening connection to device...
[dll] sane_open: trying to open `hpaio:/net/HP_LaserJet_M1120n_MFP?ip=192.168.200.16'
error: SANE: Error during device I/O (code=9)
root@scanner:/# tail /var/log/syslog
Sep 20 13:49:20 scanner /hp-scan: hp-scan[260]: warning: hp-scan should not be run as root/superuser.
Sep 20 13:49:29 scanner /hp-scan: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 20 13:49:30 scanner /hp-scan: hp-scan[260]: warning: No destinations specified. Adding 'file' destination by default.
Sep 20 13:49:39 scanner /hp-scan: io/hpmud/pp.c 627: unable to read device-id ret=-1
Sep 20 13:49:40 scanner /hp-scan: common/utils.c 188: unable to load library libm.so: libm.so: cannot open shared object file: No such file or directory
Sep 20 13:50:25 scanner /hp-scan: io/hpmud/jd.c 678: timeout read_channel sec=45 hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.200.16
Sep 20 13:50:25 scanner /hp-scan: bb_marvell.c 346: invalid get_msg tmo=45 total=0 uri=hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.200.16
Sep 20 13:50:25 scanner /hp-scan: hp-scan[260]: error: SANE: Error during device I/O (code=9)
root@scanner:/# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.2.1
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_M1120n_MFP>
UUID urn:uuid:d564831f-ba4e-3759-6f2e-bd3405edf0bf
Info hol_s2
Location hol_s2
DeviceURI hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.200.16
State Idle
StateTime 1501834936
ConfigTime 1501834936
Type 8388612
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

 Can we add support for this? Or am I doing something wrong? The same command worked for this other printer: hp:/net/HP_LaserJet_3052 Info about my computer:
root@scanner:/# cat /etc/debian_version
9.4
root@scanner:/# uname -a
Linux scanner.docker.paul.grozav.info 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux
The machine runs inside docker:
pgrozav:~>docker version
Client:
Version: 18.06.1-ce
API version: 1.38
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:23:18 2018
OS/Arch: linux/amd64
Experimental: false

Server:
Engine:
Version: 18.06.1-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:22:21 2018
OS/Arch: linux/amd64
Experimental: false

I must say that the same problem occurs on the physical machine, outside of docker. And I also have another container that is able to scan from hp:/net/HP_LaserJet_3052 .

--- End Message ---
--- Begin Message ---
On Thu 20 Sep 2018 at 13:56:43 +0300, Tancredi-Paul Grozav wrote:

> read_channel sec=45 hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.200.16
> Sep 20 13:50:25 scanner /hp-scan: bb_marvell.c 346: invalid get_msg
> tmo=45 total=0 uri=hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.200.16

This is a message which involves the plugin.

 root@sid8:~# strings /usr/share/hplip/scan/plugins/bb_marvell-x86_32.so | grep get_msg
 bb_marvell.c 346: invalid get_msg tmo=%d total=%d uri=%s

My view is: whatever interaction is taking place between libsane-hpaio
(free) and the plugin (non-free), it is not one which can be attended to
by Debian.

https://bugs.launchpad.net/hplip

is the place to go.

Hence closing the report. Thank you for all your investigations. Sorry
it didn't work out.

Regards,

Brian.

--- End Message ---

Reply to: