* [gentoo-user] USB printer and new cups
@ 2010-05-15 21:56 Alex Schuster
2010-05-15 22:33 ` Mick
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Alex Schuster @ 2010-05-15 21:56 UTC (permalink / raw
To: gentoo-user
Hi there!
I want to setup an USB printer. So I http://localhost:631/, and notice
that the interface has changed. And when I try to add a printer, the only
options for a local printer are SCSI-printer and HAL printing backend. And
on the next screen, I have to enter the device URI by hand. How should I
know what to enter there? And wasn't there an autodetect feature? Is the
new CUPS (1.4.3) generally behaving like this lately, or is something
wrong with my setup?
The usb use flag is set. lsusb shows the printer as "Bus 001 Device 003:
ID 04a9:10a5 Canon, Inc. iP5200".
What is a HAL printing backend? Do I have to add some crazy fdi stuff for
the printer? CUPS does not even have a hal use flag. Dale, help!
Wonko
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-15 21:56 [gentoo-user] USB printer and new cups Alex Schuster
@ 2010-05-15 22:33 ` Mick
2010-05-16 1:56 ` Alex Schuster
2010-05-15 22:38 ` Peter Ruskin
2010-05-15 23:01 ` Dale
2 siblings, 1 reply; 14+ messages in thread
From: Mick @ 2010-05-15 22:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1304 bytes --]
On Saturday 15 May 2010 22:56:22 Alex Schuster wrote:
> Hi there!
>
> I want to setup an USB printer. So I http://localhost:631/, and notice
> that the interface has changed. And when I try to add a printer, the only
> options for a local printer are SCSI-printer and HAL printing backend. And
> on the next screen, I have to enter the device URI by hand. How should I
> know what to enter there? And wasn't there an autodetect feature? Is the
> new CUPS (1.4.3) generally behaving like this lately, or is something
> wrong with my setup?
>
> The usb use flag is set. lsusb shows the printer as "Bus 001 Device 003:
> ID 04a9:10a5 Canon, Inc. iP5200".
>
> What is a HAL printing backend? Do I have to add some crazy fdi stuff for
> the printer? CUPS does not even have a hal use flag. Dale, help!
Did you ever get this printer working with this particular gentoo
installation? If not have you seen this page:
http://en.gentoo-wiki.com/wiki/Canon_Pixma_Series
They make suggestions for drivers that may work. CUPs requires that you have
installed the correct drivers for your device first. Sorry I can't help more.
Last time I tried to get a canon working was more than 5 years ago and I
couldn't find a driver or ppd info at the time.
HTH.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-15 21:56 [gentoo-user] USB printer and new cups Alex Schuster
2010-05-15 22:33 ` Mick
@ 2010-05-15 22:38 ` Peter Ruskin
2010-05-15 23:01 ` Dale
2 siblings, 0 replies; 14+ messages in thread
From: Peter Ruskin @ 2010-05-15 22:38 UTC (permalink / raw
To: gentoo-user
On Saturday 15 May 2010 22:56:22 Alex Schuster wrote:
> Hi there!
>
> I want to setup an USB printer. So I http://localhost:631/, and
> notice that the interface has changed. And when I try to add a
> printer, the only options for a local printer are SCSI-printer
> and HAL printing backend. And on the next screen, I have to enter
> the device URI by hand. How should I know what to enter there?
> And wasn't there an autodetect feature? Is the new CUPS (1.4.3)
> generally behaving like this lately, or is something wrong with
> my setup?
>
> The usb use flag is set. lsusb shows the printer as "Bus 001
> Device 003: ID 04a9:10a5 Canon, Inc. iP5200".
>
> What is a HAL printing backend? Do I have to add some crazy fdi
> stuff for the printer? CUPS does not even have a hal use flag.
> Dale, help!
>
> Wonko
http://bugs.gentoo.org/show_bug.cgi?id=295591
--
Peter
========================================================================
Gentoo Linux: Portage 2.2_rc67 kernel-2.6.33-gentoo-r1
AMD Phenom(tm) 9950 Quad-Core Processor gcc(Gentoo: 4.4.3-r2)
KDE: 3.5.10 Qt: 3.3.8b
========================================================================
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-15 21:56 [gentoo-user] USB printer and new cups Alex Schuster
2010-05-15 22:33 ` Mick
2010-05-15 22:38 ` Peter Ruskin
@ 2010-05-15 23:01 ` Dale
2010-05-16 1:37 ` [gentoo-user] " walt
2 siblings, 1 reply; 14+ messages in thread
From: Dale @ 2010-05-15 23:01 UTC (permalink / raw
To: gentoo-user
Alex Schuster wrote:
> Hi there!
>
> I want to setup an USB printer. So I http://localhost:631/, and notice
> that the interface has changed. And when I try to add a printer, the only
> options for a local printer are SCSI-printer and HAL printing backend. And
> on the next screen, I have to enter the device URI by hand. How should I
> know what to enter there? And wasn't there an autodetect feature? Is the
> new CUPS (1.4.3) generally behaving like this lately, or is something
> wrong with my setup?
>
> The usb use flag is set. lsusb shows the printer as "Bus 001 Device 003:
> ID 04a9:10a5 Canon, Inc. iP5200".
>
> What is a HAL printing backend? Do I have to add some crazy fdi stuff for
> the printer? CUPS does not even have a hal use flag. Dale, help!
>
> Wonko
>
>
Well I have a HP. I had trouble the other day, read that as the printer
was turned off and I didn't know it, so I deleted the printer. That was
when I realized it was turned off, so I turned it back on and hplip or
something just added the printer without me doing anything. KDE showed
a little pop up and it was done and it has printed ever since. This
could be habit forming tho. ;-) I like things that "just work".
Do you have ppds and dbus USE flag enabled for cups? As far as I know,
that is all I enabled for mine. 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"
The two I mentioned above is the main ones I would guess. Most of mine
are global flags.
I hope you see something to at least try.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: USB printer and new cups
2010-05-15 23:01 ` Dale
@ 2010-05-16 1:37 ` walt
2010-05-16 2:01 ` Dale
2010-05-16 2:11 ` Alex Schuster
0 siblings, 2 replies; 14+ messages in thread
From: walt @ 2010-05-16 1:37 UTC (permalink / raw
To: gentoo-user
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?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-15 22:33 ` Mick
@ 2010-05-16 1:56 ` Alex Schuster
2010-05-16 8:03 ` Mick
2010-09-13 12:52 ` Jonas de Buhr
0 siblings, 2 replies; 14+ messages in thread
From: Alex Schuster @ 2010-05-16 1:56 UTC (permalink / raw
To: gentoo-user
Mick writes:
> On Saturday 15 May 2010 22:56:22 Alex Schuster wrote:
> > I want to setup an USB printer. So I http://localhost:631/, and
> > notice that the interface has changed. And when I try to add a
> > printer, the only options for a local printer are SCSI-printer and
> > HAL printing backend. And on the next screen, I have to enter the
> > device URI by hand. How should I know what to enter there? And
> > wasn't there an autodetect feature? Is the new CUPS (1.4.3)
> > generally behaving like this lately, or is something wrong with my
> > setup?
> >
> > The usb use flag is set. lsusb shows the printer as "Bus 001 Device
> > 003: ID 04a9:10a5 Canon, Inc. iP5200".
> >
> > What is a HAL printing backend? Do I have to add some crazy fdi stuff
> > for the printer? CUPS does not even have a hal use flag. Dale, help!
>
> Did you ever get this printer working with this particular gentoo
> installation?
I never used an USB printer at all. But I installed a lot of network
printers, and one local parallel printer. I could select the device in the
web frontend then, it had stuff like 'LPT #1' or 'USB Printer #1' in the
device menu.
The Gentoo Printing Howto has this:
USB Printer #1 Select this when the printer is locally attached to a
USB port. The printer name should automatically be
appended to the device name.
But I see no USB printer here.
> If not have you seen this page:
>
> http://en.gentoo-wiki.com/wiki/Canon_Pixma_Series
>
> They make suggestions for drivers that may work. CUPs requires that
> you have installed the correct drivers for your device first. Sorry I
> can't help more. Last time I tried to get a canon working was more
> than 5 years ago and I couldn't find a driver or ppd info at the time.
Thanks, this made me install gutenprint which claims to support the
printer directly. I thought I had to use the iP4200 driver and hope it
would work.
But my main problem is another one: How do I tell CUPS which device my
printer is? I tried usb:/dev/usb/lp0 (found this notation when googling
'usb printer device uri'), but nothing happens when I try to print.
And now it gets really crazy: In the printer overview I see not only the
'iP5200' I just created, but also a 'iP52002' that has the device URI
'usb://Canon/iP5200'. What did create this?!
But printing to that does not work either.
Wonko
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: USB printer and new cups
2010-05-16 1:37 ` [gentoo-user] " walt
@ 2010-05-16 2:01 ` Dale
2010-05-16 2:11 ` Alex Schuster
1 sibling, 0 replies; 14+ messages in thread
From: Dale @ 2010-05-16 2:01 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: USB printer and new cups
2010-05-16 1:37 ` [gentoo-user] " walt
2010-05-16 2:01 ` Dale
@ 2010-05-16 2:11 ` Alex Schuster
2010-05-16 2:34 ` Dale
2010-05-16 4:16 ` William Kenworthy
1 sibling, 2 replies; 14+ messages in thread
From: Alex Schuster @ 2010-05-16 2:11 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: USB printer and new cups
2010-05-16 2:11 ` Alex Schuster
@ 2010-05-16 2:34 ` Dale
2010-05-16 4:16 ` William Kenworthy
1 sibling, 0 replies; 14+ messages in thread
From: Dale @ 2010-05-16 2:34 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: USB printer and new cups
2010-05-16 2:11 ` Alex Schuster
2010-05-16 2:34 ` Dale
@ 2010-05-16 4:16 ` William Kenworthy
1 sibling, 0 replies; 14+ messages in thread
From: William Kenworthy @ 2010-05-16 4:16 UTC (permalink / raw
To: gentoo-user
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 <billk@iinet.net.au>
Home in Perth!
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-16 1:56 ` Alex Schuster
@ 2010-05-16 8:03 ` Mick
2010-05-20 13:22 ` Alex Schuster
2010-09-13 12:52 ` Jonas de Buhr
1 sibling, 1 reply; 14+ messages in thread
From: Mick @ 2010-05-16 8:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2110 bytes --]
On Sunday 16 May 2010 02:56:23 Alex Schuster wrote:
> Thanks, this made me install gutenprint which claims to support the
> printer directly. I thought I had to use the iP4200 driver and hope it
> would work.
I think that gutenprint is the correct driver for your printer and this page
also suggests the same:
http://www.openprinting.org/printer/Canon/Canon-iP4000
However, this might have been the case before the latest cups version - so
some further testing will be required (see below).
> But my main problem is another one: How do I tell CUPS which device my
> printer is? I tried usb:/dev/usb/lp0 (found this notation when googling
> 'usb printer device uri'), but nothing happens when I try to print.
This is the cups driver (in kernel) which ought to pick up your usb printer
and use it without problems. However, according to your logs ... there seems
to be a clash:
> 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
So, what happens if you build usblp as a module and you modprobe -rv ubslp?
Does cups pick up your printer now?
> And now it gets really crazy: In the printer overview I see not only the
> 'iP5200' I just created, but also a 'iP52002' that has the device URI
> 'usb://Canon/iP5200'. What did create this?!
>
> But printing to that does not work either.
I suspect that this was created by the gutenprint driver that you installed.
I believe that if you resolve the usblp error first then you'll know if
gutenprint is necessary or if it will work. Some manual tweaking of the ppd
file may also be needed to print in higher resolutions, but let's get it to
print first.
Stop press!
I just checked again your first post: You are using cups 1.4 which accesses
raw usb devices! Definitely remove usblp (or blacklist it and reboot if you
don't want to recompile your kernel, or can't modprobe -r) and see if the cups
back end picks up your printer on its own.
HTH
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-16 8:03 ` Mick
@ 2010-05-20 13:22 ` Alex Schuster
2010-05-23 6:49 ` Daniel da Veiga
0 siblings, 1 reply; 14+ messages in thread
From: Alex Schuster @ 2010-05-20 13:22 UTC (permalink / raw
To: gentoo-user
Mick wrote:
> On Sunday 16 May 2010 02:56:23 Alex Schuster wrote:
> > But my main problem is another one: How do I tell CUPS which device
> > my printer is? I tried usb:/dev/usb/lp0 (found this notation when
> > googling 'usb printer device uri'), but nothing happens when I try
> > to print.
>
> This is the cups driver (in kernel) which ought to pick up your usb
> printer and use it without problems. However, according to your logs
> ... there seems to be a clash:
>
> > 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
And I just found this:
May 15 22:17:40 [kernel] usb 1-2: new high speed USB device using ehci_hcd
and address 3
May 15 22:17:41 [kernel] usblp0: USB Bidirectional printer dev 3 if 0 alt
0 proto 2 vid 0x04A9 pid 0x10A5
May 15 22:17:41 [kernel] usbcore: registered new interface driver usblp
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 717,
in main_ h = HalLpAdmin()
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 686,
in __init___ self.addPrinter()
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 700,
in addPrinter_ printer.add()
May 15 22:17:46 [hal_lpadmin] File "/usr/libexec/hal_lpadmin", line 541,
in add_ location=os.uname ()[1])
May 15 22:17:46 [hal_lpadmin] IPPError: (1280, 'server-error-internal-
error')
> So, what happens if you build usblp as a module and you modprobe -rv
> ubslp? Does cups pick up your printer now?
I was too busy to try this. And I don't have the printer here right now.
But I will try this soon, so thanks.
> > And now it gets really crazy: In the printer overview I see not only
> > the 'iP5200' I just created, but also a 'iP52002' that has the
> > device URI 'usb://Canon/iP5200'. What did create this?!
> >
> > But printing to that does not work either.
>
> I suspect that this was created by the gutenprint driver that you
> installed. I believe that if you resolve the usblp error first then
> you'll know if gutenprint is necessary or if it will work. Some
> manual tweaking of the ppd file may also be needed to print in higher
> resolutions, but let's get it to print first.
>
> Stop press!
>
> I just checked again your first post: You are using cups 1.4 which
> accesses raw usb devices! Definitely remove usblp (or blacklist it
> and reboot if you don't want to recompile your kernel, or can't
> modprobe -r) and see if the cups back end picks up your printer on its
> own.
Thanks Mick! I will try again soon, this time on another Gentoo machine,
where the printer finally belongs. I just wanted to try it out and to
check the printing results. Well, this did not work at all, but at least I
know now that it should be supported, while before I was under the
impression I had to use a similar driver, and hope for good results.
Wonko
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-20 13:22 ` Alex Schuster
@ 2010-05-23 6:49 ` Daniel da Veiga
0 siblings, 0 replies; 14+ messages in thread
From: Daniel da Veiga @ 2010-05-23 6:49 UTC (permalink / raw
To: gentoo-user
just remove the usblp module (blacklist it or remove it completely
from the kernel, if its already a module, modprobe -r it) and restart
cups. Cups uses raw usb devices. It should appear at the web
interface.
--
Daniel da Veiga
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] USB printer and new cups
2010-05-16 1:56 ` Alex Schuster
2010-05-16 8:03 ` Mick
@ 2010-09-13 12:52 ` Jonas de Buhr
1 sibling, 0 replies; 14+ messages in thread
From: Jonas de Buhr @ 2010-09-13 12:52 UTC (permalink / raw
To: gentoo-user
>But my main problem is another one: How do I tell CUPS which device my
>printer is? I tried usb:/dev/usb/lp0 (found this notation when
>googling 'usb printer device uri'), but nothing happens when I try to
>print.
with cups loaded and printer connected:
# /usr/libexec/cups/backend/usb
direct usb://Kyocera/FS-1010 (...)
^ cups device URI
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2010-09-13 12:49 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-15 21:56 [gentoo-user] USB printer and new cups Alex Schuster
2010-05-15 22:33 ` Mick
2010-05-16 1:56 ` Alex Schuster
2010-05-16 8:03 ` Mick
2010-05-20 13:22 ` Alex Schuster
2010-05-23 6:49 ` Daniel da Veiga
2010-09-13 12:52 ` Jonas de Buhr
2010-05-15 22:38 ` Peter Ruskin
2010-05-15 23:01 ` Dale
2010-05-16 1:37 ` [gentoo-user] " walt
2010-05-16 2:01 ` Dale
2010-05-16 2:11 ` Alex Schuster
2010-05-16 2:34 ` Dale
2010-05-16 4:16 ` William Kenworthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox