I’ve been getting help on the sane-backends mailing list getting my scanner working. I built from cvs and can scan, but I can’t seem to setup the permissions correctly.
I’ve added this to the udev #Canon MP240
ATTR{idVendor}==“04a9”, ATTR{idProduct}==“1732”, MODE=“0666”, GROUP=“lp”, ENV{libsane_matched}=“yes”
I originally had 664 like the other entries. Someone on the list recommended I try 666. I’ve also added myself to the lp group.
we have found these permissions issues with our Canon scanner and OpenSuse;
In the May 2009 Linux Format magazine, on page 105, Mike Saunders gives advice; if I repeat some of it, for general interest and then if I get to permissions
he says a simple test is to first run two commands, both as root and normal user
sane-find-scanner -q
scanimage -L
the first should find the scanner whoever runs it; the second can only access the scanner if it has permission;
he talks about creating a udev rule in /etc/udev/rules.d/10-scanner.rules
he says the leading 10 ensures it is processed before the default rules
He would say GROUP:=“scanner”,MODE:+“0660”
He says this makes the scanner device node readable and writable by members of the scanner group. He says you then need to create the group and add yourself to it, as root with
groupadd -r scanner
gpasswd -a USERNAME scanner
OpenSuse seemed to move away from a “scanner” group a couple of releases ago?? lp now covers??? I am not sure
He says alternately if you’re the only user, put your own group name in the udev rule.
I have been meaning to sit down and do this sometime; I hope some of this may be of use to you