Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361455 - net-print/hplip-3.11.3a: scanning at high resolutions is really unstable
Summary: net-print/hplip-3.11.3a: scanning at high resolutions is really unstable
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 10:44 UTC by Pacho Ramos
Modified: 2012-11-13 19:57 UTC (History)
3 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 Pacho Ramos gentoo-dev 2011-03-31 10:44:55 UTC
After buying a DeskJet 2050 J510 series printer I noticed xsane was being closed when trying to do the following (even if it worked fine with my old PSC 1610 printer):
1. Launch xsane
2. Set resolution to 1200 (maximum)
3. Get a "preview"
4. Select a region
5. Click on "scan"

-> xsane is closed with exit status 0:

$ echo $?
0

The following messages are shown in messages:

Mar 31 12:41:52 localhost xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Mar 31 12:42:28 localhost xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Mar 31 12:42:28 localhost xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Mar 31 12:42:28 localhost xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Mar 31 12:42:41 localhost xsane: sane_hpaio_cancel: already cancelled!
Mar 31 12:42:41 localhost xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Mar 31 12:42:53 localhost xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Mar 31 12:42:53 localhost xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN


Maybe related with:
https://bugs.launchpad.net/hplip/+bug/732852

Reproducible: Always




# emerge --info hplip
Portage 2.1.9.45 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5,
glibc-2.11.3-r0, 2.6.37-ck x86_64)
=================================================================
                         System Settings
=================================================================
System uname:
Linux-2.6.37-ck-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.14
Timestamp of tree: Thu, 31 Mar 2011 09:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages
multilib-strict news parallel-fetch protect-owned sandbox sfperms sign
split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org
http://ftp.ussg.iu.edu/linux/gentoo http://mirror.ovh.net/gentoo-distfiles/
http://ftp.heanet.ie/pub/gentoo/ http://ftp.udc.es/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion
berkdb branding bzip2 cairo cdda cddb cdinstall cdr cdrom cleartype cli
consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds
emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif
git gnome gnome-keyring gpm gstreamer gtk hddtemp iconv java jpeg kpathsea
latex lcdfilter lcms libnotify lm_sensors lyx lzma mad mikmod mmx mmxext mng
modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network
network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre
pdf perl png policykit ppds pppd python qt3support qt4 readline reiserfs
scanner sdl session sound spell sse sse2 sse3 ssl startup-notification
subversion svg sysfs t1lib tcpd test threads tiff truetype udev unicode usb
v4l2 vcd vorbis webkit x264 xattr xcb xml xmp xorg xpm xulrunner xv xvid
zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES
en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU"
VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal
rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-print/hplip-3.11.3a was built with the following:
USE="X hpcups hpijs libnotify (multilib) policykit qt4 scanner test -doc -fax
-kde -minimal -parport -snmp -static-ppds -udev-acl"
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-01-24 22:35:05 UTC
Is this still a problem with current versions of hplip?
Comment 2 Pacho Ramos gentoo-dev 2012-01-25 09:17:43 UTC
xsane now shows the following and keep failing at this resolution:
Failed to start scanner: Error during I/O

The following is shown in messages:

Jan 25 10:17:23 belkin4 xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Jan 25 10:17:23 belkin4 xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Jan 25 10:17:23 belkin4 xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Jan 25 10:17:24 belkin4 xsane: scan/sane/http.c 189: timeout reading data sec_timeout=1
Jan 25 10:17:24 belkin4 xsane: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Jan 25 10:17:24 belkin4 xsane: scan/sane/http.c 345: invalid http_status=500
Jan 25 10:17:24 belkin4 xsane: scan/sane/http.c 349: dumping len=194
Jan 25 10:17:25 belkin4 xsane: scan/sane/http.c 189: timeout reading data sec_timeout=1
Comment 3 Pacho Ramos gentoo-dev 2012-01-25 09:18:10 UTC
I am running 3.11.12-r1
Comment 4 Daniel Pielmeier gentoo-dev 2012-02-08 20:04:49 UTC
I guess hplip-3.12.2 does not fix it?
Comment 5 Pacho Ramos gentoo-dev 2012-02-09 07:43:10 UTC
It's the same :(
Comment 6 Daniel Pielmeier gentoo-dev 2012-11-13 18:55:25 UTC
I recently bought a HP Photosmart 6510 with fax capabilities. I am not able to reproduce your problems. Scanning with xsane works fine here even with high resolutions.
Comment 7 Pacho Ramos gentoo-dev 2012-11-13 19:57:14 UTC
I don't have now that HP printer, then, I cannot test :S