Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102926 - hplip probe fails with connection refused, also fails to start hpiod and hpssd
Summary: hplip probe fails with connection refused, also fails to start hpiod and hpssd
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-17 17:20 UTC by EzInKy
Modified: 2005-09-25 09:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EzInKy 2005-08-17 17:20:51 UTC
Attempting to switch from the deprecated hpoj I found I was unable to get hplip
to perform correctly. The printer is an HP PSC 2110. Probe failed with the
connection refused error despite trying to manually starting snmpd. Starting
hplip manually resulted in the failures mentioned in the summary, but I was able
to successfully print after configuring with kde control panel. Scanning was not
possible, but reemerging hpoj and editing /etc/sane.d/dll.conf to that backend
proved that my printer's scanner did indeed still work.  

Reproducible: Always
Steps to Reproduce:
1. ./probe 
2. connection refused error
3. /etc/init.d/hplip
4. hpio and hpss errors
5. ./toolbox fails to start with error
6. test print using kde control center works
7. sane-find-scanner fails
8. reinstall hpoj, reconfigure cups, and edit sane.d/dll.conf
9. printer and scanning work as expected

Actual Results:  
Probe fails with errors, scanning does not work.

Expected Results:  
Probe should find printer as hpoj's ptal-init does without errors. Scanner
should work.

# ptal-init

Currently defined device names ([*]=default):
    "mlc:usb:PSC_2100_Series"
        Model is "PSC 2100 Series".
        Serial number is "MY38AF42FD0F".

#emerge info

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-rc5 i686)
=================================================================
System uname: 2.6.13-rc5 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.0_pre5
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -fomit-frame-pointer -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/tex/generic/config /usr/share/texmf/tex/platex/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -fomit-frame-pointer -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distcc distlocks keeptemp keepwork noauto
noclean notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr
crypt cups curl dga directfb doc dvd dvdr eds emboss encode esd fam fbcon flac
flash foomaticdb fortran freetds gd gdbm gif gnome gpm gps gstreamer gtk gtk2
gtkhtml guile imagemagick imap imlib innodb ipv6 jack java jikes jpeg junit kde
ladcca lcms libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses
nls nptl odbc ogg oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline samba scanner sdl slang slp snmp softmmu speex spell sse ssl
svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis
win32codecs xine xml xml2 xmms xv zlib video_cards_radeon userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Ryan Stinnett 2005-08-22 12:57:20 UTC
What is the text of the error you get from probe?  Also, probe didn't work for
me until after the hplip service was started.
Comment 2 EzInKy 2005-08-23 10:12:06 UTC
Following information found in bug #97033 I was able to get my PSC 2110 to work,
both printer and scanner, by running /usr/sbin/hpiod and
/usr/share/hplip/hpssd.py manually before running ./probe in the same directory
so apparently the bug lies with starting hpiod from the hplip init script. I
tried removing --quiet from the line that starts hpiod, but was unable to stop
the service due to a lock file even after deleting the pid file in /var/run.
Going to see what happens after a reboot.
Comment 3 EzInKy 2005-08-23 11:12:44 UTC
Stopping the hplip services and clearing pids did not change the problem. Hpiod
and Hpssd.py still had to be started manually before probe to get printing
working. Also, trying ./testpage results in...

[ERROR]: No devices found.
[ERROR]: Error occured during interative mode. Exiting.

...yet cups happily prints and sane happily scans.




Comment 4 Michael S Costello 2005-08-27 22:12:35 UTC
Same problem here.  HP PSC 1350.

Worked fine til most recent Fri Aug 26 00:00:08 CDT 2005 emerge -u -p -D system.

Sun Aug 28 00:00:08 CDT 2005 emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r1,
2.6.11-gentoo-r10 i686)
=================================================================
System uname: 2.6.11-gentoo-r10 i686 AMD Duron(tm) processor
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r9, 2.16-r1, 2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowex 3ds X X509 a52 aac aalib acpi acpi4linux aim alsa
anthy apache2 apm ares arts artworkextra audiofile avi bdf berkdb bidi
bitmap-fonts blender-game bonobo bootsplash bzip2 bzlib canna cddb cdinstall
cdparanoia cdr cgi chroot cjk clanJavaScript clanVoice clisp codecs cpdflib
cracklib crypt cscope css ctype cups curl curlwrappers dba dbm dio directfb
distcache divx4linux doc dts dv edl eds emboss encode esd exif fam fbcon flac
foomaticdb fortran gb gd gdbm gif gimp gimpprint gkrellm glgd gnome gnomedb
gnustep gphoto2 gpm graphviz gs gsnd gstreamer gtk gtk2 gtkhtml guile hal hbci
iconv imagemagick imap imlib ipv6 ithreads jabber jack java javacomm javadoc
javamail javascript jbig jce jikes joystick jp2 jpeg junit kde kerberos krb4
ladcca ladspa lcms libcaca libg++ libgda libsamplerate libwww live lzo lzw
lzw-tiff mad makecheck matroska mdb mikmod ming mjpeg mmx mmx2 mng mono motif
mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi
mplayer multislot multitarget mysql mythtv nas ncurses netbeans nls nowin objc
offensive ofx ogg oggvorbis opengl openntpd openssh oscar oss pam pcre pdflib
perl physfs png portaudio postgres ppds python qt quicktime quotes readline real
rogue rtc samba scanner sdk sdl sftplogging slang sndfile soap sockets
soundtouch sox speedo speex spell ssl svg svga tcltk tcpd tga threads tidy tiff
transcode truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vcdimager
vdesktop vim-pager vorbis wmf wxwindows xanim xatrix xchattext xfs xine xml xml2
xmlrpc xmms xosd xprint xv xvid xvmc yahoo yv12 zlib zvbi video_cards_3dfx
video_cards_i810 video_cards_i830 video_cards_i915 video_cards_mach64
video_cards_matrox video_cards_rage128 video_cards_radeon video_cards_savage
video_cards_sis video_cards_via userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Luis Medinas (RETIRED) gentoo-dev 2005-08-29 20:17:18 UTC
since i don't have how to test this anyone can please submit a patch that works
with this ?
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2005-09-25 09:40:29 UTC
reopen the bug when you have a patch for this (i don't have any printer that
supports needs this package).