CUPSEXT note

Asked by Kevin Donnelly

I wanted to upgrade from HPLIP-3.10.2 (on Ubuntu 10.04) to 3.12.10a, so that my new Photosmart 7520 was supported. Since I didn't want a clash with the existing installed packages, I uninstalled them. When I then ran ./hplip-3.12.10a.run, I got the message:
CUPSEXT could not be loaded. Please check HPLIP installation.
Reinstalling all the hplip packages, and re-running ./hplip-3.12.10a.run allowed the compile/install to go ahead, and one stage in that (after the download of required dependencies) is to remove the existing hplip version.

This is a case where the software was more user-friendly than I was expecting it to be! Would it be worth putting a note in the page on automatic installs:
http://hplipopensource.com/hplip-web/install/install/index.html
to say that if you have hplip already installed (at least on Ubuntu), you should leave it there so that the install can be started, and that the install will take care of uninstalling existing packages?

Another note in passing: when I was installing hplip on another PC which had a wireless connection to the network (to which the 7520 was also attached by wireless), it detected the printer, but could not go beyond that page to finish the setup - it said it could not communicate with the printer. However, when I plugged a network cable into the PC, it finished the setup OK.

Thanks for the software!

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#1

Hi Kevin Donnelly,

This fix is available in next HPLIP release. Meanwhile, following work around can be done to install hplip-3.12.10a

$cd ~/Desktop (i.e. assuming hplip-3.12.10a.run file is downloaded to Desktop, change accordingly).

$ sh hplip-3.12.10a.run
--> press 'q'. During "Please choose the installation mode(a=automatic*, c=custom,q=quit):" prompt.

$ cd hplip-3.12.10a

$ gedit installer/text_installer.py
--> remove following lines.
Line no: 33
==> from prnt import cups
Line no: 769
==> cups.getSystemPPDs()

$ python ./install.py

Sorry causing the trouble.

Thanks & Regards,
Amarnath

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#2

Hi Kevin Donnelly,

Regarding Wireless setup. Can you please post following command output here.

$ hp-setup -g
--> select 3rd option (i.e. Wireless/802.11 ..... )

$ hp-check

Thanks & Regards,
Amarnath

Revision history for this message
Kevin Donnelly (donnek) said :
#3

Hi Amarnath

Thanks for the suggested patches - I don't need them now, but they're useful to know about!

Hmm. Some weird voodoo going on in hp-setup. There's no way to attach files here, so far as I can see, so I have to just paste the contents? That means I won't post the various files I made at different stages, but if you need them, email me.

Unplugged the Cat5 Cable, leaving only wireless, and plugged in a USB cable to the printer.

kevin@kxstudio:~$ hp-setup -g

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

Copyright (c) 2001-14 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-setup[9789]: debug: param=
hp-setup[9789]: debug: selected_device_name=None
hp-setup[9789]: debug: Sys.argv=['/usr/bin/hp-setup', '-g'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[9789]: debug: Starting GUI loop...
Searching on USB bus...
hp-setup[9789]: debug: Probing bus: usb
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV: back_end:hp is_hp:True bus:usb model:Photosmart_7520_series serial:CN29F2906C05VV dev_file: host: zc: port:1
hp-setup[9789]: debug: Cache miss: photosmart_7520_series
hp-setup[9789]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[9789]: debug: Searching for section [photosmart_7520_series] in file /usr/share/hplip/data/models/models.dat
hp-setup[9789]: debug: Found section [photosmart_7520_series] in file /usr/share/hplip/data/models/models.dat
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV: back_end:hp is_hp:True bus:usb model:Photosmart_7520_series serial:CN29F2906C05VV dev_file: host: zc: port:1
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV: back_end:hp is_hp:True bus:usb model:Photosmart_7520_series serial:CN29F2906C05VV dev_file: host: zc: port:1
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV: back_end:hp is_hp:True bus:usb model:Photosmart_7520_series serial:CN29F2906C05VV dev_file: host: zc: port:1
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV: back_end:hp is_hp:True bus:usb model:Photosmart_7520_series serial:CN29F2906C05VV dev_file: host: zc: port:1
hp-setup[9789]: debug: Device URI: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV
hp-setup[9789]: debug: Printer: None
hp-setup[9789]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV: back_end:hp is_hp:True bus:usb model:Photosmart_7520_series serial:CN29F2906C05VV dev_file: host: zc: port:1
hp-setup[9789]: debug: URI: backend=hp, is_hp=True, bus=usb, model=Photosmart_7520_series, serial=CN29F2906C05VV, dev=, host=, port=1
hp-setup[9789]: debug: Model/UI model: Photosmart_7520_series/HP Photosmart 7520 Series
hp-setup[9789]: debug: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV: back_end:hp is_hp:True bus:usb model:Photosmart_7520_series serial:CN29F2906C05VV dev_file: host: zc: port:1
hp-setup[9789]: debug: Re-reading CUPS printer queue information.
GET /IoMgmt/Adapters HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

hp-setup[9789]: debug: Opening device: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV (not for printing)
hp-setup[9789]: debug: I/O mode=1
hp-setup[9789]: debug: device-id=1
hp-setup[9789]: debug: Opened device: hp (backend=hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV, is_hp=True, bus=usb, model=Photosmart_7520_series, dev=, serial=CN29F2906C05VV, host=, port=1)
hp-setup[9789]: debug: Opening HP-LEDM-SCAN channel...
hp-setup[9789]: debug: channel-id=24
hp-setup[9789]: debug: Writing 131 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 273 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 273 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 961 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 961 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 5 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 5 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
hp-setup[9789]: debug: Turning on wireless radio...
hp-setup[9789]: debug: Writing 430 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1000, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 240 of 1000 bytes complete.
hp-setup[9789]: debug: Saved 240 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1000, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
hp-setup[9789]: debug: Wifi Adapter turn ON request is Success. AdaptorId=/IoMgmt/Adapters/Wifi0 AdaptorName=Wifi0
hp-setup[9789]: debug: Adaptor ID: /IoMgmt/Adapters/Wifi0
hp-setup[9789]: debug: Adaptor name: Wifi0
hp-setup[9789]: debug: Adaptor state:
hp-setup[9789]: debug: Adaptor presence:
GET /IoMgmt/Adapters/Wifi0/WifiNetworks HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

hp-setup[9789]: debug: Writing 150 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 273 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 273 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 73 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 73 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 5 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 5 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
hp-setup[9789]: debug: Closing device...
hp-setup[9789]: debug: Closing HP-LEDM-SCAN channel...
hp-setup[9789]: debug: Result-code = 0
hp-setup[9789]: debug: 0: Name=BTWiFi, strength=5, security=none, mode=infrastructure
hp-setup[9789]: debug: 1: Name=BTHomeHub2-J9CM, strength=5, security=WPA_PSK, mode=infrastructure
hp-setup[9789]: debug: 2: Name=BTWiFi-with-FON, strength=5, security=none, mode=infrastructure
hp-setup[9789]: debug: 3: Name=SKY10B55, strength=1, security=WPA_PSK, mode=infrastructure
hp-setup[9789]: debug: 4: Name=CSKILLS2587, strength=1, security=WPA_PSK, mode=infrastructure
hp-setup[9789]: debug: Selected network SSID: BTHomeHub2-J9CM
hp-setup[9789]: debug: Security: WPA_PSK
hp-setup[9789]: debug: Mode: infrastructure
hp-setup[9789]: debug: Signal strength: 5
GET /IoMgmt/Adapters/Wifi0/Profiles/Active HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

hp-setup[9789]: debug: Opening device: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV (not for printing)
hp-setup[9789]: debug: I/O mode=1
hp-setup[9789]: debug: device-id=1
hp-setup[9789]: debug: Opened device: hp (backend=hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV, is_hp=True, bus=usb, model=Photosmart_7520_series, dev=, serial=CN29F2906C05VV, host=, port=1)
hp-setup[9789]: debug: Opening HP-LEDM-SCAN channel...
hp-setup[9789]: debug: channel-id=24
hp-setup[9789]: debug: Writing 153 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 273 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 273 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 775 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 775 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 5 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 5 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
hp-setup[9789]: debug: Crypto algorithm: WPA_PSK
hp-setup[9789]: debug: Crypto mode: infrastructure
hp-setup[9789]: debug: Writing 1175 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1000, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 314 of 1000 bytes complete.
hp-setup[9789]: debug: Saved 314 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1000, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 54 of 1000 bytes complete.
hp-setup[9789]: debug: Saved 54 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1000, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
GET /IoMgmt/Adapters/Wifi0/Protocols HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

hp-setup[9789]: debug: Writing 147 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 273 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 273 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 40 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 40 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 5 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 5 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
GET /IoMgmt/Adapters/Wifi0/VsaCodes.xml HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

hp-setup[9789]: debug: Writing 150 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 273 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 273 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 765 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 765 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 5 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 5 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
GET /IoMgmt/Adapters/Wifi0/WifiNetworks/SSID=BTHomeHub2-J9CM HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

hp-setup[9789]: debug: Writing 171 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 273 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 273 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Full read complete.
hp-setup[9789]: debug: Saved 1024 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 140 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 140 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 5 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 5 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=10)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
GET /IoMgmt/IoConfig.xml HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

hp-setup[9789]: debug: Writing 135 bytes to channel 24 (device-id=1)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 273 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 273 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 990 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 990 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=0
hp-setup[9789]: debug: Allowed short read of 5 of 1024 bytes complete.
hp-setup[9789]: debug: Saved 5 total bytes to stream.
hp-setup[9789]: debug: Reading channel 24 (device-id=1, bytes_to_read=1024, allow_short=True, timeout=5)...
hp-setup[9789]: debug: Result code=49
hp-setup[9789]: debug: I/O timeout
hp-setup[9789]: debug: Saved 0 total bytes to stream.
hp-setup[9789]: debug: Closing device...
hp-setup[9789]: debug: Closing HP-LEDM-SCAN channel...
hp-setup[9789]: debug: Result-code = 0

Done.
kevin@kxstudio:~$

This seemed to complete fine, setting up a new printer 7520-2 alongside the one (7520) I'd done earlier. Unplugged the USB cable, and tried printing to the new printer - but all jobs were simply held instead of being processed.

hp-check[10410]: info: :
Initializing. Please wait...
Ubuntu

12.04

scheduler is running

1.5.3

Linux kxstudio 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 i686 i686 i386 GNU/Linux

hp-check[10410]: info: :
hp-check[10410]: info: :---------------
hp-check[10410]: info: :| SYSTEM INFO |
hp-check[10410]: info: :---------------
hp-check[10410]: info: :
3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 GNU/Linux

kxstudio

3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 GNU/Linux

hp-check[10410]: info: : Kernel: 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 GNU/Linux
 Host: kxstudio
 Proc: 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 GNU/Linux
 Distribution: ubuntu 12.04
hp-check[10410]: info: :
hp-check[10410]: info: :-----------------------
hp-check[10410]: info: :| HPLIP CONFIGURATION |
hp-check[10410]: info: :-----------------------
hp-check[10410]: info: :
hp-check[10410]: info: :HPLIP-Version: HPLIP 3.12.10a
hp-check[10410]: info: :HPLIP-Home: /usr/share/hplip
hp-check[10410]: info: :HPLIP-Installation: Auto installation is supported for ubuntu distro 12.04 version
hp-check[10410]: info: :
hp-check[10410]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[10410]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.12.10a

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.12.10a
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.10a
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

hp-check[10410]: info: :
hp-check[10410]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[10410]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[10410]: info: :
hp-check[10410]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[10410]: info: :[upgrade]
notify_upgrade = true
last_upgraded_time = 1353787432
pending_upgrade_time = 0
latest_available_version = 3.12.10a

[settings]
systray_visible = 1
systray_messages = 0

[last_used]
device_uri = "hp:/net/Photosmart_7520_series?zc=HP8434972F72A5"
printer_name =
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 26/11/12 11:09:59
version = 3.12.10a

hp-check[10410]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[10410]: info: :
hp-check[10410]: info: :--------------------------
hp-check[10410]: info: :| External Dependencies |
hp-check[10410]: info: :--------------------------
hp-check[10410]: info: :
hp-check[10410]: info: : gs Ghostscript REQUIRED 7.05 9.05 OK -
hp-check[10410]: info: : network Network-wget OPTIONAL - 1.13.4 OK -
hp-check[10410]: info: : dbus DBus REQUIRED - 1.4.18 OK -
hp-check[10410]: info: : scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
hp-check[10410]: info: : policykit Admin-Policy-framework OPTIONAL - 0.104 OK -
hp-check[10410]: info: : xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
scheduler is running

hp-check[10410]: info: : cups CUPS REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is running'
hp-check[10410]: info: :
hp-check[10410]: info: :-------------------------
hp-check[10410]: info: :| General Dependencies |
hp-check[10410]: info: :-------------------------
hp-check[10410]: info: :
hp-check[10410]: info: : reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
hp-check[10410]: info: : libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
hp-check[10410]: info: : pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
hp-check[10410]: info: : pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.1 OK -
hp-check[10410]: info: : libjpeg JPEG-Lib REQUIRED - - OK -
hp-check[10410]: info: : libpthread POSIX-Threads-Lib REQUIRED - 2.15 OK -
hp-check[10410]: info: : python-dbus Python-DBUS REQUIRED 0.80.0 1.0.0 OK -
hp-check[10410]: info: : python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
hp-check[10410]: info: : pyqt4 Python-Qt4 REQUIRED 4.0 4.9.1 OK -
hp-check[10410]: info: : cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
hp-check[10410]: info: : sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
hp-check[10410]: info: : libusb USB-Lib REQUIRED - 1.0 OK -
hp-check[10410]: info: : sane Scan-Lib REQUIRED - 1.0.22 OK -
hp-check[10410]: info: : cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
hp-check[10410]: info: : libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
hp-check[10410]: info: : python-xml Python-XML-Lib REQUIRED - 2.0.1 OK -
hp-check[10410]: info: : python-notify Desktop-notifications OPTIONAL - - OK -
hp-check[10410]: info: :
hp-check[10410]: info: :------------------------------
hp-check[10410]: info: :| Compile Time Dependencies |
hp-check[10410]: info: :------------------------------
hp-check[10410]: info: :
hp-check[10410]: info: : gcc gcc-Compiler REQUIRED - 4.6.3 OK -
hp-check[10410]: info: : libtool Build-tools REQUIRED - 2.4.2 OK -
hp-check[10410]: info: : make GNU-Build-tools REQUIRED 3.0 3.81 OK -
hp-check[10410]: info: :
hp-check[10410]: info: :----------------------
hp-check[10410]: info: :| Python Extentions |
hp-check[10410]: info: :----------------------
hp-check[10410]: info: :
hp-check[10410]: info: : cupsext CUPS-Extension REQUIRED - 3.12.10a OK -
hp-check[10410]: info: : pcardext PhotoCard-Extension REQUIRED - 3.12.10a OK -
hp-check[10410]: info: : hpmudext IO-Extension REQUIRED - 3.12.10a OK -
hp-check[10410]: info: :
hp-check[10410]: info: :-----------------------
hp-check[10410]: info: :| Scan Configuration |
hp-check[10410]: info: :-----------------------
hp-check[10410]: info: :
hp-check[10410]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.12.10a OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[10410]: info: : scanext Scan-SANE-Extension REQUIRED - 3.12.10a OK -
hp-check[10410]: info: :
hp-check[10410]: info: :------------------------------
hp-check[10410]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[10410]: info: :------------------------------
hp-check[10410]: info: :
hp-check[10410]: info: :device `hpaio:/net/Photosmart_7520_series?zc=HP8434972F72A5' is a Hewlett-Packard Photosmart_7520_series all-in-one

hp-check[10410]: info: :
hp-check[10410]: info: :--------------------------
hp-check[10410]: info: :| DISCOVERED USB DEVICES |
hp-check[10410]: info: :--------------------------
hp-check[10410]: info: :
hp-check[10410]: info: :No devices found.
hp-check[10410]: info: :
hp-check[10410]: info: :---------------------------------
hp-check[10410]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[10410]: info: :---------------------------------
hp-check[10410]: info: :
hp-check[10410]: info: :
hp-check[10410]: info: :[01mEpson_Stylus_SX440[0m
hp-check[10410]: info: :[01m------------------[0m
hp-check[10410]: info: :Type: Unknown
hp-check[10410]: info: :Device URI: dnssd://Epson%20Stylus%20SX440._pdl-datastream._tcp.local/
hp-check[10410]: info: :PPD: /etc/cups/ppd/Epson_Stylus_SX440.ppd
hp-check[10410]: info: :PPD Description: Epson Stylus SX440 Series - epson-inkjet-printer 1.0.0-1lsb3.2 (Seiko Epson Corporation LSB 3.2)
hp-check[10410]: info: :Printer status: printer Epson_Stylus_SX440 is idle. enabled since Sat 24 Nov 2012 11:50:11 GMT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
hp-check[10410]: info: :
hp-check[10410]: info: :[01mPhotosmart_7520[0m
hp-check[10410]: info: :[01m---------------[0m
hp-check[10410]: info: :Type: Printer
hp-check[10410]: info: :Device URI: hp:/net/Photosmart_7520_series?zc=HP8434972F72A5
hp-check[10410]: info: :PPD: /etc/cups/ppd/Photosmart_7520.ppd
hp-check[10410]: info: :PPD Description: HP Photosmart 7520 Series, hpcups 3.12.10a
hp-check[10410]: info: :Printer status: printer Photosmart_7520 is idle. enabled since Mon 26 Nov 2012 11:05:21 GMT
 /usr/lib/cups/backend/hp failed
error: Unable to communicate with device (code=12): hp:/net/Photosmart_7520_series?zc=HP8434972F72A5
error: unable to open channel
error: Communication status: Failed
hp-check[10410]: info: :
hp-check[10410]: info: :[01mPhotosmart_7520_2[0m
hp-check[10410]: info: :[01m-----------------[0m
hp-check[10410]: info: :Type: Printer
hp-check[10410]: info: :Device URI: hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV
hp-check[10410]: info: :PPD: /etc/cups/ppd/Photosmart_7520_2.ppd
hp-check[10410]: info: :PPD Description: HP Photosmart 7520 Series, hpcups 3.12.10a
hp-check[10410]: info: :Printer status: printer Photosmart_7520_2 is idle. enabled since Mon 26 Nov 2012 10:53:24 GMT
 Rendering completed
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_7520_series?serial=CN29F2906C05VV
error: Device not found
error: Communication status: Failed
hp-check[10410]: info: :
hp-check[10410]: info: :
hp-check[10410]: info: :--------------
hp-check[10410]: info: :| PERMISSION |
hp-check[10410]: info: :--------------
hp-check[10410]: info: :
kevin adm lp cdrom sudo dip plugdev lpadmin sambashare

hp-check[10410]: info: :groups user-groups Required - - OK kevin adm lp cdrom sudo dip plugdev lpadmin sambashare

hp-check[10410]: info: :
hp-check[10410]: info: :-----------
hp-check[10410]: info: :| SUMMARY |
hp-check[10410]: info: :-----------
hp-check[10410]: info: :
hp-check[10410]: info: :[01mMissing Required Dependencies[0m
hp-check[10410]: info: :[01m-----------------------------[0m
hp-check[10410]: info: :None
hp-check[10410]: info: :
hp-check[10410]: info: :[01mMissing Optional Dependencies[0m
hp-check[10410]: info: :[01m-----------------------------[0m
hp-check[10410]: info: :None
hp-check[10410]: info: :
hp-check[10410]: info: :
hp-check[10410]: info: :Total Errors: 2
hp-check[10410]: info: :Total Warnings: 1
hp-check[10410]: info: :
hp-check[10410]: info: :
hp-check[10410]: info: :Done.

More interestingly, the original (7520) printer which I set up earlier also refused to work (although it is still working on another PC I installed it on, so it's the drivers, and not the printer).

I plugged the Cat5 cable back in, as I'd done earlier, and started going through hp-setup -g using the second item, network printer. Unlike earlier, it couldn't find the printer, so it couldn't set it up.

So I opened the KDE printer setup, it found the IP address of the printer, and went through the install. That printer is working.

So there would seem to be something in hp-setup that is affecting connectivity to the printer, leaving the final install inoperable. The KDE printer setup avoids this, which is odd, since I'd be expecting it to be using the hplip backend.

Best wishes

Kevin

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#4

Hi Kevin Donnelly,

Thank for the logs, from logs looks like Printer can detect the device but fail to acquire the IP address.

Please let me know whether device is connected to Ethernet, while configuring the wireless setup?
I mean, while configuring the wireless setup, printer needs to disconnect from the Ethernet cable because printer acquires only one IP address either from wireless or from Ethernet cable.

If still not working, please to try "Method II" from http://hplipopensource.com/node/365

Thanks & Regards,
Amarnath

Can you help with this problem?

Provide an answer of your own, or ask Kevin Donnelly for more information if necessary.

To post a message you must log in.