New to OpenSuSE but not to nix--yet I still can't config HPLIP properly apparently.

Hi, all!

I have an HP OfficeJet 6500 wireless all in one.

I’ve tried using the HPLIP that comes in the distro, uninstalling that and installing the scripted installer from the site, and manually installing the RPM.

Yast isn’t detecting my printer, whether I try a USB install or over the network.

I have all the dependencies, CUPS is up to date, and this printer is detected by Fedora and Kubuntu.

What might I be doing wrong?

PS:

The server ‘192.168.1.2’ is not accessible via port 631 (IPP/CUPS).
The server ‘192.168.1.2’ responds to a ‘ping’ in the network.

192.168.1.2: inverse host lookup failed: Unknown host
(UNKNOWN) [192.168.1.2] 631 (ipp) : Connection refused

There’s some feedback when I tried pinging the printer at its IP.

Have you tried configuring via the ‘hp-setup’ CLI utility?

Useful references:

SDB:How to set-up a HP printer - openSUSE

Install/Configure HPLIP - HP Linux Imaging & Printing | SUSE & openSUSE

I wouldn’t have wasted your time if I hadn’t. I’ve already used both of those resources as well.

tarahmarie@linux-cm1v:~> hp-setup

HP Linux Imaging and Printing System (ver. 3.10.6)
Printer/Fax Setup Utility ver. 9.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.

Searching… (bus=usb, search=(None), desc=0)
libusb couldn’t open USB device /dev/bus/usb/001/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/002/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/003/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/004/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/005/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/006/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/007/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/008/001: Permission denied.
libusb requires write access to USB device nodes.
error: No devices found on bus: usb

Done.
tarahmarie@linux-cm1v:~>

That’s the output when I try.

And here’s the output for hp-check -t

tarahmarie@linux-cm1v:~> hp-check -t

HP Linux Imaging and Printing System (ver. 3.10.6)
Dependency/Version Check Utility ver. 14.3

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.

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 linux-cm1v 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 i686 i686 i386 GNU/Linux

Distribution:
suse 11.3

Checking Python version…
OK, version 2.6.5 installed

Checking PyQt 4.x version…
OK, version 4.7.3 installed.

Checking for CUPS…
Status: scheduler is running
Version: 1.4.4
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 devel- Common Unix Printing System development files…
OK, found.

Checking for dependency: CUPS image - CUPS image development files…
OK, found.

Checking for dependency: DBus - Message bus system…
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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…
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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)…
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: PolicyKit - Administrative policy framework…
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4…
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 libnotify - Python bindings for the libnotify Desktop notifications…
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…
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

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.10.6 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.10.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.10.6
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=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of ‘/var/lib/hp/hplip.state’ file:

hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of ‘~/.hplip/hplip.conf’ file:
[installation]
version = 3.10.6.15
date_time = 09/08/2010 17:21:47


DISCOVERED USB DEVICES

libusb couldn’t open USB device /dev/bus/usb/001/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/002/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/003/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/004/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/005/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/006/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/007/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/008/001: Permission denied.
libusb requires write access to USB device nodes.
No devices found.


INSTALLED CUPS PRINTER QUEUES

lpstat

Type: Unknown
Device URI: No destinations added.


SANE CONFIGURATION

‘hpaio’ in ‘/etc/sane.d/dll.conf’…
OK, found. SANE backend ‘hpaio’ is properly set up.

Checking output of ‘scanimage -L’…
libusb couldn’t open USB device /dev/bus/usb/001/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/002/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/003/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/004/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/005/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/006/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/007/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn’t open USB device /dev/bus/usb/008/001: Permission denied.
libusb requires write access to USB device nodes.

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.


USER GROUPS

users lp video


SUMMARY

error: 4 errors and/or warnings.

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

Done.

After rechecking dependencies, I fixed the ones shown above. Turns out that the issue with libusb is that you have to be logged in as root.

hp-setup STILL isn’t detecting my printer, and hp-check -t finds nothing wrong with dependencies. There’s no reason this shouldn’t work, but I still can’t figure it out.

If you are trying to setup for network printing, can’t help with USB. Go back to yast and the repo and install from there. Get the IP for your printer. Open a terminal, become root and type in hp-setup.Hp setup should start.
select, network,Ethernet,wireless etc,etc (I have the wireless 6500, works fine)

After that, click on (show advanced options)after that click on manual discovery and put the IP add.in for the printer.
Click next.
You should be able to figure it out from there.
Make sure you have the right IP add.to get it to work.

I already tried that. When I become root and use hp-setup, network discovery is greyed out. I’m unable to select it.

I have a nearly identical problem on Opensuse 11.3. Bump?

After the kernel update, my printer works fine now. Try running that.

If you are unable to “find” your networked HP printer in hplip, why not select manual mode and enter the printer IP you can obtain from its configuration page? I have two HP printers. On one, I press two buttons and wam, out pops its configuration including its IP. On the other I just select network configuration in its LCD and tell it to print. Look at your manual for details on how to get a printer configuration page. With the Networked HP printer IP’s in hand, I just enter manual detection mode in hp-setup and enter each printer’s IP one at a time and up it comes. I normally run hp-setup (as root) using the kde menu run command:

kdesu hp-setup 

This was due to some errors I would get saying the printer can not be added to the print setup in openSUSE. Being root seemed to solve this problem. Once the printer is added I log out and back into openSUSE for the HP device manager to show up in the icon tray.

Thank You,

jdmcdaniel3 wrote:

>
> If you are unable to “find” your networked HP printer in hplip, why not
> select manual mode and enter the printer IP you can obtain from its
> configuration page? I have two HP printers. On one, I press two
> buttons and wam, out pops its configuration including its IP. On the
> other I just select network configuration in its LCD and tell it to
> print. Look at your manual for details on how to get a printer
> configuration page. With the Networked HP printer IP’s in hand, I just
> enter manual detection mode in hp-setup and enter each printer’s IP one
> at a time and up it comes. I normally run hp-setup (as root) using the
> kde menu run command:
>
>
> Code:
> --------------------
> kdesu hp-setup
> --------------------
> This was due to some errors I would get saying the printer can not be
> added to the print setup in openSUSE. Being root seemed to solve this
> problem. Once the printer is added I log out and back into openSUSE for
> the HP device manager to show up in the icon tray.

I have to do that with an old workhorse HP4000 - never have been able to get
the IP for it automagically.


Will Honea