hp-levels, hp-info don't report the PSC-2175 color cartridge levels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
Distribution: Debian
Package: hplip
Version: 3.16.11+repack0-2
hp-levels and hp-info only report the black ink cartridge levels, and not the color one.
For instance:
$ hp-levels
HP Linux Imaging and Printing System (ver. 3.14.6)
Supply Levels Utility ver. 2.0
Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device: hp:/usb/
Black cartridge
Part No.: 56 (C6656A) / 27 (C8727A)
Health: Good/OK
-------
|//////
-------
Done.
The printer is an HP PSC-2175, the color cartridge is a 57 (C6657A).
I have attached the hp-check information. I find it strange that it claims development packages are needed for the runtime (python3-dev, libsnmp-dev, libtool, libtool-bin). None of the missing dependencies it reports seem to matter.
(resubmitting against the right bug report, see 1684987)
I retested this with hplip-3.17.4.run but I am getting the same result. Here is the debug output of hp-levels:
$ hp-levels -g
HP Linux Imaging and Printing System (ver. 3.17.4)
Supply Levels Utility ver. 2.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
hp-levels[41123]: debug: getDeviceUri(None, None, ('hp',), None, , True) hplip/data/ models/ models. dat hplip/data/ models/ models. dat hplip/data/ models/ models. dat PSC_2170_ Series? serial= MY359C91BQ73' : ['PSC-2170-Series', 'PSC_2170']} PSC_2170_ Series? serial= MY359C91BQ73
hp-levels[41123]: debug: Mode=0
hp-levels[41123]: debug: Cache miss: psc_2170_series
hp-levels[41123]: debug: Reading file: /usr/share/
hp-levels[41123]: debug: Searching for section [psc_2170_series] in file /usr/share/
hp-levels[41123]: debug: Found section [psc_2170_series] in file /usr/share/
hp-levels[41123]: debug: {'hp:/usb/
Using device : hp:/usb/
hp-levels[41123]: debug: num_pens = 2
hp-levels[41123]: debug: pen 0 {'index': 0, 'kind': 3L, 'level': 0, 'level-trigger': 5, 'health': 0, 'type': 1, 'id': 9}
hp-levels[41123]: debug: pen 1 {'index': 1, 'kind': 0L, 'level': 7, 'level-trigger': 2, 'health': 1, 'type': 0, 'id': 24}
hp-levels[41123]: debug: 1: agent_type 1 agent_kind 3 agent_sku '56 (C6656A) / 27 (C8727A)'
Black cartridge
Part No.: 56 (C6656A) / 27 (C8727A)
Health: Low
------- ------- ------- ------- ------- ------- ------- ------- ------- - ------- ------- ------- ------- ------- ------- ------- ------- -
| | (approx. 0%)
-------
Done.
What is interesting is that status.py clearly sees two entries which corresponds to num_pens=2 and is correct. However the second entry gets a type of AGENT_TYPE_NONE and a kind of AGENT_KIND_NONE so it does not seem to be recognized.
I have attached the new hp-check -r report (this time in a Debian 8 VM).