[blfs-support] [Solved] Printer not working

Fernando de Oliveira famobr at yahoo.com.br
Thu Nov 8 09:07:09 PST 2012


--- Em seg, 5/11/12, Fernando de Oliveira escreveu:

> De: Fernando de Oliveira
> Assunto: [blfs-support] Printer not working
> Para: "BLFS Support List"
> Data: Segunda-feira, 5 de Novembro de 2012, 22:59
> LFS"7.1"
> CUPS-1.6.1
> 
> $ udevadm --version
> 181

> I believe /dev/bus/usb/00{1,2} are for the multifunction
> printer/scanner:

This sentence is wrong.

> $ scanimage -L
> device `epson2:libusb:001:002' is a Epson CX7400 flatbed
> scanner
> device `epson:libusb:001:002' is a Epson CX7400 flatbed
> scanner

Now, I think this means /dev/bus/usb/001/002 is Epson CX7400 flatbed

> $ ls -lh /dev/bus/usb/00{1,2}
> /dev/bus/usb/001:
...
> crw-rw-r-- 1 root scanner 189, 1 Nov  5 22:32 002


> Probably, due to this, CUPS cannot find the printer.

Yes, this was the problem: wrong group "scanner".

> I have reinstalled udev, cups, cups-filters, sane-backends,
> xsane

and dbus,

> but nothing. There is no usb device with group lp:

Now, there is one:

$ ls -l /dev/bus/usb/* | grep lp
crw-rw-r-- 1 root lp   189, 1 Nov  8 13:34 002

I have been suspecting udev rules generation, and finally found in Arch [1], indicated by [2], the solution:

$ lsusb | grep Epson
Bus 001 Device 002: ID 04b8:0838 Seiko Epson Corp. CX7300/CX7400/DX7400

Using 04b8:0838, I have generated a new udev rule:

cat > /etc/udev/rules.d/10-usbprinter.rules << "EOF"
ATTR{idVendor}=="04b8", ATTR{idProduct}=="0838", MODE:="0664", GROUP:="lp", ENV{libsane_matched}:="yes"
EOF

Have even printed from WLAN using ipp protocol.

[]s,
Fernando

[1] wiki.archlinux.org/index.php/CUPS (They use 0660, I used 0664, only because this seemed to be the default far all /dev/bus/usb devices)

[2] www.linuxquestions.org/questions/slackware-14/usb-printer-no-longer-recognized-with-cups-1-5-3-a-4175413462/



More information about the blfs-support mailing list