Re: a question about udev rule 50-libsane.rules

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

 



Scott wrote:
> Hi Mikkel,
> 
> Okay I just peed in /dev and saw neither no scanner or brother
> directory. So that is where the problem is.  Now from what I understand
> is in the 60-libsane.rules file that is to create the sym link itself or
> is that a manual process?  If so where should the sym link be made from?
> 
> Scott
> 
It is an automatic process. The scanner and brother will be files,
and not directories. They will also be something like scanner-1 or
brother-1. You will only get the brother-1 symlink if you created
the rule file we talked about. But if your printer/scanner is not
listed in 60-libsane.rules then the device entry and syslink are
probably not going to be created, or be created with a name that you
will not recognize. This is why I said you may have to create your
own rule file for it. On my system, I see a listing for a MFC-420CN
but not a 420C (I am guessing that it is a MFC-420C).

Try creating a 61-brother.rules file, and putting a line something
like this in it. (All on one line, even though it gets wrapped here.):

SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="<240C product ID>",
MODE="0666", SYMLINK+="brother-%n"

You will have to replace <240C product ID> with the correct product
ID for your device. I already covered how to find it, so I will not
repeat it here. This should create a symlink called brother-1. Note
- this rule is different then the ones found in 60-libsane.rules. It
will not create a scanner-<something> symlink. Because of this, the
permissions will not be subject to console.perms changes, so you
will keep the 0666 permissions you want. If you would rather have a
scanner-<something> symlink, I can create one for you. I already
posted the console.perms file you would need to override the
permissions set in 50-default.perms.

If you have a hard time with the Product ID, let me know. If you
post the output of lsusb with the printer plugged in, I can help you
identify the correct value.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux