• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Seit 11.2 Streifen in gescannten Bildern

saja schrieb:
ECC? Meinst du ECP?
Wenn es an mangelnder Unterstützung von Seiten des Boards liegen würde, hätte es ja schon unter 11.0 nicht funktioniert und unter WinXP auch nicht.

Meine ECP. Mit nicht vollständig unterstützt habe ich mich falsch ausgedrückt. ECC und ECP werden unterstützt, aber u.U. ist der volle Funktionsumfang nicht implementiert, weil der Parallelport in der heutigen Zeit so gut wie gar nicht mehr verwendet wird. Daher können häufiger Fehler auftreten, die nicht mehr behoben werden können. Man hat also Datensalat, der möglicherweise bei dir die Streifen verursacht.

Dein Scanner macht seinen Job, aber wenn er fehlerhafte Daten bekommt kann er nur diese ausgeben.
 
Das würde ja aber bedeuten, dass der Treiber für den parport von 11.0 auf 11.2 an Funktionsumfang eingebüßt hat.

Gibt es irgend eine Möglichkeit zu überprüfen, ob das Problem hier liegt?

Edit:
Noch was, was in diesem Zusammenhang interessant sein könnte: Der Scanner läuft gerade unter WinXP, das in einer virtuellen Maschine unter Suse läuft und arbeitet auch hier ordnungsgemäß. Jetzt wäre es interessant zu wissen, wie weit der parport vom VMware-Player direkt an die VM weiter gegeben wird (und somit alles über die XP-Treiber läuft) oder da noch was über den Suse-Treiber läuft. Hat da jemand eine Ahnung?
 

misiu

Moderator
Teammitglied
Ich könnte mich irren, aber vielleicht greift da das selbe Problem:
http://www.linux-club.de/viewtopic.php?f=60&t=108060
Sprich, versuche , als Bitmap speichern.

MfG
misiu
 
Ich weiß nicht, ob es die gleiche Ursache hat, aber auf jeden Fall funktioniert das Workaround bei mir nicht. Wenn ich mir die Ausgabe von primax_scan -h anschaue, würde ich vermuten, dass der nur im tif-Format ausgeben kann:
Code:
Usage:
-h         ,   --help            shows this message
-v [LEVEL] ,   --verbose=[LEVEL] increase debugging output
-s SPEED   ,   --speed=SPEED     SPEED of the carriage {0,1,2...15}
                                 (Default auto-ajusted with datarate)
-K RATE    ,   --Datarate=RATE   Max. Datarate of EPP-port (422.00 kB/s)
-S RES     ,   --Scanner=RES     max. optical RESolution of the Scanner
                                 {300,600} dpi
-V         ,   --version         display version
-p LxT     ,   --pos=LxT         position form Left x Top in inch
-d WxH     ,   --dim=WxH         Width x Heigth of scan area in
                                 inch (max. 8.50 x 11.67)
-c C       ,   --contrast=C      Contrast {(-2000)..(1000)}
-b B       ,   --brightness=B    Brightness {(-200)..(200)}
-g G       ,   --gamma=G         Gamma {(0.2)..(5)}
-r RES     ,   --res=RES         RESolution in dpi (max. 300) see option -S
-f NAME    ,   --file=NAME       NAME for tiff-file
-W NAME    ,   --writecalib=NAME writes calibration to file NAME
-L NAME    ,   --loadcalib=NAME  loads calibration from file NAME
-C val     ,   --Compression=val val=0 switches compression off
-l on/off  ,   --lamp=on/off     turn lamp on/off

-D         ,   --RED             only RED-channel
-E         ,   --BLUE            only BLUE-channel
-N         ,   --GREEN           only GREEN-channel
-R         ,   --RGB             24-Bit RGB-mode (default)
-G         ,   --GRAY            8-Bit GRAY-mode
-B         ,   --BW              1-Bit Black-White-mode (possible with
                                 all other modes)
Ich hab es trotzdem mal mit
Code:
primax_scan -f test.bmp
versucht und auch ein Bitmap erhalten, vermute aber, dass es trotzdem über das tif-Format ging. Jedenfalls hat das Bitmap genau die gleichen Streifen wie die tif-Dateien.
Ich habe mir auch schon überlegt, ob die libtiff3 die Streifen produziert, aber weiß momentan noch nicht, wie ich das testen könnte. Gimp erstellt ordentliche tif-Bilder, aber das verwendet auch nicht die libtiff3 dafür.

In xsane kann ich als Ausgabeformat wählen was ich will, die Streifen sind immer sowohl in der Vorschau als auch in den ausgegebenen Dateien vorhanden.
 
Noch ein Misserfolg:
Ich habe mal meine Hauptverdächtigen, die libieee1284 und die libtiff3 sowie libtiff-devel durch die Pakete von 11.0 ersetzt, also die Versionen, mit denen es schon funktioniert hat. Leider keine Änderung, die Streifen sind noch immer da.

Jetzt weiß ich nicht einmal mehr, wo ich den Fehler noch vermuten soll :???:
 
Habe wieder einen Ansatzpunkt: Die config.log, die von configure erstellt wird und in der ich einige Unregelmäßigkeiten gefunden habe:
Code:
configure:2636: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2639: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
Code:
configure:3611: checking how to run the C preprocessor
configure:3637: gcc -E  conftest.c
configure:3643: $? = 0
configure:3670: gcc -E  conftest.c
configure:3666:28: error: ac_nonexistent.h: No such file or directory
configure:3676: $? = 1
configure: failed program was:
#line 3665 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3713: result: gcc -E
configure:3728: gcc -E  conftest.c
configure:3734: $? = 0
configure:3761: gcc -E  conftest.c
configure:3757:28: error: ac_nonexistent.h: No such file or directory
configure:3767: $? = 1
configure: failed program was:
#line 3756 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
Code:
configure:7923: checking for main in -lgnugetopt
configure:7944: gcc -o conftest -g -O2   conftest.c -lgnugetopt  -lieee1284  >&5
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld: cannot find -lgnugetopt
collect2: ld returned 1 exit status
configure:7947: $? = 1
configure: failed program was:
#line 7930 "configure"
#include "confdefs.h"


int
main ()
{
main ();
  ;
  return 0;
}
configure:7964: result: no

Ich bin dabei, diese Meldungen zu analysieren und bin dankbar für Hinweise. Vielleicht sieht ja jemand mit mehr Erfahrung um was es im Einzelnen geht und ob das mit dem Problem zu tun haben könnte...
 
Installier dir die libtiff etc. von 11.2. Danach führst du mal
Code:
make distclean
im Sourcenverzeichnis des Treibers aus und kompilierst den Treiber neu.

Treten die Fehler wieder auf?
 
Ja. Einziger Unterschied in den Ausgaben ist, dass die Zeile
Code:
config.status: config.h is unchanged
nicht mehr auftaucht.
 
So, hab die Problemstellen mal unter die Lupe genommen:
Die zweite ist der Test, wie der Compiler auf fehlende Dateien reagiert. Die Datei ac_nonexistent.h soll es also gar nicht geben.

Die dritte bereitet mir allerdings noch einiges an Kopfzerbrechen. -lgnugetopt taucht fast nur in geposteten Ausgaben auf und dann auch immer, weil es nicht gefunden wird. Einziger Hinweis, den ich bisher gefunden habe ist der: http://permalink.gmane.org/gmane.comp.video.videolan.vlc.devel/71794

Wie ich das bisher verstanden habe, ist lgnugetopt eine Library, die in getopt enthalten ist, das wiederum im Paket glibc steckt. Stimmt das?
Und dann schließe ich aus obigem Link darauf, dass sie nicht mehr länger in getopt enhalten ist. Kann sie durch ihr Fehlen evtl. die Streifen verursachen?
 
saja schrieb:
Wie ich das bisher verstanden habe, ist lgnugetopt eine Library, die in getopt enthalten ist, das wiederum im Paket glibc steckt. Stimmt das?

Das Paket gnu-getopt ist für Java und ist Teil der glibc.

saja schrieb:
Und dann schließe ich aus obigem Link darauf, dass sie nicht mehr länger in getopt enhalten ist. Kann sie durch ihr Fehlen evtl. die Streifen verursachen?

Nein, sie verursacht keine Streifen. getopt ist ein Interface, um in einem Programm die mit gegebenen Parameter/ Optionen auszulesen.

Wie sieht die config.log den jetzt aus?
 
Ok, dann wird's wohl was anderes sein.

Die config.log:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.54.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = saja-linux
uname -m = i686
uname -r = 2.6.31.12-0.1-default
uname -s = Linux
uname -v = #1 SMP 2010-01-27 08:20:11 +0100

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/saja/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/kde3/bin
PATH: /usr/lib/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1440: checking build system type
configure:1458: result: i686-pc-linux-gnu
configure:1466: checking host system type
configure:1480: result: i686-pc-linux-gnu
configure:1488: checking target system type
configure:1502: result: i686-pc-linux-gnu
configure:1550: checking for a BSD-compatible install
configure:1604: result: /usr/bin/install -c
configure:1615: checking whether build environment is sane
configure:1658: result: yes
configure:1691: checking for gawk
configure:1707: found /usr/bin/gawk
configure:1717: result: gawk
configure:1727: checking whether make sets ${MAKE}
configure:1747: result: yes
configure:1970: checking for gcc
configure:1986: found /usr/bin/gcc
configure:1996: result: gcc
configure:2238: checking for C compiler version
configure:2241: gcc --version </dev/null >&5
gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2244: $? = 0
configure:2246: gcc -v </dev/null >&5
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) 
configure:2249: $? = 0
configure:2251: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2254: $? = 1
configure:2274: checking for C compiler default output
configure:2277: gcc    conftest.c  >&5
configure:2280: $? = 0
configure:2314: result: a.out
configure:2319: checking whether the C compiler works
configure:2325: ./a.out
configure:2328: $? = 0
configure:2343: result: yes
configure:2350: checking whether we are cross compiling
configure:2352: result: no
configure:2355: checking for suffix of executables
configure:2357: gcc -o conftest    conftest.c  >&5
configure:2360: $? = 0
configure:2383: result: 
configure:2389: checking for suffix of object files
configure:2407: gcc -c   conftest.c >&5
configure:2410: $? = 0
configure:2429: result: o
configure:2433: checking whether we are using the GNU C compiler
configure:2454: gcc -c   conftest.c >&5
configure:2457: $? = 0
configure:2460: test -s conftest.o
configure:2463: $? = 0
configure:2475: result: yes
configure:2481: checking whether gcc accepts -g
configure:2499: gcc -c -g  conftest.c >&5
configure:2502: $? = 0
configure:2505: test -s conftest.o
configure:2508: $? = 0
configure:2518: result: yes
configure:2535: checking for gcc option to accept ANSI C
configure:2592: gcc  -c -g -O2  conftest.c >&5
configure:2595: $? = 0
configure:2598: test -s conftest.o
configure:2601: $? = 0
configure:2618: result: none needed
configure:2636: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2639: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2756: checking for style of include used by make
configure:2784: result: GNU
configure:2812: checking dependency style of gcc
configure:2874: result: gcc3
configure:2979: checking for ld used by GCC
configure:3042: result: /usr/i586-suse-linux/bin/ld
configure:3051: checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld
GNU ld (GNU Binutils; openSUSE 11.2) 2.19.51.20090527-10.26.4
configure:3063: result: yes
configure:3068: checking for /usr/i586-suse-linux/bin/ld option to reload object files
configure:3075: result: -r
configure:3080: checking for BSD-compatible nm
configure:3116: result: /usr/bin/nm -B
configure:3119: checking for a sed that does not truncate output
configure:3201: result: /usr/bin/sed
configure:3204: checking whether ln -s works
configure:3208: result: yes
configure:3215: checking how to recognise dependent libraries
configure:3396: result: pass_all
configure:3409: checking command to parse /usr/bin/nm -B output
configure:3493: gcc -c -g -O2  conftest.c >&5
configure:3496: $? = 0
configure:3500: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:3503: $? = 0
configure:3555: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:3558: $? = 0
configure:3602: result: ok
configure:3611: checking how to run the C preprocessor
configure:3637: gcc -E  conftest.c
configure:3643: $? = 0
configure:3670: gcc -E  conftest.c
configure:3666:28: error: ac_nonexistent.h: No such file or directory
configure:3676: $? = 1
configure: failed program was:
#line 3665 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3713: result: gcc -E
configure:3728: gcc -E  conftest.c
configure:3734: $? = 0
configure:3761: gcc -E  conftest.c
configure:3757:28: error: ac_nonexistent.h: No such file or directory
configure:3767: $? = 1
configure: failed program was:
#line 3756 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3807: checking for egrep
configure:3817: result: grep -E
configure:3822: checking for ANSI C header files
configure:3836: gcc -E  conftest.c
configure:3842: $? = 0
configure:3929: gcc -o conftest -g -O2   conftest.c  >&5
configure: In function 'main':
configure:3920: warning: incompatible implicit declaration of built-in function 'exit'
configure:3932: $? = 0
configure:3934: ./conftest
configure:3937: $? = 0
configure:3951: result: yes
configure:3975: checking for sys/types.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for sys/stat.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for stdlib.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for string.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for memory.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for strings.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for inttypes.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for stdint.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:3975: checking for unistd.h
configure:3988: gcc -c -g -O2  conftest.c >&5
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4007: result: yes
configure:4033: checking dlfcn.h usability
configure:4042: gcc -c -g -O2  conftest.c >&5
configure:4045: $? = 0
configure:4048: test -s conftest.o
configure:4051: $? = 0
configure:4060: result: yes
configure:4064: checking dlfcn.h presence
configure:4071: gcc -E  conftest.c
configure:4077: $? = 0
configure:4095: result: yes
configure:4113: checking for dlfcn.h
configure:4120: result: yes
configure:4318: checking for ranlib
configure:4334: found /usr/bin/ranlib
configure:4345: result: ranlib
configure:4398: checking for strip
configure:4414: found /usr/bin/strip
configure:4425: result: strip
configure:4630: checking for objdir
configure:4641: result: .libs
configure:4658: checking for gcc option to produce PIC
configure:4804: result: -fPIC
configure:4808: checking if gcc PIC flag -fPIC works
configure:4828: gcc -c -g -O2 -fPIC -DPIC  conftest.c >&5
configure:4831: $? = 0
configure:4834: test -s conftest.o
configure:4837: $? = 0
configure:4874: result: yes
configure:4890: checking if gcc static flag -static works
configure:4911: gcc -o conftest -g -O2   -static conftest.c  >&5
configure:4914: $? = 0
configure:4917: test -s conftest
configure:4920: $? = 0
configure:4935: result: yes
configure:4947: checking if gcc supports -c -o file.o
configure:4967: gcc -c -g -O2 -o out/conftest2.o  conftest.c >&5
configure:4991: result: yes
configure:4996: checking if gcc supports -c -o file.lo
configure:5020: gcc -c -g -O2 -c -o conftest.lo  conftest.c >&5
configure:5023: $? = 0
configure:5026: test -s conftest.lo
configure:5029: $? = 0
configure:5050: result: yes
configure:5081: checking if gcc supports -fno-rtti -fno-exceptions
configure:5100: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:5103: $? = 0
configure:5106: test -s conftest.o
configure:5109: $? = 0
configure:5125: result: yes
configure:5136: checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries
configure:5831: result: yes
configure:5836: checking how to hardcode library paths into programs
configure:5860: result: immediate
configure:5865: checking whether stripping libraries is possible
configure:5870: result: yes
configure:5881: checking dynamic linker characteristics
configure:6301: result: GNU/Linux ld.so
configure:6306: checking if libtool supports shared libraries
configure:6308: result: yes
configure:6311: checking whether to build shared libraries
configure:6332: result: yes
configure:6335: checking whether to build static libraries
configure:6339: result: yes
configure:6965: checking whether -lc should be explicitly linked in
configure:6973: gcc -c -g -O2  conftest.c >&5
configure:6976: $? = 0
configure:6990: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:6993: $? = 0
configure:7006: result: no
configure:7581: checking for ieee1284_find_ports in -lieee1284
configure:7608: gcc -o conftest -g -O2   conftest.c -lieee1284   >&5
configure:7611: $? = 0
configure:7614: test -s conftest
configure:7617: $? = 0
configure:7628: result: yes
configure:7653: checking ieee1284.h usability
configure:7662: gcc -c -g -O2  conftest.c >&5
configure:7665: $? = 0
configure:7668: test -s conftest.o
configure:7671: $? = 0
configure:7680: result: yes
configure:7684: checking ieee1284.h presence
configure:7691: gcc -E  conftest.c
configure:7697: $? = 0
configure:7715: result: yes
configure:7733: checking for ieee1284.h
configure:7740: result: yes
configure:7757: checking for TIFFSetField in -ltiff
configure:7784: gcc -o conftest -g -O2   conftest.c -ltiff  -lieee1284  >&5
configure:7787: $? = 0
configure:7790: test -s conftest
configure:7793: $? = 0
configure:7804: result: yes
configure:7823: checking tiffio.h usability
configure:7832: gcc -c -g -O2  conftest.c >&5
configure:7835: $? = 0
configure:7838: test -s conftest.o
configure:7841: $? = 0
configure:7850: result: yes
configure:7854: checking tiffio.h presence
configure:7861: gcc -E  conftest.c
configure:7867: $? = 0
configure:7885: result: yes
configure:7903: checking for tiffio.h
configure:7910: result: yes
configure:7923: checking for main in -lgnugetopt
configure:7944: gcc -o conftest -g -O2   conftest.c -lgnugetopt  -lieee1284  >&5
/usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld: cannot find -lgnugetopt
collect2: ld returned 1 exit status
configure:7947: $? = 1
configure: failed program was:
#line 7930 "configure"
#include "confdefs.h"


int
main ()
{
main ();
  ;
  return 0;
}
configure:7964: result: no
configure:7987: checking for sane-config
configure:8006: found /usr/bin/sane-config
configure:8018: result: /usr/bin/sane-config
configure:8031: checking sane version
configure:8058: result: 1.0.20
configure:8074: checking sane/sane.h usability
configure:8083: gcc -c -g -O2  conftest.c >&5
configure:8086: $? = 0
configure:8089: test -s conftest.o
configure:8092: $? = 0
configure:8101: result: yes
configure:8105: checking sane/sane.h presence
configure:8112: gcc -E  conftest.c
configure:8118: $? = 0
configure:8136: result: yes
configure:8154: checking for sane/sane.h
configure:8161: result: yes
configure:8182: checking sane/saneopts.h usability
configure:8191: gcc -c -g -O2  conftest.c >&5
configure:8194: $? = 0
configure:8197: test -s conftest.o
configure:8200: $? = 0
configure:8209: result: yes
configure:8213: checking sane/saneopts.h presence
configure:8220: gcc -E  conftest.c
configure:8226: $? = 0
configure:8244: result: yes
configure:8262: checking for sane/saneopts.h
configure:8269: result: yes
configure:8285: checking for an ANSI C-conforming const
configure:8349: gcc -c -g -O2  conftest.c >&5
configure:8352: $? = 0
configure:8355: test -s conftest.o
configure:8358: $? = 0
configure:8368: result: yes
configure:8378: checking whether time.h and sys/time.h may both be included
configure:8400: gcc -c -g -O2  conftest.c >&5
configure:8403: $? = 0
configure:8406: test -s conftest.o
configure:8409: $? = 0
configure:8419: result: yes
configure:8431: checking for ANSI C header files
configure:8560: result: yes
configure:8586: checking sys/time.h usability
configure:8595: gcc -c -g -O2  conftest.c >&5
configure:8598: $? = 0
configure:8601: test -s conftest.o
configure:8604: $? = 0
configure:8613: result: yes
configure:8617: checking sys/time.h presence
configure:8624: gcc -E  conftest.c
configure:8630: $? = 0
configure:8648: result: yes
configure:8666: checking for sys/time.h
configure:8673: result: yes
configure:8577: checking for unistd.h
configure:8582: result: yes
configure:8586: checking getopt.h usability
configure:8595: gcc -c -g -O2  conftest.c >&5
configure:8598: $? = 0
configure:8601: test -s conftest.o
configure:8604: $? = 0
configure:8613: result: yes
configure:8617: checking getopt.h presence
configure:8624: gcc -E  conftest.c
configure:8630: $? = 0
configure:8648: result: yes
configure:8666: checking for getopt.h
configure:8673: result: yes
configure:8688: checking for pow in -lm
configure:8715: gcc -o conftest -g -O2   conftest.c -lm  -lieee1284  >&5
configure:8703: warning: conflicting types for built-in function 'pow'
configure:8718: $? = 0
configure:8721: test -s conftest
configure:8724: $? = 0
configure:8735: result: yes
configure:8753: checking for gettimeofday
configure:8790: gcc -o conftest -g -O2   conftest.c -lm -lieee1284  >&5
configure:8793: $? = 0
configure:8796: test -s conftest
configure:8799: $? = 0
configure:8809: result: yes
configure:8753: checking for strtod
configure:8790: gcc -o conftest -g -O2   conftest.c -lm -lieee1284  >&5
configure:8793: $? = 0
configure:8796: test -s conftest
configure:8799: $? = 0
configure:8809: result: yes
configure:8753: checking for strtol
configure:8790: gcc -o conftest -g -O2   conftest.c -lm -lieee1284  >&5
configure:8793: $? = 0
configure:8796: test -s conftest
configure:8799: $? = 0
configure:8809: result: yes
configure:8753: checking for sprintf
configure:8790: gcc -o conftest -g -O2   conftest.c -lm -lieee1284  >&5
configure:8768: warning: conflicting types for built-in function 'sprintf'
configure:8793: $? = 0
configure:8796: test -s conftest
configure:8799: $? = 0
configure:8809: result: yes
configure:8930: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.54.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on saja-linux

config.status:660: creating Makefile
config.status:660: creating primax_scan.spec
config.status:660: creating primax.desc
config.status:764: creating config.h
config.status:1014: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_gettimeofday=yes
ac_cv_func_sprintf=yes
ac_cv_func_strtod=yes
ac_cv_func_strtol=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_getopt_h=yes
ac_cv_header_ieee1284_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_sane_sane_h=yes
ac_cv_header_sane_saneopts_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_tiffio_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lib_gnugetopt_main=no
ac_cv_lib_ieee1284_ieee1284_find_ports=yes
ac_cv_lib_m_pow=yes
ac_cv_lib_tiff_TIFFSetField=yes
ac_cv_objext=o
ac_cv_path_SANE_CONFIG=/usr/bin/sane-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_archive_cmds_need_lc=no
lt_cv_compiler_c_o=yes
lt_cv_compiler_o_lo=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.10.1.so'
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/i586-suse-linux/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/usr/bin/sed
lt_cv_prog_cc_can_build_shared=yes
lt_cv_prog_cc_no_builtin=
lt_cv_prog_cc_pic=' -fPIC'
lt_cv_prog_cc_pic_works=yes
lt_cv_prog_cc_shlib=
lt_cv_prog_cc_static=-static
lt_cv_prog_cc_static_works=yes
lt_cv_prog_cc_wl=-Wl,
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/saja/Treiber+Co/primaxscan-1.1.beta1/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/saja/Treiber+Co/primaxscan-1.1.beta1/missing --run tar'
AUTOCONF='${SHELL} /home/saja/Treiber+Co/primaxscan-1.1.beta1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/saja/Treiber+Co/primaxscan-1.1.beta1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/saja/Treiber+Co/primaxscan-1.1.beta1/missing --run automake-1.7'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm -lieee1284 '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/saja/Treiber+Co/primaxscan-1.1.beta1/missing --run makeinfo'
OBJEXT='o'
PACKAGE='primaxscan'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PRIMAX_SCAN_BINARY_AGE='0'
PRIMAX_SCAN_INTERFACE_AGE='0'
PRIMAX_SCAN_MAJOR_VERSION='1'
PRIMAX_SCAN_MICRO_VERSION='.beta1'
PRIMAX_SCAN_MINOR_VERSION='1'
PRIMAX_SCAN_VERSION='1.1.beta1'
RANLIB='ranlib'
SANE_BUILD_VERSION='20'
SANE_CONFIG='/usr/bin/sane-config'
SANE_MAJOR_VERSION='1'
SANE_MINOR_VERSION='0'
SANE_VERSION='1.0.20'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='1.1.beta1'
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__quote=''
b_primax_scan='primax_scan'
b_sane='libsane-primax.la'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/saja/Treiber+Co/primaxscan-1.1.beta1/install-sh'
libdir='/usr/lib/sane'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define CALIB_DATA_FILE "/tmp/.primax.calib"
#define HAVE_DLFCN_H 1
#define HAVE_GETOPT_H 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBIEEE1284 1
#define HAVE_LIBM 1
#define HAVE_MEMORY_H 1
#define HAVE_SPRINTF 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRTOD 1
#define HAVE_STRTOL 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "primaxscan"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define SANE_BUILD_VERSION 20
#define SANE_MAJOR_VERSION 1
#define SANE_MINOR_VERSION 0
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define VERSION "1.1.beta1"

configure: exit 0
 
Code:
./configure

wurde ohne Fehler, wie es auch sein sollte, ausgeführt (siehe exit 0).

Jetzt führst du
Code:
make && make install

aus.

Wenn du jetzt noch Streifen beim scannen hast, liegt es definitiv nicht am Treiber.
 
Ok, diese Aussage ist doch schon mal ein Fortschritt.
Die Streifen hab ich immer noch, aber weniger mögliche Fehlerquellen.

Wo soll ich dann jetzt weitersuchen, am Parallelport?
 
So, bin nach langer Pause endlich mal wieder dazu gekommen. Ich hab inzwischen einen USB-Parallel-Adapter, es aber noch nicht geschafft, den Scanner darüber zum laufen zu bekommen. Wäre interessant für die weitere Fehlersuche (Betrieb ohne den onboard-Parallelport).
Sane kann jedenfalls auch nicht der Störenfried sein, da ich gerade den Epson Perfection 1670 von meinem Vater rangehängt habe, die Firmware aus dem Win-Treiber extrahiert und schon läuft der einwandfrei und liefert saubere Ergebnisse ohne Streifen.
Wenn's der Treiber also wirklich nicht sein kann, kann es eigentlich nur noch von der libieee1284 kommen - oder hab ich da noch was übersehen?
 
Die Firmware, die du von dem Windows Treiber hast wird auf das Gerät, in deinem Fall ein Scanner hochgeladen. Die Kommunikation zwischen der paralellen Schnittstelle und dem Treiber erfolgt trotzdem per libieee1284 und den Kernel. Ein Epson ist kein Scanny und der Epson verwendet einen anderen Treiber als dein Scanny. Die libieee1284 implmentiert ausserdem den entsprechenden IEEE Standard für die Kommunikation mit den jeweiligen Geräten.
 
Der Epson ist ein USB-Scanner und hat mit meinem Problem erst mal gar nichts zu tun, außer dass beide von Sane gesteuert werden. Dass es unterschiedliche Treiber sind, ist auch klar. Desshalb ja mein Schluss, dass das Problem beim Scanny nur vom Treiber primax_scan oder vom Paralellport kommen kann, nicht aber von Sane. Da jedoch der Parallelport unter Suse 11.1 funktioniert hat und unter XP in einer VM immer noch funktioniert, kann es da nur an der Software liegen, die den Port ansteuert und das ist die libieee1284.
Funkt da sonst noch was mit rein?
 
Es liegt nicht an der libieee1284. Sonst würde es bei dir in der VM auch nicht funktionieren, mit Außnahme der Verwendung eines Hypervisors.
 
Die Weitergabe der Hardware bei VMware geschieht also auch über die Treiber des Betriebssystems? Das ist gut zu wissen.

Dann kann es also wohl nur noch der Treiber sein, der noch nicht so richtig funktioniert. Dann werde ich mich mal nochmal daran versuchen. Vielen Dank für die Infos, jetzt bin ich doch schon ziemlich weit.
 
Oben