Ubuntu 9.04 can't find HP 6500 scanner via wifi

Asked by Martin Ewing

I have an HP 6500 AIO device connected via wifi. It works normally under Ubuntu 9.04's normal printer setup for printing. However, device is not detected by hp-setup, so no scanner/fax operation. (Everything works normally under Windows XP.)

hp-check (below) complains that printers are not installed using hp: cups backend, but I find no way to set them up with an alternate backend. What to do?

-----------------
hp-check:

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball
(.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc)
or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases
(both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux gimli 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = socket://192.168.1.144:9100

[installation]
version = 3.9.2.49
date_time = 10/02/09 16:54:28

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP-Officejet-6500-e709n
-----------------------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: socket://192.168.1.144:9100
PPD: /etc/cups/ppd/HP-Officejet-6500-e709n.ppd
PPD Description: HP Officejet 6500 e709n hpijs, 3.9.2
Printer status: printer HP-Officejet-6500-e709n is idle. enabled since Fri 02 Oct 2009 04:45:58 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
HP-Photosmart-8400
------------------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: socket://192.168.1.29
PPD: /etc/cups/ppd/HP-Photosmart-8400.ppd
PPD Description: HP Photosmart 8400 Series hpijs, 3.9.2
Printer status: printer HP-Photosmart-8400 is idle. enabled since Fri 26 Jun 2009 01:59:26 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
LaserJet-1200
-------------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: socket://192.168.1.4
PPD: /etc/cups/ppd/LaserJet-1200.ppd
PPD Description: HP LaserJet 1200 hpijs, 3.9.2
Printer status: printer LaserJet-1200 is idle. enabled since Tue 29 Sep 2009 02:18:58 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------

error: 3 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Ewing
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

None of your printer queues are using the hp:// backend.

Run:

hp-makeuri ip.address.of.printer

where ip.address.of.printer is the actual printer IP address.

and post the output.

Also you can try running hp-setup, select network, then manual discovery, enter the printer ip address and continue the hp-setup process.

Thanks!

Aaron

Revision history for this message
Martin Ewing (martin-s-ewing) said :
#2

I have tried both. I should have mentioned the results. Neither hp-makeuri
nor hp-setup can find the '6500 on the network, even when running as root:

$sudo hp-makeuri 192.168.1.144

HP Linux Imaging and Printing System (ver. 3.9.2)
Device URI Creation Utility ver. 5.0

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

error: Device not found
-------------
sudo hp-setup, selecting default "Network/Ethernet/Wireless..." option,
finds a different printer, my LJ1200, but not the '6500. Trying "manual
discovery" on the IP address gives "no devices found". I get the same
results when using Ethernet instead of wireless connections.

Pinging the IP address works fine.

Thanks for any guidance!
Martin

On Sat, Oct 3, 2009 at 2:17 PM, Aaron Albright <
<email address hidden>> wrote:

> Your question #84562 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/84562
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> None of your printer queues are using the hp:// backend.
>
> Run:
>
> hp-makeuri ip.address.of.printer
>
> where ip.address.of.printer is the actual printer IP address.
>
> and post the output.
>
> Also you can try running hp-setup, select network, then manual
> discovery, enter the printer ip address and continue the hp-setup
> process.
>
> Thanks!
>
> Aaron
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/84562
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Try snmp walk here:

http://hplipopensource.com/node/216

and post the output.

Aaron

Revision history for this message
Martin Ewing (martin-s-ewing) said :
#4

$ snmpwalk -Os -c public -v 1 192.168.1.144 1.3.6.1.4.1.11.2.3.9.1.1.7.0
enterprises.11.2.3.9.1.1.7.0 = STRING: "MFG:HP;MDL:Officejet 6500
E709n;CMD:MLC,PCL,DW-PCL,PML,802.11,802.3,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:CM741A;LEDMDIS:DOT4#44;SN:MY97K570RT05G2;S:038080C484001021005a0c8000045d0006444d0006446d0006441d0005a;Z:0102,05000009000001000001000001000001,0600,0700000000000000000000,0b000000000000000000000000000000000000000000000000000000000000,0c0,0e00000000000000000000,0f00000000000000000000,10000002000008000008000008000008,110,12000,150;"

On Sat, Oct 3, 2009 at 2:48 PM, Aaron Albright <
<email address hidden>> wrote:

> Your question #84562 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/84562
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> Try snmp walk here:
>
> http://hplipopensource.com/node/216
>
> and post the output.
>
> Aaron
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/84562
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Everything looks okay..

Try:

hp-makeuri -g ip.address

Aaron

Revision history for this message
Martin Ewing (martin-s-ewing) said :
#6

Interesting. What does it mean?:

$ hp-makeuri -g 192.168.1.144

HP Linux Imaging and Printing System (ver. 3.9.2)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-9 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-makeuri[12382]: debug: Trying IP address 192.168.1.144
hp-makeuri[12382]: debug: Found: hp:/net/Officejet_6500_E709n?ip=192.168.1.144
hp-makeuri[12382]: debug: Cache miss: officejet_6500_e709n
hp-makeuri[12382]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-makeuri[12382]: debug: Searching for section [officejet_6500_e709n] in file /usr/share/hplip/data/models/models.dat
error: Device not found

Revision history for this message
Martin Ewing (martin-s-ewing) said :
#7

I see that the 6500 does not appear in models.dat distributed in Ubuntu 9.04 as version "3.9.2-3ubuntu4". And checking on the hplip site, I see that I really need v 3.9.4 for this printer model.

Sadly, I think I know what I have to do... :-(

Revision history for this message
Thilo Schüller (thilo-schueller) said :
#8

Here's a simple solution:
- Download the latest hplip tarball from http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html
- Open or extract the tarball (e.g. /tmp/hplip-3.9.10).
- Make a backup copy of the "models.dat" file in "/usr/share/hplip/data/models".
- Navigate to the "/tmp/hplip-3.9.10/data/models" folder and copy the "models.dat" file to "/usr/share/hplip/data/models".
- Run "sudo hp-makeuri -g <your.printer.ip>" (192.168.1.32 in my case)

You will see this output:
================================================================
HP Linux Imaging and Printing System (ver. 3.9.2)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-9 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-makeuri[21904]: debug: Trying IP address 192.168.1.32
hp-makeuri[21904]: debug: Found: hp:/net/Officejet_6500_E709n?ip=192.168.1.32
hp-makeuri[21904]: debug: Cache miss: officejet_6500_e709n
hp-makeuri[21904]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-makeuri[21904]: debug: Searching for section [officejet_6500_e709n] in file /usr/share/hplip/data/models/models.dat
hp-makeuri[21904]: debug: Found section [officejet_6500_e709n] in file /usr/share/hplip/data/models/models.dat
warning: get_data_type(): Defaulted to TYPE_STR for key wifi-config
CUPS URI: hp:/net/Officejet_6500_E709n?ip=192.168.1.32
SANE URI: hpaio:/net/Officejet_6500_E709n?ip=192.168.1.32
HP Fax URI: hpfax:/net/Officejet_6500_E709n?ip=192.168.1.32

Done.
================================================================

- Run "sudo hp-setup"
- Activate the "Network/Etherenet/Wireless..." option.
- Click "Next".

Voilà!

Cheers,
Thilo