[sane-devel] root can scan, user not...
Thomas Dahlén
erikthomasdahlen at gmail.com
Tue Oct 20 20:56:07 UTC 2015
On 2015-10-20 17:48, m. allan noah wrote:
> Probably the scanner is not owned by scanner group. You need to check
> the udev/hal/whatever rules and make sure this scanner is listed.
>
> allan
I am not sure that I understand...I can't find any library udev/hal/
I thought that hal was deprecated by all major distributions.
I tested to create /etc/udev/rules.d/40-scanner.rules
containing the following (values from lsusb 04c5 0132e):
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="0132e",
ENV{libsane_matched}="yes", GROUP="scanner"
but that did not solve my problem. Then I tested to create
/etc/udev/rules.d/91-local.rules
with the following content (also tested with MODE="0664"
SYSFS{idVendor}==04c5", SYSFS{idProduct}=="0132e", MODE="666",
GROUP="scanner", ENV{libsane_matched}="yes"
I am stucked here
/Thomas
> On Tue, Oct 20, 2015 at 10:09 AM, Thomas Dahlén
> <erikthomasdahlen at gmail.com> wrote:
>> On 2015-10-20 15:34, Olaf Meeuwissen wrote:
>>
>> Thomas Dahlén writes:
>>
>> hi,
>> i have a Fujitsu fi -7160 and the latest version of Debian jessie installed.
>> [snip]
>>
>> thomas at ws2:~$ sudo chmod 666 /dev/bus/usb/003/002
>> [sudo] password for thomas:
>> thomas at ws2:~$ scanimage --device-name=fujitsu --format tiff >
>> testimage6.tiff
>> now it works but is there a better way to solve the problem permanently
>> than to chmod after start.
>>
>> Add yourself to the scanner group as below, log out and back in again.
>>
>> sudo adduser thomas scanner
>>
>> Hope this helps,
>>
>> I am already in the scanner group:
>> "I check /etc/group
>> lp:x:7:thomas
>> saned:x:120:
>> scanner:x:105:saned,thomas"
>>
>> /Thomas
>>
>> --
>>
>> - - - - - - - - - - -
>> Thomas Dahlén
>> 070-710 64 54
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to sane-devel-request at lists.alioth.debian.org
>
>
--
- - - - - - - - - - -
*Thomas Dahlén*
070-710 64 54
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20151020/8cef9391/attachment-0001.html>
More information about the sane-devel
mailing list