Em 18-08-2012 16:53, Pol Vangheluwe escreveu:
> Op 18-aug.-2012, om 20:22 heeft Fernando de Oliveira <[email protected]> 
> het volgende geschreven:
> 
>> Em 17-08-2012 22:48, Ken Moffat escreveu:
>>> On Fri, Aug 17, 2012 at 04:57:26PM -0700, Fernando de Oliveira wrote:
>>>>
>>>> Pol, Ken, could you please post the output of /usr/lib/cups/backend/usb?
>>>> And post your /etc/{cupsd.conf,printers.conf}?
>>>>
>>> I don't understand what you are asking about
>>> /usr/lib/cups/backend/usb.  It's a library.  If I run it from the
>>> commandline I get a return code of 0 (on 1.5.0), so it is perhaps
>>> capable of being invoked - but how ?
>>
>> Just like that. I get:
>> $ /usr/lib/cups/backend/usb
>> DEBUG: list_devices
>> DEBUG: libusb_get_device_list=13
>> DEBUG2: Printer found with device ID: 
>> MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR1;MDL:Stylus 
>> CX7300;CLS:PRINTER;DES:EPSON Stylus CX7300; Device URI: 
>> usb://EPSON/Stylus%20CX7300?serial=4C3531303646B486B2&interface=1
>> direct usb://EPSON/Stylus%20CX7300?serial=4C3531303646B486B2&interface=1 
>> "EPSON Stylus CX7300" "EPSON Stylus CX7300" 
>> "MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,ESCPR1;MDL:Stylus 
>> CX7300;CLS:PRINTER;DES:EPSON Stylus CX7300;" ""
>>
>> Notice that it seems to use libusb, so apologies for asking you to run it.
>>
> 
> pol [ ~ ]$ sudo /usr/lib/cups/backend/usb
> Wachtwoord: 
> DEBUG: list_devices
> DEBUG: usb_find_busses=1
> DEBUG: usb_find_devices=2
> direct usb://EPSON/Stylus%20COLOR%20740 "EPSON Stylus COLOR 740" "EPSON 
> Stylus COLOR 740" "MFG:EPSON;CMD:ESCPL2,BDC,D4;MDL:Stylus COLOR 
> 740;CLS:PRINTER;DES:EPSON Stylus COLOR 740;" ""

It is a little different from mine, listed above. There, usb_find_busses
is missing.

>>>  I'm attaching cupsd.conf and printers.conf.  I'll remind you, and
>>> anyone else reading this, that I avoid libusb and use usblp, so some
>>> settings might not be what you need.  It looks as if my cupsd.conf
>>> has its default settings.
>>>
>>>> Again, why no Local Printer appears in the web interface? I am starting
>>>> to think that the is something to do with the owner and group of CUPS
>>>> files, some to do with permissions.
>>>>
>>>
>>> On my 1.5.0 system, everything in /etc/cups is owned by root:lp
>>> *except* client.conf, command.types, gstoraster.convs which are
>>> owned by root:root.  /var/spool/cups, and all its *files* are
>>> root:lp, /var/spool/cups/ is 770 plus a sticky bit.
>>
> 
> pol [ ~ ]$ sudo ls -l /var/spool/    
> totaal 16
> drwxrwx--- 2 smmsp smmsp 4096 17 jan  2012 clientmqueue
> drwx--x--- 3 root  lp    4096 18 aug 21:29 cups
> drwxrwx--- 2 fcron fcron 4096 18 aug 21:27 fcron
> drwx------ 2 root  root  4096 14 jan  2012 mqueue


This is similar to mine:

$ ls -l /var/spool/
total 8
drwx--x--- 3 root  lp    4096 Ago 20 12:40 cups
drwxrwx--- 2 fcron fcron 4096 Ago 20 12:31 fcron

>> Thankyou very much for the files, Ken. They have lots of similarities
>> with mine ones, very few differences. I have changed mine, but no
>> success. Perhaps it is time to hire a witch.
>>
>> I was retiring *buntu, but cannot before CUPS works. :-(
>>
>> -- 
>> []s,
>> Fernando
>> -- 
>> http://linuxfromscratch.org/mailman/listinfo/blfs-support
>> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>> Unsubscribe: See the above information page
> 
> I am also using PAM:
> pol [ ~ ]$ cat /etc/pam.d/cups
> auth  required        pam_unix.so shadow nodelay
> account       required        pam_unix.so
> 
> pvg
> 

I tried this and no difference, so, reverted to the one in the book.

Thank you very much for helping me, Pol.

-- 
[]s,
Fernando
-- 
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