FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-29-2012, 09:56 AM
Darac Marjal
 
Default 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.
 

Thread Tools




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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org