does not detect LaserJet CP1025nw

Bug #1832315 reported by Ronald Schreiber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

The LAN connected LaserJet CP 1025nw is not detected. Running "hp-setup -g" shows on console:

HP Linux Imaging and Printing System (ver. 3.19.3)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 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-setup[6338]: debug: param=
hp-setup[6338]: debug: selected_device_name=None
hp-setup[6338]: debug: Using PyQt5
hp-setup[6338]: debug: Sys.argv=['/usr/bin/hp-setup', '-g'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[6338]: debug: Starting GUI Event Loop...
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
hp-setup[6338]: debug: 0000: 01 07 01 4e 00 00 65 6e 00 03 00 00 00 00 01 3e 28 78 2d 68 70 2d 76 65 72 3d 30 31 29 28 78 2d ...N..en.......>(x-hp-ver=01)(x-
hp-setup[6338]: debug: 0020: 68 70 2d 70 72 6f 64 5f 69 64 3d 43 45 39 31 38 41 29 28 78 2d 68 70 2d 6d 61 63 3d 37 30 31 38 hp-prod_id=CE918A)(x-hp-mac=7018
hp-setup[6338]: debug: 0040: 38 42 39 34 38 46 32 42 29 28 78 2d 68 70 2d 67 75 69 64 3d 37 30 31 38 38 42 39 34 38 46 32 42 8B948F2B)(x-hp-guid=70188B948F2B
hp-setup[6338]: debug: 0060: 29 28 78 2d 68 70 2d 6e 75 6d 5f 70 6f 72 74 3d 30 31 29 28 78 2d 68 70 2d 69 70 3d 31 39 32 2e )(x-hp-num_port=01)(x-hp-ip=192.
hp-setup[6338]: debug: 0080: 31 36 38 2e 31 37 38 2e 30 33 30 29 28 78 2d 68 70 2d 68 6e 3d 4c 61 73 65 72 4a 65 74 29 28 78 168.178.030)(x-hp-hn=LaserJet)(x
hp-setup[6338]: debug: 00a0: 2d 68 70 2d 70 31 3d 4d 46 47 3a 48 65 77 6c 65 74 74 2d 50 61 63 6b 61 72 64 3b 4d 44 4c 3a 48 -hp-p1=MFG:Hewlett-Packard;MDL:H
hp-setup[6338]: debug: 00c0: 50 20 4c 61 73 65 72 4a 65 74 20 43 50 20 31 30 32 35 6e 77 3b 43 4d 44 3a 5a 4a 53 2c 55 52 46 P LaserJet CP 1025nw;CMD:ZJS,URF
hp-setup[6338]: debug: 00e0: 2c 50 43 4c 6d 2c 50 4a 4c 2c 41 43 4c 2c 48 54 54 50 3b 43 4c 53 3a 50 52 49 4e 54 45 52 3b 44 ,PCLm,PJL,ACL,HTTP;CLS:PRINTER;D
hp-setup[6338]: debug: 0100: 45 53 3a 48 50 20 4c 61 73 65 72 4a 65 74 20 43 50 20 31 30 32 35 6e 77 3b 46 57 56 45 52 3a 32 ES:HP LaserJet CP 1025nw;FWVER:2
hp-setup[6338]: debug: 0120: 30 31 33 30 32 31 32 3b 4c 45 44 4d 44 49 53 3a 55 53 42 23 66 66 23 30 34 23 30 31 3b 43 49 44 0130212;LEDMDIS:USB#ff#04#01;CID
hp-setup[6338]: debug: 0140: 3a 48 50 4c 4a 50 43 4c 4d 53 56 31 3b 29 :HPLJPCLMSV1;)
hp-setup[6338]: debug: Found device: {'num_devices': 1, 'num_ports': 1, 'product_id': 'CE918A', 'status_code': 0, 'device2': '0', 'device3': '0', 'note': '', 'device1': 'MFG:Hewlett-Packard;MDL:HP LaserJet CP 1025nw;CMD:ZJS,URF,PCLm,PJL,ACL,HTTP;CLS:PRINTER;DES:HP LaserJet CP 1025nw;FWVER:20130212;LEDMDIS:USB#ff#04#01;CID:HPLJPCLMSV1;', 'mac': '70188B948F2B', 'ip': '192.168.178.030', 'hn': 'LaserJet'}
hp-setup[6338]: debug: Cache miss: hp_laserjet_cp_1025nw
hp-setup[6338]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[6338]: debug: Searching for section [hp_laserjet_cp_1025nw] in file /usr/share/hplip/data/models/models.dat
error: No devices found on bus: net
error: HPLIP cannot detect printers in your network. This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 http://hplipopensource.com/node/374

(I tried this with the with the hplip version provided from the OpenSuse Tumbleweed repository and with hte latest version from your download page.)

Reason: hplip serches for [hp_laserjet_cp_1025nw] but the section in models.dat is called [hp_laserjet_cp1025nw] (no underscore between cp and 1025nw). Changing the section name in models.dat solved the issue.

Revision history for this message
Sylvain_07 (sylvain-marcon) wrote :

hi,

in file
/usr/share/hplip/data/models/models.dat

change line 17868
[hp_laserjet_cp1025nw] for
[hp_laserjet_cp_1025nw]

Changed in hplip:
status: New → In Progress
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.