LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-31-2004, 01:23 AM   #1
eagle862
LQ Newbie
 
Registered: Nov 2004
Location: Kentucky
Posts: 3

Rep: Reputation: 0
Red face Coldplugging scanner permissions?


Hello, all!

I am trying to set up my Epson CX6600 for scanning, and I have it working flawlessly except one problem.

If I reboot the computer, during the boot the owner:group are set root:root and the permissions are 0600.

An ll of /proc/bus/usb/001 shows the following:

-rw------- 1 root root 96 Dec 31 01:14 002

This is just as the system set the scanner up, but in order for me to scan a a regular user I have to turn the unit off and back on then my hotplug script will set the owner:group to
root:scanner with permissions of 0660 and all users in the scanner group can access the scanner.

What I would like to know is if it is possible to set the group to scanner during the booting of the machine, during coldplugging?

I have read man pages, posts, sane-usb, man hotplug but I cannot find out where to make the changes at boot time.

I am using Fedora 3 with 2.6.9 kernel and libusb.

Any help would be appreciated.

TIA.

John Pierce
 
Old 12-31-2004, 04:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,396

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
this should be operating at udev level, not sane level. in /etc/udev/10-my_own_udev.rules (or whatever peronsally created file you might or might not already have, add a line:
Code:
scanner-dev-entry:root:scanner:0660
I've actually spent the last 30 minutes redaing up on udev.. so that's slightly odd timing... and within udev, you might want to add a rule to give the device entry a nicer /dev/ entry. this link is really handy: http://www.redhat.com/magazine/002dec04/features/udev/
 
Old 02-11-2005, 01:36 AM   #3
grostoto
LQ Newbie
 
Registered: Dec 2004
Distribution: slack
Posts: 5

Rep: Reputation: 0
ahem coldplug....

I had a similar issue with this
I've posted an explanation and workaround in this
post

hope it helps


Last edited by grostoto; 02-11-2005 at 01:45 AM.
 
  


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
Canon scanner permissions Olle Gladso Mandriva 3 03-01-2006 07:31 PM
scanner permissions [suse 10] problem david@linuxquestions Linux - Software 2 11-05-2005 02:23 AM
Qmail-scanner: custom scanner cuigri Linux - Software 1 10-18-2004 05:46 AM
can't locate module scanner > how to get scanner work? b0uncer Linux - Hardware 1 10-26-2003 06:50 AM
Scanner driver for USB scanner rros Linux - Newbie 1 04-23-2001 12:30 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration