[Hplip-help] Problem in running HP 2840 on FC6 with hplip....Desperate!!

Sanjay Arora sanjay.k.arora at gmail.com
Wed Jul 11 06:31:27 UTC 2007


Hello Aaron

Thanks for helping me.
On 7/11/07, Aaron <ke7ezt at gmail.com> wrote:
> How did you install hplip? manual? or automatic?
>
Manual. Exactly as per
http://hplip.sourceforge.net/install/manual/distros/fedora_core.html
but maybe I did make an error.

Originally my computer had the rpm version 1.7.2 installed. I forgot
to uninstall it and installed the tarball version on top of it. Then
when that did not work I installed following exactly the above
procedure.

Nowhere did I remove the previous install. How do I remove all the
previous files of these installs, so that I can start clean?

Also, how do I get the ppd file of the printer? to put into the ppd
directory of the rpm install, if thats all that is required, as my
hplip driver is higher than the minimum requirement of 0.95?

After that I will do a manual install again and revert.

Output of hp-setup -g is given below.

With best regards and thanks.
Sanjay.

[root at swayam0 admin.scripts]# hp-setup -g

HP Linux Imaging and Printing System (ver. 2.7.6)
Printer/Fax Setup Utility ver. 4.5

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.

hp-setup[9332]: debug: Startup: Trying to connect to hpssd on localhost:2207
hp-setup[9332]: debug: Cannot connect to hpssd. Launching...

HP Linux Imaging and Printing System (ver. 2.7.6)
Services and Status Daemon ver. 9.2

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.

Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 260, in ?
    w = setupform.SetupForm(bus, param, jd_port, username)
  File "/usr/share/hplip/ui/setupform.py", line 141, in __init__
    self.hpssd_sock = service.startup()
  File "/usr/share/hplip/base/service.py", line 51, in startup
    time.sleep(0.5)
KeyboardInterrupt
[root at swayam0 admin.scripts]#

>
> On 7/10/07, Sanjay Arora <sanjay.k.arora at gmail.com > wrote:
> >
> > Hello all
> >
> > I just bought a multifunction device HP 2840. I have connected it
> > through the network port giving it a static ip address on my private ip
> > subnet 192.168.2000/24 FC6 updated till date had HPlip v. 1.7.2-3.fc6
> > installed. When I ran hp-setup, it stated that ppd file for the printer
> > rot found. I assumed that the driver needed to be updated and since no
> > rpm file was available, I used the source file of hplip.2.7.6
> >
> > Here however after install, the hp-setup program failed to launch the
> > graphic configuration utility & seemed to hang.
> >
> > Then I used the install file & process given at
> > http://hplip.sourceforge.net/install/install/index.html
> Install seemed
> > to go well, except for two things...I could not get the rpm of
> > dependency pil (python imaging library) and hp-check could not detect
> > any scanner on the device.
> >
> > Outputs of hp-check & hp-setup is attached.
> >
> > The hp-setup only gives the output attached and then seems to just
> > wait forever.
> >
> > A look in the /var/log/messages showed some kind of socket creation
> > problem....output filtered to get keyword python from the log is attached.
> >
> > Printer runs fine on the only windows PC we have in our company. Have
> > not tested on Centos 5, which is the most installed OS in our company.
> > Just assumed that if something does not work on Fedora, it would not
> > work on Centos 5, as Fedora is the one that is cutting-edge.
> >
> > Request please help.
> >
> > With best regards and thanks in anticipation.
> > Sanjay.
> >
> > PS: I really wonder why can't hp depute some people to keep the drivers
> > upto date in a form installable with yum or similar tools, especially if
> > the driver exists! Is it a conspiracy to sell old hardware to open
> > source users ;-)) It seems only old hardware installs automatically ;-(
> >
> >
> >
> >
> >
> >
> > [root at swayam0 ~]# hp-check
> >
> > 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.
> >
> > Initializing. Please wait...
> > Saving output in log file: hp-check.log
> >
> > ---------------
> > | SYSTEM INFO |
> > ---------------
> >
> > Basic system information:
> > Linux swayam0.asr.transcontinental.co.in
> 2.6.20-1.2962.fc6xen #1 SMP Tue Jun 19 19:47:34 EDT 2007 i686 i686 i386
> GNU/Linux
> >
> > Distribution:
> > fedora 6
> >
> > HPOJ running?
> > No, HPOJ is not running (OK).
> >
> > Checking Python version...
> > OK, version 2.4.4 installed
> >
> > Checking PyQt version...
> > OK, version 3.17 installed.
> >
> > Checking SIP version...
> > OK, Version 4.5 installed
> >
> > Checking for CUPS...
> > Status: scheduler is running
> > Version: 1.2.10
> >
> > ----------------
> > | 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 libusb - USB library...
> > OK, found.
> >
> > Checking for dependency make - GNU make utility to maintain groups of
> programs...
> > 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-devel - 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.6 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.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=yes
> > gui-build=yes
> > scanner-build=yes
> > fax-build=yes
> > cups11-build=no
> > doc-build=yes
> > shadow-build=no
> > foomatic-xml-install=yes
> > foomatic-ppd-install=no
> > internal-tag=2.7.6.13
> >
> >
> > ----------------------
> > | INSTALLED PRINTERS |
> > ----------------------
> >
> >
> > warning: No queues found.
> >
> > ----------------------
> > | SANE CONFIGURATION |
> > ----------------------
> >
> > 'hpaio' in '/etc/sane.d/dll.conf'...
> > 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 proper HPLIP I/O setup (USB I/O only)...
> >
> > Checking for permissions of USB attached printers...
> >
> >
> > -----------
> > | SUMMARY |
> > -----------
> >
> > No errors or warnings.
> > [root at swayam0 ~]# hp-setup
> >
> > HP Linux Imaging and Printing System (ver. 2.7.6)
> > Printer/Fax Setup Utility ver. 4.5
> >
> > 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.
> >
> >
> > HP Linux Imaging and Printing System (ver. 2.7.6)
> > Services and Status Daemon ver. 9.2
> >
> > 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.
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/hp-setup", line 260, in ?
> >     w = setupform.SetupForm(bus, param, jd_port, username)
> >   File "/usr/share/hplip/ui/setupform.py", line 141, in
> __init__
> >     self.hpssd_sock = service.startup()
> >   File "/usr/share/hplip/base/service.py", line 51, in
> startup
> >     time.sleep(0.5)
> > KeyboardInterrupt
> > [root at swayam0 ~]#
> >
> >
> > [root at swayam0 ~]# cat /var/log/messages |grep python
> > Jul  9 14:16:45 swayam0 python: hp-check[4750]: warning: NOT FOUND! This
> is an OPTIONAL dependency. Some HPLIP functionality may not function
> properly.
> > Jul  9 14:17:02 swayam0 python: hp-check[4750]: warning: NOT FOUND! This
> is an OPTIONAL dependency. Some HPLIP functionality may not function
> properly.
> > Jul  9 14:17:19 swayam0 python: hp-check[4750]: warning: No queues found.
> > Jul  9 14:17:25 swayam0 python: hp-check[4750] error: 2 errors and/or
> warnings.
> > Jul  9 14:21:19 swayam0 python: hpssd[4924] error: Server exited with
> error: Unable to bind to socket
> > Jul 10 00:27:37 swayam0 python: hplip-install[10577]: note: Defaults for
> each question are maked with a '*'. Press <enter> to accept the default.
> > Jul 10 00:35:18 swayam0 python: hplip-install[10577]: note: Password
> accepted.
> > Jul 10 00:35:32 swayam0 python: hplip-install[10577]: note: Installation
> of dependencies requires an active internet connection.
> > Jul 10 00:35:32 swayam0 python: hplip-install[10577]: warning: Missing
> OPTIONAL dependency for option 'PC Send Fax': reportlab (Reportlab - PDF
> library for Python)
> > Jul 10 00:35:44 swayam0 python: hplip-install[10577]: warning: Missing
> OPTIONAL dependency for option 'Scanning': pil (PIL - Python Imaging Library
> (required for commandline scanning with hp-scan))
> > Jul 10 00:43:10 swayam0 python: hplip-install[10577] error: Aborted.
> > Jul 10 00:54:55 swayam0 python: hplip-install[11323]: note: Defaults for
> each question are maked with a '*'. Press <enter> to accept the default.
> > Jul 10 00:55:43 swayam0 python: hplip-install[11323]: note: Password
> accepted.
> > Jul 10 00:55:50 swayam0 python: hplip-install[11323]: note: Installation
> of dependencies requires an active internet connection.
> > Jul 10 00:55:50 swayam0 python: hplip-install[11323]: warning: Missing
> OPTIONAL dependency for option 'PC Send Fax': reportlab (Reportlab - PDF
> library for Python)
> > Jul 10 00:55:58 swayam0 python: hplip-install[11323]: warning: Missing
> OPTIONAL dependency for option 'Scanning': pil (PIL - Python Imaging Library
> (required for commandline scanning with hp-scan))
> > Jul 10 01:26:36 swayam0 Installed: python-imaging.i386 1.1.6-3.fc6
> > Jul 10 01:27:27 swayam0 Installed: python-reportlab.noarch 1.21.1-1.fc6
> > Jul 10 01:35:36 swayam0 python: hplip-install[11323]: warning: An optional
> dependency 'pil' is still missing.
> > Jul 10 01:35:36 swayam0 python: hplip-install[11323]: warning: Some
> features may not function as expected.
> > Jul 10 03:24:20 swayam0 python: hplip-install[11323] error: Please enter
> 'y', 'n', or 'q'.
> > Jul 10 03:25:11 swayam0 python: hpssd[6001] error: Server exited with
> error: Unable to bind to socket
> > Jul 10 04:15:06 swayam0 python: hpssd[6396] error: Server exited with
> error: Unable to bind to socket
> > Jul 10 04:39:26 swayam0 python: hp-check[6904]: warning: No queues found.
> > Jul 10 04:43:25 swayam0 python: hpssd[7026] error: Server exited with
> error: Unable to bind to socket
> > Jul 10 04:44:24 swayam0 python: hpssd[7030] error: Server exited with
> error: Unable to bind to socket
> > Jul 10 04:44:55 swayam0 python: hpssd[7036] error: Server exited with
> error: Unable to bind to socket
> > Jul 10 05:08:33 swayam0 python: hplip-install[11323] error: Exception
> > Jul 10 05:10:36 swayam0 python: hp-setup[7286] error: You must be root to
> run this utility.
> > Jul 10 05:11:29 swayam0 python: hpssd[7290] error: Server exited with
> error: Unable to bind to socket
> > Jul 10 23:58:28 swayam0 python: hp-check[4321]: warning: NOT FOUND! This
> is an OPTIONAL dependency. Some HPLIP functionality may not function
> properly.
> > Jul 11 00:01:23 swayam0 python: hp-check[4321]: warning: No queues found.
> > Jul 11 00:01:38 swayam0 python: hp-check[4321] error: 1 error or warning.
> > Jul 11 00:18:47 swayam0 python: hp-check[4758]: warning: No queues found.
> > Jul 11 00:19:57 swayam0 python: hpssd[5080] error: Server exited with
> error: Unable to bind to socket
> > [root at swayam0 ~]#
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > HPLIP-Help mailing list
> > HPLIP-Help at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hplip-help
> >
> >
>
>
>
> --
> I don't care, I'm still free.  You can't take the sky from me. - Firefly
> "Reality is merely an illusion, albeit a very persistent one." - Einstein




More information about the fedora-list mailing list