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

udev rules files [was Re: Impressora brother dcp 115C]



On Wed, Mar 28, 2012 at 09:23:57PM +0200, Hans-J. Ullrich wrote:
> 
> If you want to use the inbuilt scanner, you have to edit 
> /etc/udev/rules.d/60-libsane.rules manually and make it only readable, to 
> avoid a change by an update.
> 
> Just add this two lines:
> # Brother DCP115C
> ATTR{idVendor}=="04f9", ATTR{idProduct}=="018c", MODE="0664", GROUP="scanner", 
> ENV{libsane_matched}="yes"

You might find it more manageable to put those lines into a new file,
say /etc/udev/rules.d/61-libsane-brother-dcp115c.rules. That way A)
60-libsane.rules can still be updated by the package and B) you won't
lose your changes.

udev employs the increasingly common config-directory style. That is,
all files in a particular directory are read in, in order. So 61-* will
apply after 60-*.

HTH.

Attachment: signature.asc
Description: Digital signature


Reply to: