Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108465 - net-print/hplip-0.9.5 fails to start and when fixed doesn't work too
Summary: net-print/hplip-0.9.5 fails to start and when fixed doesn't work too
Status: RESOLVED DUPLICATE of bug 97033
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-08 02:25 UTC by Marco Squarcina
Modified: 2005-10-09 17:19 UTC (History)
1 user (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 Marco Squarcina 2005-10-08 02:25:41 UTC
I'm not able to scan with my hp psc 1510 when I start hplip:

##########

/etc/init.d/hplip start
 * Starting hpiod ...                                 [ ok ]
 * Starting hpssd ...                                 [ !! ]

##########

So, it seems there is a problem with the init script...

/etc/init.d/hplip :

##########

start() {
        ebegin "Starting hpiod"
        start-stop-daemon --start --quiet --exec /usr/sbin/hpiod
        eend $?

        ebegin "Starting hpssd"
-       start-stop-daemon --start --quiet --exec --pidfile /var/run/hpssd.pid
>/dev/null 2>&1
+       /usr/share/hplip/hpssd.py --pidfile /var/run/hpssd.pid >/dev/null 2>&1
        eend $?
}

##########

And it starts fine!

But now, the scanner doesn't work to :/

##########

darkstar ~ # scanimage -L
Broken pipe

##########

Even if:

##########

darkstar ~ # sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [HP], product=0x4c11 [PSC 1500 series]) at
libusb:002:002

##########

If I stop hplip and start programs manually, everything works:

##########

darkstar ~ # /etc/init.d/hplip stop
 * Stopping hpiod ...                                                          
                                                         [ ok ]
 * Stopping hpssd ...                                                          
                                                         [ ok ]
darkstar ~ # /usr/sbin/hpiod
darkstar ~ # /usr/share/hplip/hpssd.py
 
 HP Linux Imaging and Printing System (ver. 0.9.5)
 Services and Status Daemon ver. 5.2
 
 Copyright (c) 2003-5 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.
 
darkstar ~ # scanimage -L
device `hpaio:/usb/PSC_1500_series?serial=MY56EBB0VG0498' is a hp
PSC_1500_series multi-function peripheral

##########

This is WIRED

Just in case you want to check something, my emerge info:

##########

darkstar ~ # emerge info
Portage 2.0.53_rc4 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -pipe"
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.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa avi bash-completion browserplugin cddb cdr chroot crypt
ctype cups curl dv dvd dvdr emboss encode fam flac foomaticdb fortran ftp gd
gdbm gif glut gmail gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg junit
mjpeg motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 ncurses nls
nowin nptl nptlonly nsplugin ntlm nvidia ogg oggvorbis opengl pam pdflib perl
png ppds python quicktime readline real ruby samba scanner sdl slang sms snmp
speex spell ssl svg tcltk tcpd tiff truetype-fonts type1-fonts usb vorbis xml
xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

##########

Cheers
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2005-10-09 17:19:32 UTC

*** This bug has been marked as a duplicate of 97033 ***