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

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


Scott wrote:
> Hello there evryone,
> I am stuck here I am unsure how to do this step.  When I have my father
> open Sane it will not allow his new Brother 240C to scan.  I have an
> idea what the problem is in fact is is saying "Device I/o error."  But
> what I need help with is how to implement this faq question in to the
> file listed in the subject.  This comes from Brother's site and it is
> for Suse but I believe it is the same exact symptoms.  If some one can
> explain to me how to make this change I would be greatful.  Here is the
> faq question and answer.
> . I'm using SuSE10.2. When scanning I receive the error "Error open the
> Device 'brother2:bus1:dev1' Error during Device I/O".
> 1.As root or super user (su) open the file
> "/etc/udev/rules.d/50-udev-default.rules" with an editor.
> list end
> block quote
> 2.Search for the line that starts with "SUBSYSTEM=="usb_device, change
> the last portion from MODE="0644" to MODE="0666", and save the file.
> 3.Restart the PC.
> block quote end
> Scott
I think what you need is a file 61-local-sane.rules that has
something like:

ACTION!="add", GOTO="libsane_rules_end"
SUBSYSTEM!="usb_device", GOTO="libsane_rules_end"

SYSFS{idVendor}=="<brother vender id>", SYSFS{idProduct}=="<240c
product ID>", SYMLINK+="scanner-%k"


You will have to fill in the correct vendor and product ID. You can
get them by running lsusb if you have it installed, or by looking in

Once the proper symlink is created, console.prems will take care of
setting the permissions so the user logged in at the console can use
it. You may want to file a bug report with the vendor and product
IDs so they can be added to the libsane rules.

You could just put the SYSFS rule in libsame.rules befor the LABEL
line, but you run the risk of it getting lost because of an update.


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

Attachment: signature.asc
Description: OpenPGP digital signature

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

  Powered by Linux