Hello,
I've just upgraded CUPS from an ancient version, 1.2.8 to BLFS-latest, 1.5
Here are a couple notes some other adventurous souls might find useful.
Local USB printer, Samsung ML-2510 (as garden-variety as they come).
Kernel 3.0.9, udev-173
1. In '/usr/lib/cups/filter/' the applicable filter for Samsung,
'rastertosamsungspl', MUST be owned by root:lp
I had it owned by alex:users (unprivileged, low-level folks)
On "lpstat -t" one does get something to the effect,
<< File "/usr/lib/cups/filter/rastertosamsungspl" has insecure permissions
(0100755/uid=1000/gid=100). >>
Sounds innocuous enough, more like a polite warning
(like "Hey Mac, be careful when you flash your iPad
when sitting by the subway door") but it turns up it's pretty deadly.
You send something to the printer and all you get is unexplainable silence.
True, in '/var/log/cups/error.log' you get something like
<< E [20/Dec/2011:19:12:10 -0500] ML-2510usb: File
"/usr/lib/cups/filter/rastertosamsungspl" has insecure permissions
(0100755/uid=1000/gid=100). >>,
but who puts 'cupsd.conf' on "debug" and who checks the 'error.log' file
in these tough economic times?! And during the Holidays?
2. In the latest BLFS book, chapter 43, CUPS-1.5.0, there's a
<< Note
If you plan to use a USB printer with CUPS, do not enable the "usblp"
driver as either built-in or as a module in your kernel configuration
as it will cause the new CUPS USB backend to fail.
/var/log/sys.log will contain entries similar to the following:
kernel: [54631.796465] usb 4-1: usbfs: interface 0 claimed by usblp while
'usb' sets config #1 >>
In my case, not exactly true.
On kernel version 3.0.9 at least, your only "usblp" choice is <M> or nothing
(i.e., there's no built-in), and on nothing the USB printer does not work
(not surprisingly, I'd say)
On <M> it does work (like it should), and speaking of "usbfs", you get
something along the lines,
<< sys.log:Dec 20 17:35:30 localhost kernel: usbcore: registered new interface
driver usbfs >>,
which looks fine to me.
For completeness:
[]$ lsmod | grep usb
usblp 7408 0
usbhid 16779 0
hid 33180 1 usbhid
usbcore 84024 5 usblp,usbhid,uhci_hcd,ehci_hcd
Merry Christmas,
-- Alex
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page