udev rule for persistent link!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-- 
Hello!

I have followed the advice for creating a persistent link to my usb
printer.  But it does not work for my windows clients.

I am letting windows clients use the raw stream of cups and share the
printer with them.

I created a 10-custom.rules with the following line:

BUS="usb", SYSFS{interface}="USB2.0 Printer", SYMLINK="mfp/CX6600"

I edited the 50-udev.permissions file and added to the # lp devices
section the following line:

mfp/*:root:lp:0660

Now, based on what I have read any device created in the /dev/mfp
directory should have an owner of root and a group of lp and both should
be writable.

The /dev/usb/lp0 device that gets created at boot time has the following
attributes:

crw-rw----  1 root lp 180, 0 Jun  1 16:13 lp0

But my created symlink has the following attributes:

lrwxrwxrwx  1 root root 10 Jun  1 16:13 CX6600 -> ../usb/lp0

Now, for the question, when I create a printer I called CX6600 based on
the /dev/usb/lp0 device all users of the network can print to it,
including windows clients, but when I create a printer called CX6600
based on the /dev/mfp/CX6600 my linux clients can print but my windows
clients cannot!

Can anyone help me understand this?

FYI, I am doing this for those times that I have to restart the printer
and hotplug moves the device.  I am also going to set this up for the
scanner as well.

John



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux