Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 12-31-2004, 02:23 AM   #1
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.


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

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
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:
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:
Old 02-11-2005, 02:36 AM   #3
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

hope it helps

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


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

All times are GMT -5. The time now is 10:06 PM.

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