:: Re: [DNG] Scanner and sane-utils
Forside
Slet denne besked
Besvar denne besked
Skribent: viverna
Dato:  
Til: dng
Emne: Re: [DNG] Scanner and sane-utils
il devuanizzato Olaf Meeuwissen <paddy-hack@???> il 06/08/17 alle ore 03:06 ha scritto:
> Hi,
>
> viverna writes:
>
> > Hello folks,
> > I'm a new Devuan user (from Debian) from few week.
> > In Debian world I had a problem with my scanner, the script (run by
> > user root) in /usr/local/bin/sanato solves the problem assigning group
> > 'scanner' to device:
>
> Your scanner should be assigned an appropriate group by the rules in
> /lib/udev/rules.d/60-libsane.rules which run
>
> /bin/setfacl -m g:scanner:rw $env{DEVNAME}
>
> You can check whether this happened with the getfacl command.
>
> What scanner are you using?
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Software                        https://my.fsf.org/donate
>  Join the Free Software Foundation              https://my.fsf.org/join

>

Thanks,
more correctly the scanner (Epson Stylus Office BX305F model 04b8 product
0863) is a multifunction printer (printer, scanner, fax) but i don't use
the "printer" and "fax" part. Assigned group is "lp" and i want force in
my system group "scanner" because xsane don't work if group is not
"scanner".

I solved with udev's rules:
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0863", GROUP="scanner"