Supplies information not available for this device.

Bug #1488574 reported by Brian J. Murrell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

1. Fedora 22
2. HP LaserJen M1522nf connected by USB
3. Attached
4. When I run hp-toolbox and
  a) choose the HP LaserJet m1522nf MFP (Printer) from the left side
  b) choose the Supplies tab
I see "Supplies information not available for this device" in the GUI and on the console I see:
warning: Supplies information not available for this device.

Yet http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_m1522nf_mfp.html says:

Feature Support Notes
Services and status Yes See note7.

So I was expecting to at least get toner level out of this thing. Am I misunderstanding?

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :
Revision history for this message
goutam (goutamkk) wrote :

Hi ,

Can you please provide us the output of 'hp-levels -i -g' command output here

Thanks,
goutam

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :
Download full text (5.7 KiB)

# hp-levels -i -g
warning: hp-levels should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.15.7)
Supply Levels Utility ver. 2.0

Copyright (c) 2001-15 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.

hp-levels[2143]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-levels[2143]: debug: Mode=0
hp-levels[2143]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-levels[2143]: debug: Cache miss: hp_laserjet_m1522nf_mfp
hp-levels[2143]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[2143]: debug: Searching for section [hp_laserjet_m1522nf_mfp] in file /usr/share/hplip/data/models/models.dat
hp-levels[2143]: debug: Found section [hp_laserjet_m1522nf_mfp] in file /usr/share/hplip/data/models/models.dat
hp-levels[2143]: debug: {'hp:/usb/HP_LaserJet_M1522nf_MFP?serial=00CNC97DN06H': ['HP-LaserJet-M1522nf-MFP']}
Using device : hp:/usb/HP_LaserJet_M1522nf_MFP?serial=00CNC97DN06H

hp-levels[2143]: debug: info_device_status:
<?xml version="1.0" encoding="UTF-8" ?>

<DeviceStatusPage xmlns="http://www.hp.com/schemas/imaging/pls/dev/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hp.com/schemas/imaging/pls/dev/1.0 DeviceStatusPage.xsd">
     <DeviceStatus>
 <StatusList>

                <Status>
                  <Priority>1</Priority>
           <Code>-19928</Code>
                </Status>

                <Status>
                  <Priority>2</Priority>
           <Code>0</Code>
                </Status>

                <Status>
                  <Priority>3</Priority>
           <Code>0</Code>
                </Status>

         </StatusList>
      </DeviceStatus>

              <SuppliesStatus>
               <BlackSupply>
        <Status>0</Status>

           <PercentRemaining>52</PercentRemaining>
                  <PagesRemaining>792</PagesRemaining>

                  <CartridgeOutOverrideActive>0</CartridgeOutOverrideActive>

               </BlackSupply>

             </SuppliesStatus>

   </DeviceStatusPage>

hp-levels[2143]: debug: {'devicestatuspage-devicestatus-statuslist-status-code-2': 0, 'devicestatuspage-xmlns': 'http://www.hp.com/schemas/imaging/pls/dev/1.0', 'devicestatuspage-devicestatus-statuslist-status-code-1': 0, 'devicestatuspage-suppliesstatus-blacksupply-pagesremaining': 792, 'devicestatuspage-xmlns:xsi': 'http://www.w3.org/2001/XMLSchema-instance', 'devicestatuspage-devicestatus-statuslist-status-priority-2': 3, 'devicestatuspage-devicestatus-statuslist-status-priority-1': 2, 'devicestatuspage-devicestatus-statuslist-status-priority-0': 1, 'devicestatuspage-suppliesstatus-blacksupply-cartridgeoutoverrideactive': 0, 'devicestatuspage-xsi:schemalocation': 'http://www.hp.com/schemas/imaging/pls/dev/1.0 DeviceStatusPage.xsd', 'devicestatuspage-suppliesstatus-blacksupply-percentremaining': 52, 'devicestatuspage-devicestatus-statuslist-status-cod...

Read more...

Revision history for this message
goutam (goutamkk) wrote :

Thank you for providing us the hp-levels command output.
The output is clearly showing the ink level and it should be same w.r.t GUI also.

Can this defect be marked as invalid as you are able to see the toner level without any code change.

Thanks,
Goutam

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

> should be same w.r.t GUI also.

Hrm. Now it's working.

So yeah, I guess we can close this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.