On Sun Dec 2 04:06:55 MST 2012, Fernando de Oliveira wrote:
I have had problems with CUPS in two machines. Discovered it was due to
permissions not properly set.
Found which device corresponded to the printer (this changes after
printer is switched on/off/on):
$ lsusb | grep Epson
Bus 002 Device 004: ID 04b8:0838 Seiko Epson Corp. CX7300/CX7400/DX7400
Permission of device:
ls -l /dev/bus/usb/002/004
crw-rw-r-- 1 root lp 189, 131 Dez 2 07:54 /dev/bus/usb/002/004
In my case, it was not "root lp".
Using ID from lsusb above, changed udev rules, by adding:
$ ls -l /etc/udev/rules.d/10-usbprinter.rules
-rw-r--r-- 1 root root 104 Nov 8 12:32 /etc/udev/rules.d/10-usbprinter.rules
$ cat /etc/udev/rules.d/10-usbprinter.rules
ATTR{idVendor}=="04b8", ATTR{idProduct}=="0838", MODE:="0664",
GROUP:="lp", ENV{libsane_matched}:="yes"
and it worked.
----------------------------------------------------------------------
Hi Fernando:
Apologies for being so late. The last few days have been unusually crazy.
Thank you very much.
Unfortunately (but not surprisingly) the printer still doesn't work.
Keep in mind, I just practically use a "clone" of the drive in the good machine
(the "old" one) where the printer has worked perfectly for years, so your
recommendations must be automatically in place and looking OK, I suppose.
The two machines have more or less the same concept (both boards are
made by ASUS).
The only major difference is the architecture (one around intel 8400;
the new one
around intel i7 Ivy Bridge).
I still suspect some different Administration/Security on CUPS 1.6.1
vs 1.5.0 and
even more importantly, foomatic/filtering/conversions vs no-"foomatic" issues.
Speaking of foomatic, when I first tested the printer on the new machine, I
had 1.5.0 (exactly the same as the old) and the printing just failed
with some error
from glibc/foomatic (?) (obviously new - never seen on the old machine), so
evidently, the new architecture (everything being practically the
same, as I said)
does not agree with "foomatic" stuff.
This makes the troubleshooting all the more difficult. This is why I upgraded
(the new machine) to 1.6.1 so I can start digging around with a new
and clean slate.
Now part of the troubleshooting is also to clean up the old "foomatic" junk
(which might be in the way of the new "paradigm", 1.6.1 with its own filters
and conversions.)
Thanks again. I'll let you know if and when the new printing starts working,
No reason to panic yet. I'm still at an early stage of installing a
lousy, simple,
local printer (in Linux' years).
-- Alex de Lupu
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page