Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295591 - net-print/cups > 1.3.10-r2 fails to print
Summary: net-print/cups > 1.3.10-r2 fails to print
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-03 21:12 UTC by Peter Ruskin
Modified: 2011-02-15 17:12 UTC (History)
0 users

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 Peter Ruskin 2009-12-03 21:12:59 UTC
Anything newer than 1.3.10-r2 will not print to my EPSON Stylus Photo R285 USV printer.  No errors reported.

$ emerge --info
Portage 2.2_rc54 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Dec 2009 00:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -msse3 -msse4a -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -msse3 -msse4a -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests buildsyspkg distlocks fixpackages news nostrip notitles parallel-fetch preserve-libs protect-owned sandbox sfperms unmerge-logs unmerge-orphans userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo"
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/x86"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-h"
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/local/portage/layman/kde-sunset /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3ds 64bit X a52 aac acpi alsa amd64 bash-completion berkdb binary-drivers bittorrent branding bzip2 cairo cdda cddb cdparanoia cdr clamav cli consolekit cups dbase dbus dri dts dv dvd dvdnav dvdr emboss encode evo examples fat ffmpeg firefox flac fuse gdbm gif gimp gpm gstreamer iconv java jpeg kde ldap libnotify lm_sensors mad maildir mbox mikmod mmx modules moznocompose moznoirc mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba scanner sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff tk transcode truetype unicode usb utils vcd vdr videos vim-with-x vorbis wmf x264 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="snd_hda_intel" 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 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="konica minolta" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Rafał Mużyło 2009-12-03 21:37:16 UTC
Do tell - do you mean that as cups 1.4 ?
If so, it's probably another instance of
misconfiguration caused by cups changes
in handling usb.
Comment 2 Peter Ruskin 2009-12-03 22:01:43 UTC
1.3.11 and 1.4.2
Comment 3 Rafał Mużyło 2009-12-05 03:45:23 UTC
As for cups 1.4, it probably usb changes, as
for 1.3 ...no idea.
Comment 4 Dmitri Pogosian 2009-12-24 07:04:40 UTC
In my case after I upgraded to cups-1.3.11 on Nov 24th, none of my windows machines are able to print (over IPP, not samba) over network to a HP Deskjet 990 attached to parallel port  on a Gentoo server running CUPS. My config file remains the same working one as was pre 1.3.11.

What do I know

1) Printing from the server itself works fine

2) Windows machines report error from the server

3) There is network communication. Setting log level to debug produces no obvious errors, just nothing happens.  When the job is submitted on client side,
I get on server side


D [23/Dec/2009:23:24:42 -0700] cupsdAcceptClient: 11 from 192.168.1.105:631 (IP
v4)
D [23/Dec/2009:23:24:42 -0700] cupsdReadClient: 11 POST /printers/hpdeskjet HTT
P/1.1
D [23/Dec/2009:23:24:42 -0700] cupsdAuthorize: No authentication data provided.
D [23/Dec/2009:23:24:42 -0700] cupsdNetIFUpdate: "lo" = localhost:631
D [23/Dec/2009:23:24:42 -0700] cupsdNetIFUpdate: "eth0" = polarbear:631
D [23/Dec/2009:23:24:42 -0700] Get-Printer-Attributes http://192.168.1.100:631/
printers/hpdeskjet
D [23/Dec/2009:23:24:42 -0700] cupsdProcessIPPRequest: 11 status_code=0 (succes
sful-ok)
D [23/Dec/2009:23:25:12 -0700] cupsdReadClient: 11 POST /printers/hpdeskjet HTT
P/1.1
D [23/Dec/2009:23:25:12 -0700] cupsdAuthorize: No authentication data provided.
D [23/Dec/2009:23:25:12 -0700] Get-Printer-Attributes http://192.168.1.100:631/
printers/hpdeskjet
D [23/Dec/2009:23:25:12 -0700] cupsdProcessIPPRequest: 11 status_code=0 (succes
sful-ok)
D [23/Dec/2009:23:25:23 -0700] Report: clients=1
D [23/Dec/2009:23:25:23 -0700] Report: jobs=345
D [23/Dec/2009:23:25:23 -0700] Report: jobs-active=0
D [23/Dec/2009:23:25:23 -0700] Report: printers=1
D [23/Dec/2009:23:25:23 -0700] Report: printers-implicit=0
D [23/Dec/2009:23:25:23 -0700] Report: stringpool-string-count=999
D [23/Dec/2009:23:25:23 -0700] Report: stringpool-alloc-bytes=9120
D [23/Dec/2009:23:25:23 -0700] Report: stringpool-total-bytes=15248
D [23/Dec/2009:23:25:42 -0700] cupsdReadClient: 11 POST /printers/hpdeskjet HTT
P/1.1
D [23/Dec/2009:23:25:42 -0700] cupsdAuthorize: No authentication data provided.
D [23/Dec/2009:23:25:42 -0700] cupsdNetIFUpdate: "lo" = localhost:631
D [23/Dec/2009:23:25:42 -0700] cupsdNetIFUpdate: "eth0" = polarbear:631
D [23/Dec/2009:23:25:42 -0700] Get-Printer-Attributes http://192.168.1.100:631/
printers/hpdeskjet

etc. it repeats a couple of more times with no obvious errors.   192.168.1.104 is the right IP for the client, 192.168.1.100 is the server.

Unfortunately, I cannot downgrade to previous CUPS version since it is not in portage anymore.
Comment 5 Peter Ruskin 2011-01-27 13:10:56 UTC
With latest cups, the web interface states something like "cannot get printer status" and /var/log/messages contains:

Jan 27 12:18:30 localhost kernel: [591877.810927] usb 1-1: usbfs: interface 0 claimed by usblp while 'usb' sets config #1

With 1.3.10-r2, /var/log/messages contains:

Jan 27 13:02:11 localhost kernel: [594498.012029] usb 1-1: new high speed USB device using ehci_hcd and address 4
Jan 27 13:02:11 localhost kernel: [594498.133889] usb 1-1: New USB device found, idVendor=04b8, idProduct=0007
Jan 27 13:02:11 localhost kernel: [594498.133893] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 27 13:02:11 localhost kernel: [594498.133897] usb 1-1: Product: USB2.0 Printer (Hi-speed)
Jan 27 13:02:11 localhost kernel: [594498.133900] usb 1-1: Manufacturer: EPSON
Jan 27 13:02:11 localhost kernel: [594498.133903] usb 1-1: SerialNumber: 573133303148A4E9E7
Jan 27 13:02:11 localhost kernel: [594498.138302] usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0007
Comment 6 Peter Ruskin 2011-01-27 21:56:53 UTC
Re: Comment #5, the actual message from latest cups web interface is 'Status: Paused - "Unplugged or turned off"'
Comment 7 Alex V. Koval 2011-02-15 15:25:11 UTC
I've found historical ebuild for cups, installed 1.3.11-r4 and this solved the problem. none of upper versions do work.
Comment 8 Peter Ruskin 2011-02-15 17:12:20 UTC
OK, 1.4.6 now works here, after I blacklisted usblp and restarted cupsd a couple of times.