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

Bug#912768: hplip-data: hp-toolbox fsck



On Mon 12 Nov 2018 at 20:05:14 +0100, Cristian Ionescu-Idbohrn wrote:

> # avahi-browse -rt _scanner._tcp
> +   eth0 IPv6 HP Color LaserJet MFP M281fdw (495F80)        _scanner._tcp        local=   eth0 IPv6 HP Color LaserJet MFP M281fdw (495F80)        _scanner._tcp        local
>    hostname = [NPI495F80.local]
>    address = [192.168.x.y]
>    port = [8289]
>    txt = ["note=" "flatbed=T" "feeder=T" "button=T" "usb_MDL=HP ColorLaserJet MFP M278-M281" "usb_MFG=HP" "mdl=ColorLaserJet MFP M278-M281" "mfg=HP" "ty=HP ColorLaserJet MFP M278-M281" "adminurl=http://NPI495F80.local."; "txtvers=1" "UUID=564e424e-4b43-4e38-5944-ace2d3495f80"]
> 
> # avahi-browse -rt _uscan._tcp
> +   eth0 IPv6 HP Color LaserJet MFP M281fdw (495F80)        _uscan._tcp          local=   eth0 IPv6 HP Color LaserJet MFP M281fdw (495F80)        _uscan._tcp          local
>    hostname = [NPI495F80.local]
>    address = [192.168.x.y]
>    port = [8080]
>    txt = ["note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e424e-4b43-4e38-5944-ace2d3495f80" "rs=eSCL" "representation=http://NPI495F80.local./ipp/images/printer.png"; "vers=2.63" "usb_MDL=HP ColorLaserJet MFP M278-M281" "usb_MFG=HP" "mdl=ColorLaserJet MFP M278-M281" "mfg=HP" "ty=HP ColorLaserJet MFP M278-M281" "adminurl=http://NPI495F80.local."; "txtvers=1"]

And now to show why these are important for you as well as for other
users.

Because the device has a _uscan._tcp service libsane-hpaio skips the
_scanner._tcp information. The important bits of the TXT record here are

  mdl=ColorLaserJet MFP M278-M28

and

  ty=HP ColorLaserJet MFP M278-M281

mdl= is effectively skipped and only ty= looked at by HPLIP.

The "HP" plus the space is removed and models.dat is tested for having
[colorLaserJet_mfp_m278-m281]. If it doesn't have it, what *should*
happen is that it should test for [hp_colorLaserJet_mfp_m278-m281]. On
3.17.10 this does not happen and the scanner is not found. This is
likely the source of you previous problem.

On 3.18.10 the search for [hp_colorLaserJet_mfp_m278-m281] succeeds. I
have no idea what causes this.

(One thing I have learnt from your response is that _uscan can have an
mdl= key).

Thanks again.

-- 
Brian.


Reply to: