Re: [gentoo-user] Re: USB printer and new cups
On Sun, 2010-05-16 at 04:11 +0200, Alex Schuster wrote: > walt writes: > > > On 05/15/2010 04:01 PM, Dale wrote: > > > Just for reference, this is my USE flags: > > > > > > USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl > > > tiff zeroconf -acl -kerberos -php -samba -slp -static -xinetd" > > > > Good grief, Dale, you're almost stark nekkid! Where are all the rest > > of your useflags? > > That was my first impression also, but those are only the USE flags for > cups. Mine are a little different, but I have another cups version (Dale > does not even seem have a usb USE flag): > > USE="X acl dbus java jpeg ldap linguas_de pam perl php png python samba > slp ssl tiff usb -debug -gnutls -kerberos -static -xinetd) > > > > > Alex: when I plug in my HP USB printer, I see this in dmesg: > > > > usb 2-2: new full speed USB device using uhci_hcd and address 2 > > usb 2-2: New USB device found, idVendor=03f0, idProduct=1617 > > usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > > usb 2-2: Product: hp LaserJet 3015 > > usb 2-2: Manufacturer: Hewlett-Packard > > usb 2-2: SerialNumber: 00CNBM369103 > > usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 > > pid 0x1617 usbcore: registered new interface driver usblp > > > > Do you see somethinhg different? > > Less verbose, but similar: > usb 1-2: new high speed USB device using ehci_hcd and address 3 > usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid > 0x10A5 > usbcore: registered new interface driver usblp > > There is a message in syslog that is being repeated hundreds of times: > May 15 22:25:55 [kernel] usb 1-2: usbfs: interface 0 claimed by usblp > while 'usb' sets config #1 > - Last output repeated 58 times - > > Wonko > A stab in the dark: Does udev know about the printer? - this identifies a new usb device to the kernel as a usb printer instead of just an unknown usb device. Do you have sane installed? - if its a multifunction device sane may have grabbed it first (for the scanner) locking the printer out. Requires some manual tuning of the udev rules if this is the case (this is required by my epson multifunction) BillK -- William Kenworthy Home in Perth!
Re: [gentoo-user] Re: USB printer and new cups
Alex Schuster wrote: walt writes: On 05/15/2010 04:01 PM, Dale wrote: Just for reference, this is my USE flags: USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -acl -kerberos -php -samba -slp -static -xinetd" Good grief, Dale, you're almost stark nekkid! Where are all the rest of your useflags? That was my first impression also, but those are only the USE flags for cups. Mine are a little different, but I have another cups version (Dale does not even seem have a usb USE flag): USE="X acl dbus java jpeg ldap linguas_de pam perl php png python samba slp ssl tiff usb -debug -gnutls -kerberos -static -xinetd) Wonko I noticed that but my cups version does not appear to even use the usb USE flag. It's not enabled, but it is not disabled either. I do have usb enabled globally tho. Strange but my printer works fine. This made me think, hplip is not running anymore. This is weird. Printers on this time too. lol Dale :-) :-)
Re: [gentoo-user] Re: USB printer and new cups
walt writes: > On 05/15/2010 04:01 PM, Dale wrote: > > Just for reference, this is my USE flags: > > > > USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl > > tiff zeroconf -acl -kerberos -php -samba -slp -static -xinetd" > > Good grief, Dale, you're almost stark nekkid! Where are all the rest > of your useflags? That was my first impression also, but those are only the USE flags for cups. Mine are a little different, but I have another cups version (Dale does not even seem have a usb USE flag): USE="X acl dbus java jpeg ldap linguas_de pam perl php png python samba slp ssl tiff usb -debug -gnutls -kerberos -static -xinetd) > Alex: when I plug in my HP USB printer, I see this in dmesg: > > usb 2-2: new full speed USB device using uhci_hcd and address 2 > usb 2-2: New USB device found, idVendor=03f0, idProduct=1617 > usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > usb 2-2: Product: hp LaserJet 3015 > usb 2-2: Manufacturer: Hewlett-Packard > usb 2-2: SerialNumber: 00CNBM369103 > usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 > pid 0x1617 usbcore: registered new interface driver usblp > > Do you see somethinhg different? Less verbose, but similar: usb 1-2: new high speed USB device using ehci_hcd and address 3 usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10A5 usbcore: registered new interface driver usblp There is a message in syslog that is being repeated hundreds of times: May 15 22:25:55 [kernel] usb 1-2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1 - Last output repeated 58 times - Wonko
Re: [gentoo-user] Re: USB printer and new cups
walt wrote: On 05/15/2010 04:01 PM, Dale wrote: Just for reference, this is my USE flags: USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf > -acl -kerberos -php -samba -slp -static -xinetd" Good grief, Dale, you're almost stark nekkid! Where are all the rest of your useflags? Here is what I'm using: USE="32bit 3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib adns alsa amr antlr applet ares aspell audio automount bash-completion binfilter brasero bzip2 c++ cairo cdda cdparanoia chappa cjk corefonts css cuda cupsddk custom-optimization dbus deprecated disk-partition divx dv dvd dvdnav ecc eds emacs encode epiphany exif faac faad fame fat fax ffmpeg firefox fpx ftp fts3 fuse gallium gcdmaster gcj gcrypt gdu gedit geoip gif gimp gimpprint git glib glibc-compat20 glitz glut gnome gnome-keyring gnome-print gnomecanvas gnomecd gnus gnutls gpgme gs gstreamer gtk guile hfs hpcups hpn hs16 hunspell imagemagick imap imlib inotify interpreter java java6 javascript jbig jce jpeg jpeg2k keyboard kqemu kvm lame libgcrypt libmms libssh2 libvisual linuxthreads-tls live logrotate long-double lzo mad mbox menu-plugin mime mimencode mjpeg mmx mmxext mng mozdevelop mozdom mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer multislot nautilus netpbm network network-cron networking nfs nls nntp nocd nsplugin nspr nss ntfs ntlm numeric odbc ofx ogg opengl openssl pango passfile pcap pcre player playlist png pnm policykit pop poppler-data posix postproc pth qemu quicktime quotes rar real realmedia regex regexp rtc rtsp ru-dv ru-g ru-i ru-k samba scanner sdl sdl-image sendmail sftp sharedmem slang smime smp smtp sndfile sockets sqlite sqlite3 sse ssh ssl startup-notification subversion suidcheck svg swat sysfs sysvipc tcl tcpdump theora threads threadsafe thunderbird tiff tk tls totem truetype tta twolame type1 type3 ui usb utempter uudeview uuencode video vidix vnc vorbis wav win32codecs wma wmf wmp xanim xine xpm xrandr xsl xslt xulrunner xv xvid xvmc yv12 -acl -acpi -bluetooth -cdr -cdrtools -cracklib -dvdarchive -dvdr -fam -fortran -kde -ldap -mysql -qt3support -semantic-desktop -sql -x264" Hm. Glad you brought the subject up because I just noticed that I no longer need the ntfs useflag. I once had an MS Windows partition for those very rare occasions when I was forced to run a Windows application, but now I can use wine or VirtualBox to run any Windows software that my banker/broker/city/state/ federal government may coerce me into using. << SNIP >> That's not the global USE flags, just the ones turned on for cups. I ran emerge -vp cups and then copied the USE flags from that. This is my global USE flags: USE="3dnow X aac acpi alsa automount avahi berkdb bzip2 cairo cddb cdr chroot cli clucene consolekit cracklib cups curl cxx dbus dri dvd dvdr emboss encode esd exif fam fdftk flac fortran gdbm gif gimp gkrellm gnutls gphoto2 gpm gtk hal hbci iconv ipv6 java javascript jbig jpeg jpeg2k justify kde lcms ldap libnotify libwww logrotate loop-aes mad mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ofx ogg opengl openmp pam pango parport pcre pdf perl png ppds ppp pppd python qt3 qt3support qt4 readline reflection sasl sdl seamonkey semantic-desktop session spell spl sse ssl startup-notification svg sysfs syslog tcl tcpd tiff tk truetype unicode usb vorbis webkit win32codecs wma wmf x264 x86 xcb xml xorg xv xvid yahoo zeroconf zlib" I suspect that a lot of those are no longer valid tho. I need to clean house on those. Any volunteers? lol I think one of the eix commands will show the dead ones. I can't recall at the moment. Oh well. Dale :-) :-)
[gentoo-user] Re: USB printer and new cups
On 05/15/2010 04:01 PM, Dale wrote: Just for reference, this is my USE flags: USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf > -acl -kerberos -php -samba -slp -static -xinetd" Good grief, Dale, you're almost stark nekkid! Where are all the rest of your useflags? Here is what I'm using: USE="32bit 3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib adns alsa amr antlr applet ares aspell audio automount bash-completion binfilter brasero bzip2 c++ cairo cdda cdparanoia chappa cjk corefonts css cuda cupsddk custom-optimization dbus deprecated disk-partition divx dv dvd dvdnav ecc eds emacs encode epiphany exif faac faad fame fat fax ffmpeg firefox fpx ftp fts3 fuse gallium gcdmaster gcj gcrypt gdu gedit geoip gif gimp gimpprint git glib glibc-compat20 glitz glut gnome gnome-keyring gnome-print gnomecanvas gnomecd gnus gnutls gpgme gs gstreamer gtk guile hfs hpcups hpn hs16 hunspell imagemagick imap imlib inotify interpreter java java6 javascript jbig jce jpeg jpeg2k keyboard kqemu kvm lame libgcrypt libmms libssh2 libvisual linuxthreads-tls live logrotate long-double lzo mad mbox menu-plugin mime mimencode mjpeg mmx mmxext mng mozdevelop mozdom mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer multislot nautilus netpbm network network-cron networking nfs nls nntp nocd nsplugin nspr nss ntfs ntlm numeric odbc ofx ogg opengl openssl pango passfile pcap pcre player playlist png pnm policykit pop poppler-data posix postproc pth qemu quicktime quotes rar real realmedia regex regexp rtc rtsp ru-dv ru-g ru-i ru-k samba scanner sdl sdl-image sendmail sftp sharedmem slang smime smp smtp sndfile sockets sqlite sqlite3 sse ssh ssl startup-notification subversion suidcheck svg swat sysfs sysvipc tcl tcpdump theora threads threadsafe thunderbird tiff tk tls totem truetype tta twolame type1 type3 ui usb utempter uudeview uuencode video vidix vnc vorbis wav win32codecs wma wmf wmp xanim xine xpm xrandr xsl xslt xulrunner xv xvid xvmc yv12 -acl -acpi -bluetooth -cdr -cdrtools -cracklib -dvdarchive -dvdr -fam -fortran -kde -ldap -mysql -qt3support -semantic-desktop -sql -x264" Hm. Glad you brought the subject up because I just noticed that I no longer need the ntfs useflag. I once had an MS Windows partition for those very rare occasions when I was forced to run a Windows application, but now I can use wine or VirtualBox to run any Windows software that my banker/broker/city/state/ federal government may coerce me into using. Alex: when I plug in my HP USB printer, I see this in dmesg: usb 2-2: new full speed USB device using uhci_hcd and address 2 usb 2-2: New USB device found, idVendor=03f0, idProduct=1617 usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-2: Product: hp LaserJet 3015 usb 2-2: Manufacturer: Hewlett-Packard usb 2-2: SerialNumber: 00CNBM369103 usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1617 usbcore: registered new interface driver usblp Do you see somethinhg different?