On Fri, Aug 10, 2012 at 10:16:38AM +0200, Pol Vangheluwe wrote:
> Op 9-aug.-2012, om 04:19 heeft Fernando de Oliveira <[email protected]> het 
> volgende geschreven:
> 
> > Re: LFS7.1 - SVN-20120311
> > 
> > cups: 1.6.1 (same results with 1.5.4)
> > 
> > # grep lp /var/log/kern.log
> > ....
> > Aug  8 22:19:20 NovoGamerLFS71 kernel: [    0.950326] ehci_hcd 
> > 0000:00:1a.7: support lpm
> > Aug  8 22:19:20 NovoGamerLFS71 kernel: [    0.961586] ehci_hcd 
> > 0000:00:1d.7: support lpm
> > Aug  8 22:19:20 NovoGamerLFS71 kernel: [    0.981663] usbcore: registered 
> > new interface driver usblp
> > Aug  8 22:19:20 NovoGamerLFS71 kernel: [    1.390708] usblp 1-3:1.1: 
> > usb_probe_interface
> > Aug  8 22:19:20 NovoGamerLFS71 kernel: [    1.390713] usblp 1-3:1.1: 
> > usb_probe_interface - got id
> > Aug  8 22:19:20 NovoGamerLFS71 kernel: [    1.393938] usblp 1-3:1.1: 
> > looking for a minor, starting at 0
> > Aug  8 22:19:20 NovoGamerLFS71 kernel: [    1.394488] usblp 1-3:1.1: 
> > usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04B8 pid 
> > 0x0838
> > 
> > ]# lsusb
> > Bus 001 Device 002: ID 04b8:0838 Seiko Epson Corp. CX7300/CX7400/DX7400
> > 
[...]
> > In the browser interface:
> > 
> > Add Printer
> > Local Printers:     
> > Discovered Network Printers:        
> > Other Network Printers:     LPD/LPR Host or Printer
> > Internet Printing Protocol (ipp)
> > Internet Printing Protocol (ipps)
> > Internet Printing Protocol (https)
> > Internet Printing Protocol (http)
> > AppSocket/HP JetDirect
> > 
> > 
> > Available Printers
> > 
> > No printers found.
> > 
> > But I have
> > 
> > # ls -lh /dev/usb
> > total 0
> > crw-rw---- 1 root lp 180, 0 Ago  8 22:19 lp0
> > 
> > How can I add a printer?
> > 
> > Why the browser interface cannot find a printer?
> > 
> > I believe that in a terminal, a could add a printer:
> > 
> > lpadmin -p EpsonStylusCX7300 -E -v "???????"
> > 
> > but have no idea which URI to use. Have tried some without success.
> > 
> 
> Could it be that your kernel is configured with 'CONFIG_USB_PRINTER'?
> I had the following error in /var/sys/log wit this setting:
> 
> Sep 9 18:02:55 ppc7500 kernel: usb 1-2: usbfs: interface 0 claimed by usblp 
> while 'usb' sets config #1
> 

 I continue to use CONFIG_USB_PRINTER=y, which has worked for me
with cups-1.5.0 and 1.5.3.  I haven't tried 1.5.4 or 1.6.1 - I
suspect that enough has changed in 1.6 for non-OSX users that it
might be interesting for some of us (1.3, 1.4, 1.5 were all
"interesting" developments for me).  But, I don't think 1.5.4 is
likely to have changed this.

 In my case, I avoid usbutils - so, I don't have lsusb installed.
In cups we have the following Note:

"There is a conflict between the Cups libusb backend and the usblp
kernel driver. If you want to use Cups with libusb do not enable USB
Printer support in your kernel."

 So I guess Pol's answer is correct for people who use lsusb.  I only
use the *browser* to control print queues, so I have no comment on
how to invoke lpadmin on the command line - but I assume that the
same conflict will prevent it working.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to