Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB + cups = no joy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
spankmeister7
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 76

PostPosted: Mon Oct 12, 2009 5:47 am    Post subject: USB + cups = no joy Reply with quote

This is odd. I've had this Epson Stylus Photo 1280 for some years now connected happily with CUPS. I haven't used the printer for quite some time during which I've upgraded Gentoo with new kernels at whatnot. Now I can't seem to get CUPS to recognize my printer.

First, the output of lsusb is:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 04b8:0005 Seiko Epson Corp. Stylus D88+
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

So at least we know there is a connection here. Also, I do have USB printing enabled in the kernel. Dmesg shows:
[ 8898.201255] drivers/usb/core/file.c: looking for a minor, starting at 0
[ 8898.201330] usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
[ 8898.201340] drivers/usb/core/inode.c: creating file '003'

Okay.

So when when I log into CUPS in order to install the printer, there is no option for a USB printer. These are my options:
Local Printers: SCSI Printer
Discovered Network Printers:
Other Network Printers: Internet Printing Protocol (http)
Internet Printing Protocol (https)
Windows Printer via SAMBA
AppSocket/HP JetDirect
Internet Printing Protocol (ipp)
LPD/LPR Host or Printer
Backend Error Handler

... everything but USB.

What gives?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Mon Oct 12, 2009 5:59 am    Post subject: Reply with quote

Hello,

The new CUPS don't like usblp. You have to disable it (if it is not compiled as module), or unload usblp (rmmod usblp) in order to run CUPS.

That't the Apple way : changing the behaviour without warning the devs/users.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
spankmeister7
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 76

PostPosted: Mon Oct 12, 2009 6:15 am    Post subject: usblp Reply with quote

I'm not sure what you mean. I have usb printing enabled in the kernel not as a module, but compiled in. Are you suggesting that I disable it?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Mon Oct 12, 2009 6:26 am    Post subject: Reply with quote

What says:
Code:
lsmod | grep usblp

?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Mon Oct 12, 2009 6:26 am    Post subject: Reply with quote

And can you give us
Code:
emerge -pv cups
?
Is the USB support enabled in CUPS ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
spankmeister7
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 76

PostPosted: Mon Oct 12, 2009 6:34 am    Post subject: thanks Reply with quote

Thanks for taking the time to help me. I appreciate it.

lsmod | grep usblp shows nothing. Like I said, I don't have it compiled as a module.

emerge -pv cups shows:

Calculating dependencies ... done!
[ebuild R ] net-print/cups-1.4.1 USE="X acl dbus gnutls java jpeg ldap pam perl php png python samba ssl tiff xinetd -debug -kerberos -slp -static -zeroconf" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Mon Oct 12, 2009 6:47 am    Post subject: Reply with quote

So it seems OK.

Try to reinstall the printer within CUPS web interface (add printer / detect / ...). It should work.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
spankmeister7
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 76

PostPosted: Mon Oct 12, 2009 9:35 am    Post subject: sad Reply with quote

It still doesn't work.

Bother.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Oct 12, 2009 2:37 pm    Post subject: Reply with quote

Actually, if you have it builtin, not as module, you'll probably need
to rebuild your kernel.
Also, you may need updated udev rules (I'm not sure, if they are already in the tree).
Read this.
Back to top
View user's profile Send private message
spankmeister7
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 76

PostPosted: Tue Oct 13, 2009 5:53 am    Post subject: Solved Reply with quote

Kameraden -

Thanks everyone for your help. I ended doing three more things to get printer to function:

(1) UNchecked the box in the kernel config for USB printing support.
(2) added 'blacklist usblp' to /etc/modprobe.d/blacklist.conf
(3) emerged the newest udev, sys-fs/udev-146-r1

And then *poof* it just began to work.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum