[sane-devel] 55-libsane.rules
Olaf Meeuwissen
olaf.meeuwissen at avasys.jp
Thu Jun 23 23:15:45 UTC 2011
Simon Becherer <simon at becherer.de> writes:
> Sorry little late,
>
>> ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}="SCANNER*"
>
> this did not work with my scanner. :
Yes it did ;-)
Your fourth try finally matched what I wrote above. Your second try was
missing the "*" after "SCANNER".
> [second try]
> to: (your suggestion:)
>
> # Epson GT-7000
>
> # KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON",
> ATTRS{model}=="SCANNER GT-7000", MODE="0664", GROUP="lp",
> ENV{libsane_matched}="yes"
>
> # Epson GT-10000+
>
> KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON",
> ATTRS{model}=="SCANNER", MODE="0664", GROUP="lp",
Look, no "*".
> [fourth tyr]
> so i tried also:
>
> # Epson GT-7000
>
> # KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON",
> ATTRS{model}=="SCANNER GT-7000", MODE="0664", GROUP="lp",
> ENV{libsane_matched}="yes"
>
> # Epson GT-10000+
>
> KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON",
> ATTRS{model}=="SCANNER*", MODE="0664", GROUP="lp",
> ENV{libsane_matched}="yes"
Here we got the all-important "*".
> OK did work and maybe recognice also other
> epson scsi scanners?!
That the whole point of the exercise ;-)
> ==============
> by the way,
> (only for your info)
> the driver: sane-backend epson2 who is
> a possible choice for my scanner gt10000+ will
> have inside the scan in special distances a lot of small
> dots where they should not be. (with xsane option
> remove dots they disappear)
>
> the iscan-free epkowa driver did not have this problem.
>
> ================
> and a question (only if some of you know how to do
> or where to get the info):
> how did i find out which commando line xsane will send
> to the scanner, because i like to scan from shell
> and send automaticaly to the printer like:
> "scan area x,y, x,y resolution, color, | kprinter"
> (to have a copy function)
Check the manual page for the `scanimage` command.
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962 Help support software freedom
http://www.fsf.org/jf?referrer=1962
More information about the sane-devel
mailing list