LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2009, 11:36 AM   #1
fynstee
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
udev rule and xsane


Does anyone know why udev (or sane?) sometimes seems to ignore the rules in the /lib/udev/rules.d directory?

A good example of what I mean is dealing with xsane & only being able to scan (or even detect a scanner) as root. People often have to make custom rules in /etc/udev/rules.d to get their scanner working. I've had to do the same in the past too. Even though both scanner devices I own were ALREADY in the /lib/udev/rules.d/53-sane.rules file.

In the end I just copied and pasted everything from the 53-sane.rules file to a custom file /etc/udev/rules.d/96-scanner.rules

Now xsane detects the three different scanners my laptop has access to with no problem (a Mustek 1200, Canoscan n1240u & another which is not mine). But shouldn't 53-sane.rules have allowed that anyway? All three scanners were given rules that already existed in 53-sane.rules, so why was a custom file needed in a different directory?

Is there something wrong with my permissions or arch-linux installation that makes the rules in /lib/udev/rules.d get ignored?
 
Old 12-15-2009, 08:25 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian 11
Posts: 6,135

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Quote:
Is there something wrong with my permissions or arch-linux installation that makes the rules in /lib/udev/rules.d get ignored?
Well, yes and no would be my answer.

It seems that udev rules are being moved from /etc/udev/rules.d/ to /lib/udev/rules.d/ but this process is "in transition", and not yet completely implemented.

On my current distro (kubuntu 8.04) rules in /lib/udev/rules.d/ are ignored, but work when copied to /etc/udev/rules.d/
 
Old 12-15-2009, 11:12 AM   #3
fynstee
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks tredegar. That's good to know
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
First UDEV Rule, Not quite there ... orbit Slackware 7 02-22-2009 10:08 PM
udev rule: need help DPenguin Linux - Hardware 0 08-04-2008 07:29 PM
Udev Rule Help Please Toods Slackware 1 11-23-2007 08:55 AM
Ahhh, XSane, UDEV and Device Node Permissions? binarybob0001 Linux - Software 2 04-10-2007 12:16 AM
need help with udev rule hussam Linux - Software 2 12-05-2006 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration