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

Bug#879719: libsane-hpaio: Does not recognize OfficeJet Pro 8710



On Fri 01 Dec 2017 at 18:01:05 +0100, Gedalya wrote:

> On 12/01/2017 05:51 PM, Brian Potkin wrote:
> >
> > I would appreciate that you do one re-test. Depending on the outcome, I
> > think we will see light at the end of the tunnel. :)
> >
> > You report:
> >
> >  > When cupsd is running and the AIO is configured as a printer
> >  > in CUPS, this issue does not occur.
> >
> > and
> >
> >  > With CUPS running, or with models.dat edited:
> >  >$ scanimage -L
> >  > device `hpaio:/net/officejet_pro_8710?ip=192.168.9.238&queue=false' is a Hewlett-Packard officejet_pro_8710 all-in-one
> >
> > Now - have CUPS running *and* Bonjour de-activated on the 8710. Does
> > 'scanimage -L' work?
> >
> > That is the only thing I want to know.
> 
> $ scanimage -L
> device `hpaio:/net/HP_OfficeJet_Pro_8710?ip=192.168.9.238' is a Hewlett-Packard HP_OfficeJet_Pro_8710 all-in-one
> 
> hmm.. this clearly contradicts what I wrote before:
> 
> > After turning off Bonjour, scanimage -L does not find the scanner, whether cupsd is running or not.
> 
> I'm pretty sure I checked that fact carefully before writing so. I'm
>  not sure what's going on.

Your result is exactly what should be observed. The URI is coming from
the print queue's URI. We know that URI is correct because you can print.

You have also reported:

 > Note: In order to produce this, I need to stop cupsd.

and

 > This is my output, with cupsd notably stopped.

(I hope this still holds because my explanation depends on it :) ).

When cupsd is stopped, the print queue's URI cannot be used. But your
8710 had Bonjour turned on by default (you had to turn it off for one
of the tests} and scanimage will look at the broadcasts. (It does not
look at the broadcasts when the print queue is operative).

But you report as above. Therefore, scanimage is not picking up the
Bonjour broadcasts. It looks like a bug somewhere; but not in the
Debian package. But where? I'm now going to do a bit of guessing.

Another piece of good information you provide is:

=   eth0 IPv6 HP OfficeJet Pro 8710 [XXXXXX]                _scanner._tcp        local
   txt = ["feeder=T" "flatbed=T" "button=T" "UUID=1c852a4d-b800-1f08-abcd-xxxxxxxxxxxx"
   "note=" "adminurl=http://HPxxxxxxxxxxxx.local."; "mdl=OfficeJet Pro 8710" "mfg=HP"
   "ty=HP OfficeJet Pro 8710" "txtvers=1"]

I think (but am nowhere near certain) that the mdl= key is used by
hpaio. It could be incorrect (a firmware bug) or mishandled by HPLIP.

How does that sound?

Cheers,

Brian.


Cheers,

Brian.


Reply to: