[sane-devel] root can scan, user not...

Thomas Dahlén erikthomasdahlen at gmail.com
Wed Oct 21 15:35:02 UTC 2015


On 2015-10-21 10:54, Johannes Meixner wrote:
>
> Hello,
>
> On Oct 20 22:56 Thomas Dahlén wrote (excerpt):
>> udev
> ...
>> I am stucked here
>
> In general regarding
> "USB scanner access permissions via udev"
> and a
> "workaround to get those kind of issues out of sight"
> you may have a look at
> https://en.opensuse.org/SDB:Configuring_Scanners
>
> Regardless that this article is for openSUSE the general
> ideas behind should be same on other Linux distributions.
>
>
> Kind Regards
> Johannes Meixner
>
>
I tried to follow the instructions in 
https://en.opensuse.org/SDB:Configuring_Scanners
In my Debian/Jessie there is no /etc/udev/rules.d/whatever-libsane.rules
I found /lib/udev/rules.d/60-libsane.rules and tested to create
/etc/udev/rules.d/60-libsane.rules
with the following content:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="0132e", 
ENV{libsane_matched}="yes", GROUP="scanner", MODE="0660"

It still have the same problem:
thomas at ws2:~$ scanimage --device-name=fujitsu --format tiff > 
testimage7.tiffscanimage: open of device fujitsu failed: Invalid argument
but it works as root

/Thomas
-- 

- - - - - - - - - - -
*Thomas Dahlén*
070-710 64 54
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20151021/889a6e8d/attachment.html>


More information about the sane-devel mailing list