Install Error Message

Asked by David Vincent-Jones

During a reinstall of HPLIP I got the following error message:

'hpaio' in '/etc/sane.d/dll.conf'...
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).

This came as a result of doing a "hp-check"

Could you please sugest a remedy.

Secondly: Should HPLIP now show up as a driver along with CUPS etc ...

Thank you;

David

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Albright
Solved:
Last query:
Last reply:

This question was reopened

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

David,

To resolve the hpaio problem, edit the file

/etc/sand.d/dll.conf

and at the bottom add "hpaio" save exit, and you should be good.

How to edit depends on your distro, you could as root/power user run:

nano /etc/sand.d/dll.conf

and add it that way. Then Control-O (save) and Control-X (exit).

As for "show up along with CUPS" not sure what you mean. You will have the usb/cups backend and the hplip backend to select if you configure the printer using cups. However the better solution is to run hp-setup to configure the printer.

Hope this helps.

A

Revision history for this message
David Vincent-Jones (davidvj) said :
#2

Aaron;

That fixed that error but I now have:
warning: NO (HPLIP USB I/O users must be member of 'lp' group)
note: This may not be a problem if this user will not be printing using HPLIP USB I/O.

When I go to print in DigiKam I have a choice of 4 different "Print Systems" to chose from"
1 CUPS
2 Print through external program (Generic)
3 LPR/LPRng Print System
4 LRPR Environment
I have used CUPS so far. Is this correct.
I can however see both of my HP printers ... that is a start.

Other graphics programs ar using other systems:
"ICC Plug-In" on CinePaint and GutenPrint on GIMP
It would be nice if there was some consistency on my system

My further attempt at a reinstall is in an effort to get "print Preview" to work with graphic files
Interestingly 'print preview' works fine with web docs or PDF files but fails to load with image data.

I would appreciate if you could provide further guidance.

David

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

Please run hp-check and post the output.

Thanks!

A

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

Clicked wrong button-should be Info request.

A

Revision history for this message
David Vincent-Jones (davidvj) said :
#5

Aaron; this is the full output:

HP Linux Imaging and Printing System (ver. 2.7.7)
Dependency/Version Check Utility ver. 10.0

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

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux david-laptop 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007
i686 GNU/Linux

Distribution:
ubuntu 7.10

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

Checking Python version...
OK, version 2.5.1 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.7 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.3.2

----------------
| DEPENDENCIES |
----------------

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: 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 - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
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 2.7.7 currently installed in '/usr/share/hplip'.

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

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.7

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

# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=no
foomatic-ppd-install=no
internal-tag=2.7.7.27

----------------------
| INSTALLED PRINTERS |
----------------------

DESKJET_970C
------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/DeskJet_970C?serial=US9AD1K012JQ
PPD: /etc/cups/ppd/DESKJET_970C.ppd
PPD Description: HP DeskJet 970C Foomatic/hpijs (recommended)
Printer status: printer DESKJET_970C is idle. enabled since Wed 26 Dec
2007 09:43:22 AM PST

Photosmart_8700
---------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/Photosmart_8700_series?ip=192.168.1.41
PPD: /etc/cups/ppd/Photosmart_8700.ppd
PPD Description: HP PhotoSmart 8700 Foomatic/hpijs (recommended)
Printer status: printer Photosmart_8700 is idle. enabled since Wed 26
Dec 2007 09:33:00 AM PST

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

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

Checking output of 'scanimage -L'...
device `epkowa:libusb:005:005' is a Epson Perfection 3170 flatbed
scanner

---------------------
| 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 proper HPLIP I/O setup (USB I/O only)...
udev "usb_device" access mode: 0664 (OK)

Checking for permissions of USB attached printers...
HP Device 0x1004 at 003:002:
    Device URI: hp:/usb/DeskJet_970C?serial=US9AD1K012JQ
    Device node: /dev/bus/usb/003/002
    Mode: 0666
    UID: 0 (root)
    GID: 7 (lp)
    Device group and mode appear correct.

Is user 'david' a member of the 'lp' group?
warning: NO (HPLIP USB I/O users must be member of 'lp' group)
note: This may not be a problem if this user will not be printing using
HPLIP USB I/O.

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

error: 1 error or warning.

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

************ end of output *****************

On Wed, 2008-01-09 at 18:37 +0000, Aaron Albright wrote:
> Your question #21780 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/21780
>
> Status: Open => Answered
>
> Aaron Albright proposed the following answer:
> Please run hp-check and post the output.
>
> Thanks!
>
> A
>

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

Okay. The permission settings have changed since 2.7.7. If possible please upgrade to 2.7.12.

This will most likely resolve this.

A

Revision history for this message
David Vincent-Jones (davidvj) said :
#7

Aaron

Now installed 2.7.12 and 'hp-check' runs clean

Thank you

David

Revision history for this message
David Vincent-Jones (davidvj) said :
#8

Aaron;

Thanks for the help. 2.7.12 is now correctly installed and 'hp-check'
runs clean.

David

On Wed, 2008-01-09 at 20:17 +0000, Aaron Albright wrote:
> Your question #21780 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/21780
>
> Status: Open => Answered
>
> Aaron Albright proposed the following answer:
> Okay. The permission settings have changed since 2.7.7. If possible
> please upgrade to 2.7.12.
>
> This will most likely resolve this.
>
> A
>

Revision history for this message
David Vincent-Jones (davidvj) said :
#9

Aaron;

A couple of things:

1. After installing the latest version I finished up with the downloaded tar file plus a locked hplip-2.7.12 folder on my desktop. The downloaded file was easy to trash but the other, ( that I assume is a temp folder ) appears unmovable. How can I delete or even just hide it?

2. Some better news: I decided to put the KDE desktop onto my system for alternate usage. Without using KDE my 'Print Preview' now works. Great relief!

David

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

Sometimes if the installer is ran as root it will create a folder with the incorrect permissions, you can delete it by running

chmod 777 hplip-2.7.12
then
rm -rf hplip-2.7.12

Course you have to be in the directory where the directory is at, if that makes sense.

Glad everything else is working!

All the best,
A

Revision history for this message
David Vincent-Jones (davidvj) said :
#11

Aaron;

The "sudo chmod 777 hplip-2.7.12" appears to allow permission only to that folder which I can now open
However all of the sub-folders are still locked and "rm -rf hplip-2.7.12" just sends back a list of denied permissions.

I can now drag it into the trash ... but then the trash is locked up

Is there a command that will fry all of the subfolder permissions and any protected files en-mass?

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

Shoot I'm sorry.

That should be.

sudo chmod -R 777 hplip-2.7.12.

Sorry about that I forgot the recursive bit.

If it's in the trash you can run something like

sudo chmod -R 777 ~/.Trash

and that should change the permissions of all the files in the trash to 777, etc.

A

Revision history for this message
David Vincent-Jones (davidvj) said :
#13

Aaron;

Works a treat! Many thanks

David