Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62096 - [hplip] scan support for HP photosmart b109a-m and maybe others vanished in HPLIP 3.19.

Attached to Project: Arch Linux
Opened by Oid Maps (dreieck) - Thursday, 21 March 2019, 01:45 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 11:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

In HPLIP 3.19, the section '[photosmart_b109a-m]' was removed from '/usr/share/hplip/data/models/models.dat' (only section '[photosmart_b109a_series]' is there, but that is not sufficient to match the device for scanning).

In HPLIP 3.18, both sections were present.

This makes the device not recognised by HPLIP tools:

`hp-check -t` prints out

error: Unsupported model: Photosmart_B109a-m

and the device is also not recognised for scanning (scanimage -L does not find it).

If I manually re-add the section '[photosmart_b109a-m]' to '/usr/share/hplip/data/models/models.dat' everything works again.

A patch is attached which re-adds the Photosmart b109a-m to models.dat.

Note, that in HPLIP 3.19 also other printers seem to have disappeared from models.dat, e.g. '[hp_colorpro_plotter]'.

A quick diff reveals that a subset of the following printers has disappeared:

[color_inkjet_printer_cp1700]
[deskjet_690]
[deskjet_f4210_series]
[deskjet_f4213_series]
[hp_2]
[hp_7220]
[hp_7221]
[hp_7475a]
[hp_7550]
[hp_7580]
[hp_7585]
[hp_7586b]
[hp_9872]
[hp_business_inkjet_1000]
[hp_color_inkjet_cp1700]
[hp_color_laserjet_1500]
[hp_color_laserjet_2500]
[hp_color_laserjet_2550]
[hp_color_laserjet_4600_series]
[hp_color_laserjet_9500_mfp]
[hp_colorlaserjet_mfp_m278-m281]
[hp_colorpro_plotter]
[hp_designjet]
[hp_designjet_100]
[hp_designjet_1050c_plus]
[hp_designjet_1055cm_plus]
[hp_designjet_10ps]
[hp_designjet_110]
[hp_designjet_120]
[hp_designjet_130]
[hp_designjet_2000cp]
[hp_designjet_200]
[hp_designjet_20ps]
[hp_designjet_220]
[hp_designjet_230]
[hp_designjet_2500cp]
[hp_designjet_250c]
[hp_designjet_2800cp]
[hp_designjet_3000cp]
[hp_designjet_30]
[hp_designjet_330]
[hp_designjet_3500cp]
[hp_designjet_350]
[hp_designjet_3800cp]
[hp_designjet_4000]
[hp_designjet_4000ps_(q1274a)]
[hp_designjet_4020]
[hp_designjet_430]
[hp_designjet_4500]
[hp_designjet_450]
[hp_designjet_4520]
[hp_designjet_455ca]
[hp_designjet_488ca]
[hp_designjet_5000]
[hp_designjet_500]
[hp_designjet_500_plus]
[hp_designjet_50ps]
[hp_designjet_5100]
[hp_designjet_510ps]
[hp_designjet_5500]
[hp_designjet_600]
[hp_designjet_650c]
[hp_designjet_700]
[hp_designjet_70]
[hp_designjet_750c]
[hp_designjet_800]
[hp_designjet_815]
[hp_designjet_820]
[hp_designjet_90]
[hp_designjet_cc800ps]
[hp_designjet_colorpro]
[hp_designjet_scanner_4200]
[hp_designjet_t1100ps]
[hp_designjet_t1120]
[hp_designjet_t610]
[hp_designjet_t620]
[hp_designjet_z2100]
[hp_designjet_z3100]
[hp_designjet_z3200]
[hp_designjet_z6100]
[hp_deskjet_1000c]
[hp_deskjet_200]
[hp_deskjet_320]
[hp_deskjet_340c]
[hp_deskjet_710c]
[hp_deskjet_712c]
[hp_deskjet_720c]
[hp_deskjet_722c]
[hp_deskjet_820c]
[hp_deskjet_plus]
[hp_draftmaster]
[hp_draftpro]
[hp_eaglejet]
[hp_electrostatic_225]
[hp_electrostatic_240]
[hp_electrostatic_250]
[hp_electrostatic_355]
[hp_laserjet_100_colormfp_m175a]
[hp_laserjet_100_colormfp_m175b]
[hp_laserjet_100_colormfp_m175c]
[hp_laserjet_100_colormfp_m175e]
[hp_laserjet_100_colormfp_m175nw]
[hp_laserjet_100_colormfp_m175p]
[hp_laserjet_100_colormfp_m175q]
[hp_laserjet_100_colormfp_m175r]
[hp_laserjet_1160]
[hp_laserjet_2100]
[hp_laserjet_2200]
[hp_laserjet_2300]
[hp_laserjet_3200m]
[hp_laserjet_3200se]
[hp_laserjet_5000]
[hp_laserjet_8000]
[hp_laserjet_cp_1025]
[hp_laserjet_cp_1025nw]
[hp_laserjet_professional_p1102w]
[hp_photosmart]
[officejet_5105]
[officejet_5110]
[officejet_5110v]
[officejet_7000_e809a]
[photosmart_7150]
[photosmart_7150~]
[photosmart_7200_series~]
[photosmart_7350]
[photosmart_7350~]
[photosmart_b109a-m]
[photosmart_pro_b9100_series]

(I wrote subset, because a few of them have not disappeared but just have changed position in the file such that diff did output them. I did not take the work to remove them from the list.)


Additional info:
* package version(s): 3.19.1
* config and/or log files etc.
* link to upstream bug report: http://bugs.launchpad.net/hplip/+bug/1821079

Steps to reproduce:
Have a printer/scanner that identifies itself as 'Photosmart B109a-m' connected via USB. Have HPLIP 3.18.x installed. Run `scanimage -L` or `hp-check -t` and note that the device is recognised and SANE could scan from it. Upgrade to HPLIP 3.19.1. Run `scanimage -L` or `hp-check -t` and note that the device is not recognised and SANE could not scan from it.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 11 December 2019, 11:20 GMT
Reason for closing:  Upstream
Comment by Sebastian Berger (seb-berger) - Saturday, 13 April 2019, 06:56 GMT
I can confirm the behaviour described above for the [hp_laserjet_100_colormfp_m175nw] printer/scanner.
Comment by Oid Maps (dreieck) - Tuesday, 30 April 2019, 14:47 GMT
So, I manually re-added all the printer definitions removed from the `models.dat`. I also re-added `modelN=<string>` here and there, not really knowing what they mean exactly.

Here is my patch for `hplip 3.19.3`'s `models.dat` which re-adds the printers which were present in `hplip 4.18.12` but not anymore in `hplip 4.19.3` (attached and at http://ix.io/1HEt).
Comment by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 20:10 GMT
Reverting such change should not be done downstream. You should ask upstream about the proper driver support.
Comment by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 11:19 GMT

Loading...