Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   udev rules files (http://www.linux-archive.org/debian-user/650271-udev-rules-files.html)

Darac Marjal 03-29-2012 09:56 AM

udev rules files
 
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.


All times are GMT. The time now is 11:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.