Chuck Hast <wchast <at> gmail.com> writes:

> 
> When I run HP-toolbox as a local user (when I set up hplip, it asked me if
> I wanted the local  users to have access to the print system, I responded
> yes so figured that as a local user I hp-toolbox would work) I get the follow-
> ing error messages:
> 
> 
> If I run it as root, all is OK the devices are found and I can use the toolbox
> to scan and print. It appears that there is a permission issue somewhere
> but I am not sure  where to poke...
> 
> NOTE, it works just fine if run under root, but as a local user it tosses this
> error.


I have the same issue and I have added my users to the lp group. I can use the
hp-toolbox as root and can scan and print. All I get is a warning about PyQt but
it works.


Jul 24 14:58:20 rust python: hp-toolbox[15589] error: This program may not
function properly with the version of PyQt that is installed (3.13.0).
Jul 24 14:58:20 rust python: hp-toolbox[15589] error: Incorrect version of pyQt
installed. Ver. 3.14 or greater required.
Jul 24 14:58:20 rust python: hp-toolbox[15589] error: This program will
continue, but you may experience errors, crashes or other problems.


When I try to run hp-toolbox as a regular user, it doesn't find the device.


Jul 24 15:00:22 rust python: hp-toolbox[15691] error: This program may not
function properly with the version of PyQt that is installed (3.13.0).
Jul 24 15:00:22 rust python: hp-toolbox[15691] error: Incorrect version of pyQt
installed. Ver. 3.14 or greater required.
Jul 24 15:00:22 rust python: hp-toolbox[15691] error: This program will
continue, but you may experience errors, crashes or other problems.
Jul 24 15:00:26 rust python: io/hpmud/musb.c 512: invalid product id string:
Operation not permitted
Jul 24 15:00:26 rust python: io/hpmud/musb.c 966: unable to open
hp:/usb/Officejet_J5700_series?serial=CN71UBF13W04TB
Jul 24 15:00:26 rust python: hp-toolbox[15691] error: Unable to communicate with
device (code=12): hp:/usb/Officejet_J5700_series?serial=CN71UBF13W04TB
Jul 24 15:00:26 rust python: hp-toolbox[15691]: warning: Device not found
Jul 24 15:00:26 rust python: io/hpmud/musb.c 512: invalid product id string:
Operation not permitted
Jul 24 15:00:26 rust python: io/hpmud/musb.c 966: unable to open
hp:/usb/Officejet_J5700_series?serial=CN71UBF13W04TB
Jul 24 15:00:26 rust python: hp-toolbox[15691] error: Unable to communicate with
device (code=12): hp:/usb/Officejet_J5700_series?serial=CN71UBF13W04TB
Jul 24 15:00:26 rust python: hp-toolbox[15691]: warning: Device not found


Here is the output of hp-check -t as a regular user. Notice that sane doesn't 
see
the scanner. It does when I run it as root.


HP Linux Imaging and Printing System (ver. 2.7.6)
Dependency/Version Check Utility ver. 8.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.

Check the existence and versions of HPLIP dependencies.

Usage: hp-check [OPTIONS]

[OPTIONS]
  Pre-install check:  -p or --pre
  Set the logging     -l<level> or --logging=<level>
  level:
                      <level>: none, info*, error, warn, debug (*default)
  Run in debug mode:  -g (same as option: -ldebug)
  Output plain text   -t
  only:
  This help           -h or --help
  information:

Notes:
1. For posting to the mailing list, use the -t parameter and then copy/paste the
onscreen output or use the generated hp-check.log file.
2. Use with the '-p' switch prior to installation to check for dependencies and
system requirements (skips some checks).
3. Run without the '-p' switch after installation to check for proper install
(runs all checks).


hp-check[15889]: info: :
hp-check[15889]: info: :---------------
hp-check[15889]: info: :| SYSTEM INFO |
hp-check[15889]: info: :---------------
hp-check[15889]: info: :
hp-check[15889]: info: :Basic system information:
hp-check[15889]: info: :Linux rust.w6fm.homeip.net 2.6.12-1.1381_FC3 #1 Fri Oct
21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux
hp-check[15889]: info: :
hp-check[15889]: info: :[01mDistribution:[0m
hp-check[15889]: info: :fedora 3.0
hp-check[15889]: info: :
HPOJ running?
hp-check[15889]: info: :No, HPOJ is not running (OK).
hp-check[15889]: info: :
hp-check[15889]: info: :Checking Python version...
hp-check[15889]: info: :OK, version 2.3.4 installed
hp-check[15889]: info: :
hp-check[15889]: info: :Checking PyQt version...
hp-check[15889]: error: :HPLIP may not function properly with the version of
PyQt that is installed (3.13.0).
hp-check[15889]: error: :Ver. 3.14 or greater required.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking SIP version...
hp-check[15889]: info: :OK, Version 4.1 installed
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for CUPS...
hp-check[15889]: info: :Status: scheduler is running
hp-check[15889]: info: :Version: 1.1.22rc1
hp-check[15889]: info: :
hp-check[15889]: info: :----------------
hp-check[15889]: info: :| DEPENDENCIES |
hp-check[15889]: info: :----------------
hp-check[15889]: info: :
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency cups - Common Unix Printing
System...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency cups-devel- Common Unix Printing
System development files...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency gcc - GNU Project C and C++
Compiler...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency GhostScript - PostScript and PDF
language interpreter and previewer...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency libcrypto - OpenSSL
cryptographic library...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency libjpeg - JPEG library...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency libnetsnmp-devel - SNMP
networking library development files...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency libpthread - POSIX threads
library...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency libusb - USB library...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency make - GNU make utility to
maintain groups of programs...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency ppdev - Parallel port support
kernel module....
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency PyQt - Qt interface for 
Python...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency python-devel - Python
development files...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency Python 2.3 or greater - Required
for fax functionality...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency Python 2.2 or greater - Python
programming language...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency Reportlab - PDF library for
Python...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency sane - Scanning library...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency sane-devel - Scanning library
development files...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency scanimage - Shell scanning
program...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for dependency xsane - Graphical scanner
frontend for SANE...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :
hp-check[15889]: info: :----------------------
hp-check[15889]: info: :| HPLIP INSTALLATION |
hp-check[15889]: info: :----------------------
hp-check[15889]: info: :
hp-check[15889]: info: :
hp-check[15889]: info: :Currently installed HPLIP version...
hp-check[15889]: info: :HPLIP 2.7.6 currently installed in '/usr/share/hplip'.
hp-check[15889]: info: :
hp-check[15889]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[15889]: info: :# 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.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.7.6
icon=/usr/share/applications
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=no
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=yes
doc-build=yes
shadow-build=no
foomatic-xml-install=no
foomatic-ppd-install=yes
internal-tag=2.7.6.13

hp-check[15889]: info: :
hp-check[15889]: info: :----------------------
hp-check[15889]: info: :| INSTALLED PRINTERS |
hp-check[15889]: info: :----------------------
hp-check[15889]: info: :
hp-check[15889]: info: :
hp-check[15889]: info: :brother
hp-check[15889]: info: :-------
hp-check[15889]: info: :Type: Unknown
hp-check[15889]: info: :Installed in HPLIP?: No, not using the hp: or hpfax:
CUPS backend.
hp-check[15889]: info: :Device URI: lpd://192.168.44.253/PASSTHRU
hp-check[15889]: info: :PPD: /etc/cups/ppd/brother.ppd
hp-check[15889]: info: :PPD Description: Brother HL-5170DN Foomatic/Postscript
(recommended)
hp-check[15889]: info: :Printer status: printer brother is idle.  enabled since
Jan 01 00:00
hp-check[15889]: error: :Printer is not HPLIP installed. Printers must use the
hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[15889]: info: :
hp-check[15889]: info: :Officejet_J5700
hp-check[15889]: info: :---------------
hp-check[15889]: info: :Type: Printer
hp-check[15889]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[15889]: info: :Device URI:
hp:/usb/Officejet_J5700_series?serial=CN71UBF13W04TB
hp-check[15889]: info: :PPD: /etc/cups/ppd/Officejet_J5700.ppd
hp-check[15889]: info: :PPD Description: HP OfficeJet J5700 Foomatic/hpijs
(recommended)
hp-check[15889]: info: :Printer status: printer Officejet_J5700 is idle. 
enabled since Jan 01 00:00
hp-check[15889]: info: :
hp-check[15889]: info: :Officejet_J5700_fax
hp-check[15889]: info: :-------------------
hp-check[15889]: info: :Type: Fax
hp-check[15889]: info: :Installed in HPLIP?: Yes, using the hpfax: CUPS
backend.hp-check[15889]: info: :Device URI:
hpfax:/usb/Officejet_J5700_series?serial=CN71UBF13W04TB
hp-check[15889]: info: :PPD: /etc/cups/ppd/Officejet_J5700_fax.ppd
hp-check[15889]: info: :PPD Description: HP Fax
hp-check[15889]: info: :Printer status: printer Officejet_J5700_fax is idle. 
enabled since Jan 01 00:00
hp-check[15889]: info: :
hp-check[15889]: info: :
hp-check[15889]: info: :----------------------
hp-check[15889]: info: :| SANE CONFIGURATION |
hp-check[15889]: info: :----------------------
hp-check[15889]: info: :
hp-check[15889]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[15889]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking output of 'scanimage -L'...
hp-check[15889]: info: :
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).

hp-check[15889]: info: :
hp-check[15889]: info: :---------------------
hp-check[15889]: info: :| PYTHON EXTENSIONS |
hp-check[15889]: info: :---------------------
hp-check[15889]: info: :
hp-check[15889]: info: :Checking 'cupsext' CUPS extension...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking 'pcardext' Photocard extension...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking 'hpmudext' I/O extension...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :Checking 'scanext' SANE scanning extension...
hp-check[15889]: info: :OK, found.
hp-check[15889]: info: :
hp-check[15889]: info: :
hp-check[15889]: info: :-----------------
hp-check[15889]: info: :| USB I/O SETUP |
hp-check[15889]: info: :-----------------
hp-check[15889]: info: :
hp-check[15889]: info: :Checking proper HPLIP I/O setup (USB I/O only)...
hp-check[15889]: info: :
hp-check[15889]: info: :Checking for permissions of USB attached printers...
hp-check[15889]: info: :
hp-check[15889]: info: :
hp-check[15889]: info: :-----------
hp-check[15889]: info: :| SUMMARY |
hp-check[15889]: info: :-----------
hp-check[15889]: info: :
hp-check[15889]: error: :2 errors and/or warnings.
hp-check[15889]: info: :
hp-check[15889]: info: :Please refer to the installation instructions at:
hp-check[15889]: info: :http://hplip.sourceforge.net/install/index.html


Help please!

Ron W6FM



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HPLIP-Help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to