scanning with SANE as non-root?

Elijah Lofgren elijahlofgren at elijahlofgren.com
Wed May 3 01:25:52 UTC 2006


On 4/28/06, Lutzer <M.Lutzer at gmx.de> wrote:
> I needed to upgrade SANE packages from
> http://people.debian.org/~aurel32/SANE
> Now xsane does recognize my USB scanner when I execute xsane as root.
> When I start xsane as user it does not recognize the scanner. The user
> is member of the "scanner" group. What could be wrong?

>From my guide for my Samsung SCX-4521F scanner/printer:
http://www.elijahlofgren.com/ubuntu/#scx-4521f

#

Add 2 lines like this to the end of /etc/udev/rules.d/45-libsane.rules
before the LABEL="libsane_rules_end" line (based on output of
sane-find-scanner) so that people in the "scanner" group and not only
root can use the scanner. (You'll have to reboot after doing this.):

# Samsung|SCX-4521F
SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="3419", MODE="664", GROUP="scanner"

#

Restart udev:

sudo /etc/init.d/udev restart




If you paste the output of the "sane-find-scanner" command I may be
able to tell you what line you need to add.


--
Elijah Lofgren
http://www.elijahlofgren.com/




More information about the ubuntu-users mailing list