[Eisfair] (e1) - sane (2.2.0) Problem

Stefan Welte post at stefan-welte.de
Mi Mär 25 22:54:24 CET 2015


Hallo Stefan und Holger,

Am 18.02.2015 um 15:19 schrieb Stefan Puschek:
> ...
>   # No SCSI scanners found. If you expected something different, make sure that
>   # you have loaded a kernel SCSI driver for your SCSI adapter.
> 
> could not fetch string descriptor: Input/output error
> could not fetch string descriptor: Input/output error
> found USB scanner (vendor=0x03f0, product=0x1405) at libusb:003:002
>   # Your USB scanner was (probably) detected. It may or may not be supported by
>   # SANE. Try scanimage -L and read the backend's manpage.
> 
> Wer kann helfen / welche Infos fehlen?


diese "could not fetch string"-Zeilen wären evtl. lohnenswert zu untersuchen, bei mir kommen die z.B. nicht:
>   # No SCSI scanners found. If you expected something different, make sure that
>   # you have loaded a kernel SCSI driver for your SCSI adapter.
> 
> found USB scanner (vendor=0x07b3, product=0x0413 [600dpi USB Scanner], chip=GT-6816) at libusb:004:002
>   # Your USB scanner was (probably) detected. It may or may not be supported by
>   # SANE. Try scanimage -L and read the backend's manpage.


@Holger:

Der Menüpunkt "Scan image" ist äusserst attraktiv, um geschwind einen Scan oder zahlreiche Scans zu machen.
Leider fehlte in der Auswahl "DIN A4" (es gab nur A5,A6,US-Letter und custom), und mit custom flog das
Skript aus der Kurve. Da mit Auswahl "US-Letter" alles weitere befriedigend klappte, suchte und fand ich
zwei Tippfehler im Paket:

--- var/install/bin/sane_ScanImage      2014-01-01 20:00:00.000000000 +0100
+++ /var/install/bin/sane_ScanImage     2015-03-25 22:30:43.437276136 +0100
@@ -217,7 +217,7 @@
 #    tlx=`echo $options_helper | cut -f3 -d' ' | sed 's/mm//g'`
 #    tly=`echo $options_helper | cut -f12 -d' ' | sed 's/mm//g'`

-    if ! "${use_ini;-false}"
+    if ! "${use_ini:-false}"
     then
         SCAN_TLX=$(echo ${tlx} | cut -f4 -d' ' |
                   sed 's/\[//g; s/\]//g')
@@ -330,7 +330,7 @@
     GEOMETRY_2_1='A1' ; GEOMETRY_2_2='594' ; GEOMETRY_2_3='841'
     GEOMETRY_3_1='A2' ; GEOMETRY_3_2='420' ; GEOMETRY_3_3='594'
     GEOMETRY_4_1='A3' ; GEOMETRY_4_2='297' ; GEOMETRY_4_3='420'
-    GEOMETRY_5_1='A4' ; GEOMETRY_5_2='220' ; GEOMETRY_5_3='297'
+    GEOMETRY_5_1='A4' ; GEOMETRY_5_2='210' ; GEOMETRY_5_3='297'
     GEOMETRY_6_1='A5' ; GEOMETRY_6_2='148' ; GEOMETRY_6_3='210'
     GEOMETRY_7_1='A6' ; GEOMETRY_7_2='105' ; GEOMETRY_7_3='148'
     GEOMETRY_8_1='US-Letter' ; GEOMETRY_8_2='216' ; GEOMETRY_8_3='279'

Damit erscheint in der Auswahl A4 und mit Auswahl "custom" sind individuelle Werte möglich (sind das
Millimeter? Falls ja, wäre es gut, wenn es auch irgendwo geschrieben stände).

Gruß und Danke für das gute sane-Paket,
Stefan



Mehr Informationen über die Mailingliste Eisfair