Re: Scanner permission



On Wed, 28 Feb 2007 10:41:41 -0800
Rick Stevens <rstevens@xxxxxxxxxxxxxxx> wrote:

On Wed, 2007-02-28 at 12:19 -0600, Frank Cox wrote:
I am attempting to hook a USB scanner to a FC6 box and have the usual problem
of only being able to scan (and find the scanner) as root.

How do I go about fixing this?

Well, there's lots and lots of udev rules regarding scanners. The one
you probably are most interested in is in /etc/udev.d/50-udev.rules.

Look for the stanza:

ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", SYSFS{type}=="[36]", \
SYMLINK+="scanner scanner-%k", MODE="0660"

and change the MODE bit to "MODE=0666". That will change the scanner's
mode to "rw-rw-rw-" next time it's seen, so unplug it and plug it back
in after the change to /etc/udev.d/50-udev.rules.

That doesn't seem to have done it.

scanimage -L tells me:

device `epson:libusb:005:004' is a Epson GT-8300 flatbed scanner

However, ll /proc/bus/usb/005 shows me this:

total 0
-rw-r--r-- 1 root root 43 Feb 28 06:56 001
-rw-r--r-- 1 root root 50 Feb 28 06:56 004



--
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Scanner permission
    ... of only being able to scan (and find the scanner) as root. ... How do I go about fixing this? ... there's lots and lots of udev rules regarding scanners. ...
    (Fedora)
  • Re: Using scanner with FreeBSD. A nightmare!
    ... on the german lists we had this discussion about scanner ... I decided to do everything as root, also running X11 as root (I know, ... I think I can put sane again on my notebook and have a few ...
    (freebsd-questions)
  • Re: [opensuse] Only root can use scanner on SuSE 10.2
    ... nothing will work, but being root. ... On the server the saned is set up and launched via xinetd. ... ] used on the local host too. ... To access such a scanner as normal user on the local ...
    (SuSE)
  • Re: [opensuse] HP3300 MFP (was HP M1005 MFP) [Solved]
    ... But the little drawback is that now scanning-frontends for root ... but I very rarely login as root. ... my laptop without having to be physically connected to the scanner. ... I am able to scan using my laptop with the scanner physically ...
    (SuSE)
  • XSane protection (?) problem
    ... Under 2.6.21.5 kernel, xsane works fine. ... about running as root). ... /etc/udev/libsane.rules includes my scanner, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)