Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 352752

Summary: interface claimed by usb-storage while 'usb' sets config
Product: Gentoo Linux Reporter: Chr0nos <hisoka2501>
Component: [OLD] PrintingAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: major CC: StormByte
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of lsusb with printer connected
emerge --info sys-fs/udev
Kernel's .config file

Description Chr0nos 2011-01-25 22:01:35 UTC
hi,
i have a problem when i try to print something,
(i'm sorry but i dont know if the problem is from udev or cups))

i'm using version 1.4.6

Reproducible: Always

Steps to Reproduce:
1.connect the printer via usb
2.try to print somethink (i tried with: lp list.txt)
3.

Actual Results:  
in /var/log/messages:

Jan 25 19:08:40 la-yote kernel: usb 1-5.4.1: new high speed USB device using ehci_hcd and address 12
Jan 25 19:08:40 la-yote kernel: scsi16 : usb-storage 1-5.4.1:1.2
Jan 25 19:08:41 la-yote kernel: scsi 16:0:0:0: Direct-Access     EPSON    Stylus Storage   1.00 PQ: 0 ANSI: 2
Jan 25 19:08:41 la-yote kernel: sd 16:0:0:0: Attached scsi generic sg3 type 0
Jan 25 19:08:41 la-yote kernel: sd 16:0:0:0: [sdc] Attached SCSI removable disk
Jan 25 19:09:38 la-yote kernel: usb 1-5.4.1: usbfs: interface 2 claimed by usb-storage while 'usb' sets config #1



la-yote ~ # emerge --info
Portage 2.2.0_alpha19 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.12.1-r3, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_530_@_2.93GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 25 Jan 2011 17:30:22 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 2.7, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo sunrise wirelay voyageur multimedia games gamerlay-stable
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2 -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=core2 -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages getbinpkg news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j9"
PKGDIR="/usr/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="/var/lib/layman/sunrise /var/lib/layman/wirelay /var/lib/layman/voyageur /var/lib/layman/multimedia /var/lib/layman/games /var/lib/layman/gamerlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gconf gdbm gdu gif gnome gnome-keyring gnutls gpm gstreamer gtk iconv ipod ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl php png policykit ppds pppd python qt3support qt4 readline samba sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb v4l v4l2 vdpau vorbis webcam x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-30 18:35:21 UTC
The output of lsusb (from sys-apps/usbutils) would be useful here, and the output of `emerge --info sys-fs/udev'. I don't think net-print/cups has anything to do with it - it merely can't see a printer that the OS doesn't let it see. Please attach your kernel .config as a file, too.
Comment 2 David Carlos Manuelda 2011-02-09 22:26:59 UTC
I have a similar problem, while the message is not 100% the same, it seems to be the same:
I keep receiving messages like:
Feb  9 22:31:51 Darkness kernel: [24328.146264] usb 2-1: usbfs: interface 0 claimed by usblp while 'usb' sets config #1

And the printer is NOT recognized. It is curious that it works perfectly when REMOVING usb USE flag from cups-1.4.6 (it does not make much sense since printer is actually usb!, but it is recognized and works without usb flag).

I'll attach a lsusb as you mentioned to bugreporter, but, can this bug be reopened?
Comment 3 David Carlos Manuelda 2011-02-09 22:28:38 UTC
Created attachment 261975 [details]
Output of lsusb with printer connected

This is the info from lsusb of my printer (hp1018) using foo2zjs driver.
Comment 4 David Carlos Manuelda 2011-02-09 22:35:22 UTC
Created attachment 261977 [details]
emerge --info sys-fs/udev

Emerge info from udev
Comment 5 David Carlos Manuelda 2011-02-09 22:35:42 UTC
Created attachment 261979 [details]
Kernel's .config file
Comment 6 David Carlos Manuelda 2011-02-09 22:36:25 UTC
Finally, as I said above, it seems not to be related to udev, since it just works for me without usb USE flag. So maybe ebuild need review or usb flag needs to be masked (?)