[sane-devel] 55-libsane.rules

Simon Becherer simon at becherer.de
Thu Jun 23 11:34:00 UTC 2011


Sorry little late,

>    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}="SCANNER*"

this did not work with my scanner. :

i tested in the following way:
changed from:
# 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 GT-10000", MODE="0664", GROUP="lp", 
ENV{libsane_matched}="yes"

in the shell:
  ls -l /dev/sg7
crw-rw-r--+ 1 root lp 21, 7 23. Jun 12:42 /dev/sg7

everithing OK
==========
==========
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", ENV{libsane_matched}="yes"


in the shell:
ls -l /dev/sg7
crw------- 1 root root 21, 7 23. Jun 13:01 /dev/sg7

NOT OK did not work !!!!!!!!!
=============
=============
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", 
MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"

in the shell:
  ls -l /dev/sg7
crw-rw-r--+ 1 root lp 21, 7 23. Jun 12:52 /dev/sg7

OK did work
but may run into problems when have attached other EPSON machines
at the scsi port?
=============
=============
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"

in the shell:
ls -l /dev/sg7
crw-rw-r--+ 1 root lp 21, 7 23. Jun 13:09 /dev/sg7

OK did work and maybe recognice also other
epson scsi scanners?!

==============
==============

so your choice to implement.

==============
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)

regrads,

simoN

ps: use only suse because about 8 years in the past i tried
to install debian and i was not able to get my fritzfax pci card to
running (faxing) condition.


Am 22.06.2011 01:13, schrieb Olaf Meeuwissen:
> Julien BLACHE<jb at jblache.org>  writes:
>
>> Simon Becherer<simon at becherer.de>  wrote:
>>
>> Hi Simon,
>>
>>> here there is the line for my "epson gt 10000+ scanner (scsi)":
>>>
>>> # Epson GT-10000+
>>> ATTRS{type}=="3", ATTRS{vendor}=="EPSON",
>>> ATTRS{model}=="SCANNER GT-10000"
>>
>> Added, thanks for your report!
>
> Hmm, I think we could use a wild card here, like so
>
>    ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}="SCANNER*"
>
> and be done with.  WDYT?
>
> Hope this helps,

-- 
B e c h e r e r GmbH
Sondermaschinenbau
Mauermatten Strasse 22
79183 Waldkirch
Germany

Tel.: (+49) (0)7681 3134
Fax:  (+49) (0)7681 4378
Mail: info at becherer.de
Web:  www.becherer.de

USt-ID-Nr.: DE 814912198
Registergericht: Freiburg HRB 701860
Geschäftsführer:
Dipl.-Ing. (FH), EWE   Simon H. Becherer
Gerichtsstand / Sitz: Waldkirch

Es gelten ausschließlich unsere Einkaufs / Zahlungsbedingungen:
www.becherer.de/AGB



More information about the sane-devel mailing list