LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-21-2007, 12:41 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 209

Rep: Reputation: 15
root sees scanner, but not normal users


Which device files do I need to set permissions on for usb devices, particularly a scanner.

I guess I need to do this since only root can see the scanner and I do not find a /dev/usb/scanner0 entry in 2.6 like I find in 2.4.

Plus, is there a site with a really good explanation of the way devices are handled in 2.6 vs. 2.4?

999alfred
 
Old 11-21-2007, 01:19 PM   #2
dreyfuss
Member
 
Registered: Jun 2007
Location: Italy
Distribution: Slackware current
Posts: 39

Rep: Reputation: 15
Add the normal user to /etc/group in plugdev,power and scanner row.Cya.
 
Old 11-21-2007, 01:26 PM   #3
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
more on problem

Ok, I found out that /dev/usbdev<number> which has scanner as group and appears and disappears as the scanner is plugged in and out. So, I add the normal user to scanner group,
moduser -G scanner <user>
which appears in /etc/group correctly. But, still no joy on a normal user accessing the scanner, only root can.

So, what now?

999alfred
 
Old 11-21-2007, 01:30 PM   #4
dreyfuss
Member
 
Registered: Jun 2007
Location: Italy
Distribution: Slackware current
Posts: 39

Rep: Reputation: 15
Did you shutdown the pc after editing /etc/group?
 
Old 11-21-2007, 01:42 PM   #5
WebGraphics
Member
 
Registered: Jan 2006
Location: Canada, AB
Distribution: Slackware 12.1
Posts: 70

Rep: Reputation: 18
I think there are 2 ways to do this (I think).

1. You can add yourself to the "plugdev" group. I'm not totally sure this will help you though.

2. You can create a new UDEV rule in "/etc/udev/rules.d" that assigns the scanner permission to a particular group, and then make sure you are in than group.


If you are running Slack 12.0 you most likely will benefit from making a custom udev rule... let me know if this helps you at all.
 
Old 11-21-2007, 03:30 PM   #6
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
The new udev rule worked for normal users.
# Canon FB630U
SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="2204", MODE="660", GROUP="scanner"

But, I still have the problem of it taking a very long time to start scanning on the first scan after plugging it in. Sometimes it only takes around thirty seconds, and sometimes you give up waiting.

This problem does not exist on a Ubuntu 7.10 system.

wufo
 
  


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
Only root can use X, while normal users can't (FreeBSD 6.2 with Xorg-7.2). Seph64 *BSD 1 06-23-2007 12:01 PM
root user sees only YaST !! hanasi SUSE / openSUSE 8 07-20-2005 01:40 AM
Root Only Sees Yast When Logged In To Kde slug420 Linux - General 1 01-06-2005 12:47 PM
Normal users can't su to root? Why not? jon_k Linux - Software 12 07-09-2004 04:09 PM
KDE users - Having root file manager while still logged in as normal user thegeekster Linux - General 1 04-27-2004 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:21 PM.

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