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

Problemkind PLUSTEK-Scanner - Modul lädt sich nicht automati

Andrew

Newbie
Hallo,

mein Scanner-Problem ist noch nicht aus der Welt.
SuSE 9.1
Kernel 2.6.4-52
sane-backends-1.0.14.tar.gz
PLUSTEK OpticPro 12000T Parallelport

Nach der Installation von sane-backends-1.0.14 und dem Laden der Module sehe ich mit dmesg:

Code:
...
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
...
pt_drv: no version for "struct_module" found: kernel tainted.
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.43-3
....
MiscGetModelName - id = 15
pt_drv0: 9636T/12000T found on port 0x0378
pt_drv0: Lamp-Timer set to 180 seconds.
pt_drv0: WarmUp period set to 30 seconds.
pt_drv0: Lamp untouched on driver unload.
Lamp-Timer started!
pt_drv : init done, 1 device(s) found
...
Und die Scannerlampe schaltet sich jetzt nach 180s aus. Soweit alles gut, aber weder xsane noch scanimage -L findet irgendwelche Devices. Der Scanner läßt sich nicht starten.

Nach einem Reboot sieht mein dmesg so aus:
Code:
...
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
...
Das Modul pt_drv ist nicht geladen, was mir auch lsmod zeigt. Wenn ich jetzt modprobe pt_drv und dann lsmod ausführe sehe ich das hier:
Code:
...
Module                  Size  Used by
pt_drv              115796  0
...
parport_pc         35264  3
ppa                    11656  0
parport               37704  4 pt_drv,lp,parport_pc,ppa
...
Die Scannerlampe brennt wieder für 180s, aber xsane und scanimage -L sprechen den Scanner nicht an.

Die Inhalte von
/etc/sane.d/plustek_pp.conf:
Code:
...
#[direct]
#device 0x378

#
# leave the default values as specified in /etc/modules.conf
#
#option warmup    -1
#option lOffOnEnd -1
#option lampOff   -1

# model override switch, mostly for cosmetic changes, if the autodetection
# does not work or could not work correctly
#option mov 7

#
# example for accessing the scanner via libieee1284
#
#[direct]
#device parport0

#
# example for accessing the scanner via the kernel module
#
[kernel]
device /dev/pt_drv

option warmup    -1
option lOffOnEnd -1
option lampOff   -1
....

/etc/sane.d/dll.conf:
Code:
...
pint
plustek
plustek_pp
#pnm
...

und /etc/modules.conf:
Code:
alias char-major-40     pt_drv
pre-install pt_drv modprobe -k parport
options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0 slowIO=1
Kann mir hier jemand weiterhelfen? Einerseits das Modul dauerhaft zu laden und anderseits den Scanner zum Laufen zu bringen.

Vielen Dank

Andrew
 
Hi "Andrew",

kann es sein, dass wir jetzt hier weitermachen? Immerhin besser als der
reguläre Mailweg, dann kriegen andere Leut' auch ein bisschen was mit :!:
Auf Deine letzte Mail werd' ich Dir noch antworten...

Andrew schrieb:
mein Scanner-Problem ist noch nicht aus der Welt.
Aber doch überschaubarer geworden ;)

Andrew schrieb:
Nach der Installation von sane-backends-1.0.14 und dem Laden der Module sehe ich mit dmesg:

Code:
...
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
...
pt_drv: no version for "struct_module" found: kernel tainted.
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.43-3
....
MiscGetModelName - id = 15
pt_drv0: 9636T/12000T found on port 0x0378
pt_drv0: Lamp-Timer set to 180 seconds.
pt_drv0: WarmUp period set to 30 seconds.
pt_drv0: Lamp untouched on driver unload.
Lamp-Timer started!
pt_drv : init done, 1 device(s) found
...

Mal abgesehen von der "kernel tainted" Meldung sieht das gut aus. Der
automatische Start sollte via Bootup-Script geschehen - zu finden in
/etc/init.d - dort nimmst Du Dir am besten das File boot.local und trägst
modprobe pt_drv
ein - das sollte es gewesen sein - das Modul wird beim Start geladen, Du
solltest aber den Scanner angeschaltet lassen...

Andrew schrieb:
.
.
.
und /etc/modules.conf:
Code:
alias char-major-40     pt_drv
pre-install pt_drv modprobe -k parport
options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0 slowIO=1

So, ich weiss nicht, warum SuSE die modules.conf noch pflegt. Mit Einführung
neuer modutils und dem Kernel 2.6.x heisst die Datei jetzt
/etc/modprobe.conf
und hat auch ein anderes Format. Wie das im einzelnen Aussieht, kann ich
nicht sagen, ich weiss aber, dass man die options Zeile 1 zu 1 übernehmen
kann, ebenso die alias Zeile. Die pre-install Zeile lass mal weg, da aber das
Modul bei Dir bereits mit den Default-Optionen läuft, kannst Du das mal
ignorieren...

So jetzt zum nächsten Punkt: Scanner zum Laufen bringen...
Im Prinzip hast Du ja schon das meiste erledigt, der Treiber ist geladen und
SANE (hoffentlich richtig) installiert...
Überprüfe bitte /usr/lib/sane
Code:
-rwxr-xr-x    1 root     root          960 2004-06-08 15:03 libsane-dll.la
lrwxrwxrwx    1 root     root           21 2004-06-08 15:03 libsane-dll.so -> libsane-dll.so.1.0.14
lrwxrwxrwx    1 root     root           21 2004-06-08 15:03 libsane-dll.so.1 -> libsane-dll.so.1.0.14
-rwxr-xr-x    1 root     root        84103 2004-06-08 15:03 libsane-dll.so.1.0.14
-rwxr-xr-x    1 root     root         1002 2004-06-08 15:03 libsane-plustek_pp.la
lrwxrwxrwx    1 root     root           28 2004-06-08 15:03 libsane-plustek_pp.so -> libsane-plustek_pp.so.1.0.14
lrwxrwxrwx    1 root     root           28 2004-06-08 15:03 libsane-plustek_pp.so.1 -> libsane-plustek_pp.so.1.0.14
-rwxr-xr-x    1 root     root       397020 2004-06-08 15:03 libsane-plustek_pp.so.1.0.14

das sollte in etwa so aussehen, wenn die Links auf Dateien mit einer anderen
Endung zeigen - etwa .13 oder so, dann solltest Du zuerst das Verzeichnis
hier löschen und SANE nochmal mit make install installieren, damit ist
sichergestellt, dass Du die richtigen Backends nimmst.

Als nächstes wäre interessant, was
export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L
zum Vorschein bringt - und zwar jeweils als root und als normaler User...

Evtl. stimmen die Rechte des Devices /dev/pt_drv nicht , sollte in etwa so
aussehen:
Code:
crw-r--r--    1 root     root      40,   0 2003-10-29 08:34 /dev/pt_drv
crw-r--r--    1 root     root      40,   0 2003-10-29 08:34 /dev/pt_drv0
crw-r--r--    1 root     root      40,   1 2003-10-29 08:34 /dev/pt_drv1
crw-r--r--    1 root     root      40,   2 2003-10-29 08:34 /dev/pt_drv2
crw-r--r--    1 root     root      40,   3 2003-10-29 08:34 /dev/pt_drv3

Hilft das weiter :?: :?:

Grüsse,
Gerhard
 
OP
A

Andrew

Newbie
Hallo Gerhard,

ja im Zeitalter des World wide web wird die Welt klein, zumindest ist das eine positive Überraschung die Entwickler hier persönlich anzutreffen.

Immerhin besser als der
reguläre Mailweg, dann kriegen andere Leut' auch ein bisschen was mit

Der Meinung bin ich auch, vor allem wenn die beigefügten README-Dateien nicht mit den Änderungen mitwachsen. Das was ich bisher erfahren habe, vermisse ich dort. Und wenn die modules.conf nicht mehr benötigt wird, gehört das nicht in eine aktuelle README rein, allenfalls als Randnotiz für ältere Kernels.

Nun, /usr/lib/sane ist nicht das Problem, das hatte ich bereits viel früher gelöscht als ich sah, daß sane in /usr/local/lib/sane/ installiert wird.

Und die Rechte für /dev/pt_drv* stehen auf per Default auf 644. Die einzige Änderung die jetzt die boot.local, pt_drv ist jetzt von Anfang an gestartet. Ich bin davon ausgegangen, das sei mit der Implementierung in den Kernel bereits vorausgesetzt.

Die /etc/modprobe.conf.local habe ich wie folgt ergänzt:
Code:
#
# please add local extensions to this file
#
########################################################################
# char dev aliases
########################################################################

alias char-major-40     pt_drv

########################################################################
# PLUSTEK OpticPro 12000T Module pt_drv
########################################################################

options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0 slowI
Aber scanimage -L funktioniert nach wie vor nicht, auch nicht mit dieser Umgebungsvariablen SANE_DEBUG_PLUSTEK_PP=20.

dmesg liefert:
Code:
....
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
....
pt_drv: no version for "struct_module" found: kernel tainted.
pt_drv : driver version 0.43-3
pt_drv0: 9636T/12000T found on port 0x0378
pt_drv0: Lamp-Timer set to 180 seconds.
pt_drv0: WarmUp period set to 15 seconds.
pt_drv0: Lamp untouched on driver unload.
....
Was sollte denn statt "kernel tainted" auftauchen und was besagt diese Meldung?

Und lsmod zeigt, das was ich oben bereits gesagt habe:
Code:
...
pt_drv                115796  0
parport_pc             35264  3
ppa                    11656  0
parport                37704  4 lp,pt_drv,parport_pc,ppa
...
Also wie gesagt, das Thema ist für mich noch nicht vom Tisch. Und ich würde gerne verstehen, was da blockt.

Grüße

Andrew
 
Hi,

Andrew schrieb:
Der Meinung bin ich auch, vor allem wenn die beigefügten README-Dateien nicht mit den Änderungen mitwachsen. Das was ich bisher erfahren habe, vermisse ich dort. Und wenn die modules.conf nicht mehr benötigt wird, gehört das nicht in eine aktuelle README rein, allenfalls als Randnotiz für ältere Kernels.

Wir beide einer Meinung, wow ;) ;)
Sagen wir mal so, wer sich mit dem Modul bauen auseinander setzt,
kommt früher oder später eh an dieses Eck. Der pt_drv hätte eigentlich schon
mit dem Kernel 2.6.x sterben sollen, jedoch haben ein paar Leut' gemeint
sie bräuchten das ganze noch - deshalb gibt's auch keine richtige Doku dazu...
Sehr viele Leute nutzen heute noch die 2.4er Kernel und für die passt das
hervorragend - anyway mich wunderts eh. dass SuSE überhaupt noch eine
modules.conf drin hat...

Andrew schrieb:
...
Aber scanimage -L funktioniert nach wie vor nicht, auch nicht mit dieser Umgebungsvariablen SANE_DEBUG_PLUSTEK_PP=20.

Schau, das ist ein Punkt, der mich irritiert, ich hatte Dich gebeten mit
die Ausgaben von
Code:
export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L
zukommen zu lassen, die Umgebungsvariable setzt lediglich den Debug-Level
der Backends, so, dass man sehen kann, was darin abläuft - ist also ziemlich
wichtig fürs weitere Vorgehen, mit der Aussage "funktioniert nicht" kann ich
so nix anfangen...

Andrew schrieb:
dmesg liefert:
Code:
....
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
....
pt_drv: no version for "struct_module" found: kernel tainted.
pt_drv : driver version 0.43-3
pt_drv0: 9636T/12000T found on port 0x0378
pt_drv0: Lamp-Timer set to 180 seconds.
pt_drv0: WarmUp period set to 15 seconds.
pt_drv0: Lamp untouched on driver unload.
....
Was sollte denn statt "kernel tainted" auftauchen und was besagt diese Meldung?

Das kennen wir doch schon. "kernel tainted" wurd ebenfalls im Zuge der
Entwicklung zum Kernel 2.6 eingeführt, um Module zu identifizieren, die
nicht der GPL oder verwandter Lizenzen unterliegen. Diese "verderben"
den Kernel quasi. Ist nix schlimmes und hat nur informellen Charakter.
Weshalb in Deinem Fall der pt_drv die Meldung hervorbringt, kann ich immer
noch nicht nachvollziehen - hat aber mit Sicherheit was mit der Buildmeldung
zu tun, die Du mir mal geschickt hast - vielleicht kann ich noch nachvollziehen
was da schief gelaufen ist.

So jetzt zurück zum eigentlichen Problem:
Der Treiber ist geladen, die Device-Nodes existieren, Du hättest sogar
Zugriff drauf - einzig weiss ich nicht, warum SANE das Backend nicht lädt.
Also nochmals die Bitte, stell die Ausgabe von
Code:
export SANE_DEBUG_DLL=255 ; export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L
ins Forum, ausgeführt als root und als normaler User. Dann lass uns das mal
anschauen, was da passiert. Vielleicht gehst Du auch nochmals durch Dein
System durch und versuchst alles zu finden, was nach sane aussieht, evt.
sind da noch Leichen, die uns zum Problem werden.

Also bis denne,
Gerhard
 
OP
A

Andrew

Newbie
Hallo,

hier ist der Auswurf:
Code:
eagle:/home/andreas # export SANE_DEBUG_DLL=255 ; export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.11 from sane-backends 1.0.14-cvs
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'
[dll] add_backend: adding backend `agfafocus'
[dll] add_backend: adding backend `apple'
[dll] add_backend: adding backend `avision'
[dll] add_backend: adding backend `artec'
[dll] add_backend: adding backend `artec_eplus48u'
[dll] add_backend: adding backend `as6e'
[dll] add_backend: adding backend `bh'
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `coolscan'
[dll] add_backend: adding backend `coolscan2'
[dll] add_backend: adding backend `dmc'
[dll] add_backend: adding backend `epson'
[dll] add_backend: adding backend `fujitsu'
[dll] add_backend: adding backend `gt68xx'
[dll] add_backend: adding backend `hp'
[dll] add_backend: adding backend `hpsj5s'
[dll] add_backend: adding backend `hp5400'
[dll] add_backend: adding backend `ibm'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `ma1509'
[dll] add_backend: adding backend `matsushita'
[dll] add_backend: adding backend `microtek'
[dll] add_backend: adding backend `microtek2'
[dll] add_backend: adding backend `mustek'
[dll] add_backend: adding backend `mustek_usb'
[dll] add_backend: adding backend `nec'
[dll] add_backend: adding backend `pie'
[dll] add_backend: adding backend `pint'
[dll] add_backend: adding backend `plustek'
[dll] add_backend: adding backend `qcam'
[dll] add_backend: adding backend `ricoh'
[dll] add_backend: adding backend `s9036'
[dll] add_backend: adding backend `sceptre'
[dll] add_backend: adding backend `sharp'
[dll] add_backend: adding backend `sm3600'
[dll] add_backend: adding backend `snapscan'
[dll] add_backend: adding backend `sp15c'
[dll] add_backend: adding backend `tamarack'
[dll] add_backend: adding backend `teco1'
[dll] add_backend: adding backend `teco2'
[dll] add_backend: adding backend `teco3'
[dll] add_backend: adding backend `u12'
[dll] add_backend: adding backend `umax'
[dll] add_backend: adding backend `umax1220u'
[dll] add_backend: adding backend `v4l'
[dll] sane_get_devices
[dll] load: searching backend `v4l' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-v4l.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-v4l.so.1'
[dll] init: initializing backend `v4l'
[dll] init: backend `v4l' is version 1.0.4
[dll] load: searching backend `umax1220u' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-umax1220u.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-umax1220u.so.1'
[dll] init: initializing backend `umax1220u'
[dll] init: backend `umax1220u' is version 1.0.1
[dll] load: searching backend `umax' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-umax.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-umax.so.1'
[dll] init: initializing backend `umax'
[dll] init: backend `umax' is version 1.0.44
[dll] load: searching backend `u12' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-u12.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-u12.so.1'
[dll] init: initializing backend `u12'
[dll] init: backend `u12' is version 1.0.0
[dll] load: searching backend `teco3' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-teco3.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-teco3.so.1'
[dll] init: initializing backend `teco3'
[dll] init: backend `teco3' is version 1.0.1
[dll] load: searching backend `teco2' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-teco2.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-teco2.so.1'
[dll] init: initializing backend `teco2'
[dll] init: backend `teco2' is version 1.0.5
[dll] load: searching backend `teco1' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-teco1.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-teco1.so.1'
[dll] init: initializing backend `teco1'
[dll] init: backend `teco1' is version 1.0.10
[dll] load: searching backend `tamarack' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-tamarack.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-tamarack.so.1'
[dll] init: initializing backend `tamarack'
[dll] init: backend `tamarack' is version 1.0.0
[dll] load: searching backend `sp15c' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-sp15c.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-sp15c.so.1'
[dll] init: initializing backend `sp15c'
[dll] init: backend `sp15c' is version 1.0.0
[dll] load: searching backend `snapscan' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-snapscan.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-snapscan.so.1'
[dll] init: initializing backend `snapscan'
[dll] init: backend `snapscan' is version 1.4.38
[dll] load: searching backend `sm3600' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-sm3600.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-sm3600.so.1'
[dll] init: initializing backend `sm3600'
[dll] init: backend `sm3600' is version 1.0.5
[dll] load: searching backend `sharp' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-sharp.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-sharp.so.1'
[dll] init: initializing backend `sharp'
[dll] init: backend `sharp' is version 1.0.0
[dll] load: searching backend `sceptre' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-sceptre.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-sceptre.so.1'
[dll] init: initializing backend `sceptre'
[dll] init: backend `sceptre' is version 1.0.10
[dll] load: searching backend `s9036' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-s9036.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-s9036.so.1'
[dll] init: initializing backend `s9036'
[dll] init: backend `s9036' is version 1.0.0
[dll] load: searching backend `ricoh' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-ricoh.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-ricoh.so.1'
[dll] init: initializing backend `ricoh'
[dll] init: backend `ricoh' is version 1.0.0
[dll] load: searching backend `qcam' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-qcam.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-qcam.so.1'
[dll] init: initializing backend `qcam'
[dll] init: backend `qcam' is version 1.0.0
[dll] load: searching backend `plustek' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-plustek.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-plustek.so.1'
[dll] init: initializing backend `plustek'
[dll] init: backend `plustek' is version 1.0.0
[dll] load: searching backend `pint' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-pint.so.1'
[dll] load: couldn't open `/usr/local/lib/sane/libsane-pint.so.1' (No such file or directory)
[dll] load: couldn't find backend `pint' (No such file or directory)
[dll] load: searching backend `pie' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-pie.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-pie.so.1'
[dll] init: initializing backend `pie'
[dll] init: backend `pie' is version 1.0.9
[dll] load: searching backend `nec' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-nec.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-nec.so.1'
[dll] init: initializing backend `nec'
[dll] init: backend `nec' is version 1.0.0
[dll] load: searching backend `mustek_usb' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-mustek_usb.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-mustek_usb.so.1'
[dll] init: initializing backend `mustek_usb'
[dll] init: backend `mustek_usb' is version 1.0.18
[dll] load: searching backend `mustek' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-mustek.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-mustek.so.1'
[dll] init: initializing backend `mustek'
[dll] init: backend `mustek' is version 1.0.137
[dll] load: searching backend `microtek2' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-microtek2.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-microtek2.so.1'
[dll] init: initializing backend `microtek2'
[dll] init: backend `microtek2' is version 1.0.0
[dll] load: searching backend `microtek' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-microtek.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-microtek.so.1'
[dll] init: initializing backend `microtek'
[dll] init: backend `microtek' is version 1.0.0
[dll] load: searching backend `matsushita' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-matsushita.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-matsushita.so.1'
[dll] init: initializing backend `matsushita'
[dll] init: backend `matsushita' is version 1.0.7
[dll] load: searching backend `ma1509' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-ma1509.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-ma1509.so.1'
[dll] init: initializing backend `ma1509'
[dll] init: backend `ma1509' is version 1.0.3
[dll] load: searching backend `leo' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-leo.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-leo.so.1'
[dll] init: initializing backend `leo'
[dll] init: backend `leo' is version 1.0.10
[dll] load: searching backend `ibm' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-ibm.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-ibm.so.1'
[dll] init: initializing backend `ibm'
[dll] init: backend `ibm' is version 1.0.0
[dll] load: searching backend `hp5400' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-hp5400.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-hp5400.so.1'
[dll] init: initializing backend `hp5400'
[dll] init: backend `hp5400' is version 1.0.3
[dll] load: searching backend `hpsj5s' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-hpsj5s.so.1'
[dll] load: couldn't open `/usr/local/lib/sane/libsane-hpsj5s.so.1' (No such file or directory)
[dll] load: couldn't find backend `hpsj5s' (No such file or directory)
[dll] load: searching backend `hp' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-hp.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-hp.so.1'
[dll] init: initializing backend `hp'
[dll] init: backend `hp' is version 1.0.8
[dll] load: searching backend `gt68xx' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-gt68xx.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-gt68xx.so.1'
[dll] init: initializing backend `gt68xx'
[dll] init: backend `gt68xx' is version 1.0.60
[dll] load: searching backend `fujitsu' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-fujitsu.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-fujitsu.so.1'
[dll] init: initializing backend `fujitsu'
[dll] init: backend `fujitsu' is version 1.0.0
[dll] load: searching backend `epson' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-epson.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-epson.so.1'
[dll] init: initializing backend `epson'
[dll] init: backend `epson' is version 1.0.241
[dll] load: searching backend `dmc' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-dmc.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-dmc.so.1'
[dll] init: initializing backend `dmc'
[dll] init: backend `dmc' is version 1.0.0
[dll] load: searching backend `coolscan2' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-coolscan2.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-coolscan2.so.1'
[dll] init: initializing backend `coolscan2'
[dll] init: backend `coolscan2' is version 1.0.0
[dll] load: searching backend `coolscan' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-coolscan.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-coolscan.so.1'
[dll] init: initializing backend `coolscan'
[dll] init: backend `coolscan' is version 1.0.0
[dll] load: searching backend `canon630u' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-canon630u.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-canon630u.so.1'
[dll] init: initializing backend `canon630u'
[dll] init: backend `canon630u' is version 1.0.1
[dll] load: searching backend `canon' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-canon.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-canon.so.1'
[dll] init: initializing backend `canon'
[dll] init: backend `canon' is version 1.0.0
[dll] load: searching backend `bh' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-bh.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-bh.so.1'
[dll] init: initializing backend `bh'
[dll] init: backend `bh' is version 1.0.4
[dll] load: searching backend `as6e' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-as6e.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-as6e.so.1'
[dll] init: initializing backend `as6e'
[dll] load: searching backend `artec_eplus48u' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-artec_eplus48u.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-artec_eplus48u.so.1'
[dll] init: initializing backend `artec_eplus48u'
[dll] init: backend `artec_eplus48u' is version 1.0.0
[dll] load: searching backend `artec' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-artec.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-artec.so.1'
[dll] init: initializing backend `artec'
[dll] init: backend `artec' is version 1.0.0
[dll] load: searching backend `avision' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-avision.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-avision.so.1'
[dll] init: initializing backend `avision'
[dll] init: backend `avision' is version 1.0.92
[dll] load: searching backend `apple' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-apple.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-apple.so.1'
[dll] init: initializing backend `apple'
[dll] init: backend `apple' is version 1.0.0
[dll] load: searching backend `agfafocus' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-agfafocus.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-agfafocus.so.1'
[dll] init: initializing backend `agfafocus'
[dll] init: backend `agfafocus' is version 1.0.0
[dll] load: searching backend `abaton' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-abaton.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-abaton.so.1'
[dll] init: initializing backend `abaton'
[dll] init: backend `abaton' is version 1.0.0
[dll] load: searching backend `net' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-net.so.1'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.14
[dll] sane_get_devices: found 0 devices

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `v4l's exit function
[dll] sane_exit: calling backend `umax1220u's exit function
[dll] sane_exit: calling backend `umax's exit function
[dll] sane_exit: calling backend `u12's exit function
[dll] sane_exit: calling backend `teco3's exit function
[dll] sane_exit: calling backend `teco2's exit function
[dll] sane_exit: calling backend `teco1's exit function
[dll] sane_exit: calling backend `tamarack's exit function
[dll] sane_exit: calling backend `sp15c's exit function
[dll] sane_exit: calling backend `snapscan's exit function
[dll] sane_exit: calling backend `sm3600's exit function
[dll] sane_exit: calling backend `sharp's exit function
[dll] sane_exit: calling backend `sceptre's exit function
[dll] sane_exit: calling backend `s9036's exit function
[dll] sane_exit: calling backend `ricoh's exit function
[dll] sane_exit: calling backend `qcam's exit function
[dll] sane_exit: calling backend `plustek's exit function
[dll] sane_exit: calling backend `pie's exit function
[dll] sane_exit: calling backend `nec's exit function
[dll] sane_exit: calling backend `mustek_usb's exit function
[dll] sane_exit: calling backend `mustek's exit function
[dll] sane_exit: calling backend `microtek2's exit function
[dll] sane_exit: calling backend `microtek's exit function
[dll] sane_exit: calling backend `matsushita's exit function
[dll] sane_exit: calling backend `ma1509's exit function
[dll] sane_exit: calling backend `leo's exit function
[dll] sane_exit: calling backend `ibm's exit function
[dll] sane_exit: calling backend `hp5400's exit function
[dll] sane_exit: calling backend `hp's exit function
[dll] sane_exit: calling backend `gt68xx's exit function
[dll] sane_exit: calling backend `fujitsu's exit function
[dll] sane_exit: calling backend `epson's exit function
[dll] sane_exit: calling backend `dmc's exit function
[dll] sane_exit: calling backend `coolscan2's exit function
[dll] sane_exit: calling backend `coolscan's exit function
[dll] sane_exit: calling backend `canon630u's exit function
[dll] sane_exit: calling backend `canon's exit function
[dll] sane_exit: calling backend `bh's exit function
[dll] sane_exit: calling backend `artec_eplus48u's exit function
[dll] sane_exit: calling backend `artec's exit function
[dll] sane_exit: calling backend `avision's exit function
[dll] sane_exit: calling backend `apple's exit function
[dll] sane_exit: calling backend `agfafocus's exit function
[dll] sane_exit: calling backend `abaton's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: finished

Das verdaue ich dann Morgen einmal, jetzt bin ich vom Tanzen noch ganz kaputt.

Gruß

Andrew
 

misiu

Moderator
Teammitglied
Ich hab die Dispute verfolgt und so , wie ich es mitbekommen habe, sollte der Scanner mit dem plustek_pp backend laufen. In dem letztem Debug
wird aber nur der plustek verarbeitet, nicht aber der
plustek_pp.

MfG
misiu
 
Moin, moin,

misiu schrieb:
Ich hab die Dispute verfolgt und so , wie ich es mitbekommen habe, sollte der Scanner mit dem plustek_pp backend laufen. In dem letztem Debug
wird aber nur der plustek verarbeitet, nicht aber der
plustek_pp.

was heißt hier Dispute ;)
Aber Du hast das schon richtig erkannt, das plustek_pp Backend,
kommt gar nicht zum Zuge und das Problem ist hier, dass es
zwei "gemischte" SANE Installationen gibt - Reste der SuSE
RPM Installation und Teile der per "configure , make, make install"
erzeugten...

@Andrew: Geh mal nach /usr/local/etc/sane.d, dort sollte
nochmals eine dll.conf stehen, ebenso findes Du dort die anderen
.conf Files, die jetzt für Deine SANE Installation gelten. In der
dll.conf kommentierst Du alle Backends außer plustek_pp aus,
die plustek_pp.conf kannst Du ja von /etc/sane.d kopieren.
Danach sollte
Code:
export SANE_DEBUG_DLL=255 ; export SANE_DEBUG_PLUSTEK_PP=20 ; scanimage -L
auch was zeigen - probiers mal aus.

Ich meinte mich dran erinnern zu können, dass in den Installations-
anleitungen beispielhaft der Aufruf von configure für SuSE Distris
steht, damit das Zeugs der RPMs überschrieben wird, hier nochmal:
Code:
cd sane-backends
make distclean
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info
make all

Grüsse,
Gerhard
 

misiu

Moderator
Teammitglied
scanner_freak schrieb:
Moin, moin,
was heißt hier Dispute ;)
Aber Du hast das schon richtig erkannt, das plustek_pp Backend,
kommt gar nicht zum Zuge und das Problem ist hier, dass es
zwei "gemischte" SANE Installationen gibt - Reste der SuSE
RPM Installation und Teile der per "configure , make, make install"
erzeugten...

Grüsse,
Gerhard
Zu "Dispute"
Ab und zu sind Fremdwörter auch zu gebrauchen, sonst
verlieren sie sich in Vergessenheit.... ;-)

Ich hole immer die Sane- Pakete von:
http://packman.links2linux.de/?action=index
Die sind für SuSE vorbereitet (rpm)und dann wird auch vom Yast (SuSEconfig) alles richtig verlinkt.
Dann evtl. noch im /etc/sane.d den Backend abstimmen,
(bei mir war es die Firmware) und dann läuft es.

*.tgz und Co. landen meistens im /usr/local, was auch
von Anfang an probleme mit sich bringt, weil SuSE
die meisten optionalen Pakete im /usr/share unterbringt.

MfG
misiu

Athlon 1800+ 512Mb + AGFA Snapscan e50 USB
 
misiu schrieb:
Ich hole immer die Sane- Pakete von:
http://packman.links2linux.de/?action=index
Die sind für SuSE vorbereitet (rpm)und dann wird auch vom Yast (SuSEconfig) alles richtig verlinkt.
Dann evtl. noch im /etc/sane.d den Backend abstimmen,
(bei mir war es die Firmware) und dann läuft es.
*.tgz und Co. landen meistens im /usr/local, was auch
von Anfang an probleme mit sich bringt, weil SuSE
die meisten optionalen Pakete im /usr/share unterbringt.

Da hast Du wohl recht mit dem packman, einzig das Problem, wenn
Du 'ne ältere Distribution hast klappt es nicht und, wenn Du 'ne
CVS-SANE Version einspielen willst, bzw. selber dran rumschreibst.

Aber der Packman ist wahrlich 'ne gute Adresse...

Grüsse,
Gerhard
 
OP
A

Andrew

Newbie
Hallo Ihr Beiden,

also ersteinmal vielen Dank. Somit dürfte wohl geklärt sein, warum der Scanner nicht ansprechen ließ.
In meiner eigenen Dokumentation hatte ich das auch so und die möglichen Fehlerquellen niedergeschrieben, daß eben zur Erkennung die dll.conf entsprechend entkommentiert sein muß.
Nur was jetzt geändert hatte, waren die veränderten Installationsverzeichnisse und sane nicht mehr unter /etc/sane.d fandet, das hatte ich nicht gewußt. Interessant fand ich auch das, was sich mit diesen Umgebungsvariablen herauszaubern ließ.

Ergo fände ich es gut, erstere Infos werden ab Neueinführung in den README-Dateien festgehalten und ebenfalls für die Nichtentwickler diese Möglichkeiten, die diese Variablen zur Fehlersuche einräumen.

Dadurch kann Linux und seine Umgebung wesentlich zur Akzeptanz in der Allgemeinheit beitragen, vor allem weil du dann schneller die Lösungen findest, wenn du es nachlesen kannst.

Also vielen Dank und tschüß!

Andrew
 
Moin Andrew,

Andrew schrieb:
...
Ergo fände ich es gut, erstere Infos werden ab Neueinführung in den README-Dateien festgehalten und ebenfalls für die Nichtentwickler diese Möglichkeiten, die diese Variablen zur Fehlersuche einräumen.

Dadurch kann Linux und seine Umgebung wesentlich zur Akzeptanz in der Allgemeinheit beitragen, vor allem weil du dann schneller die Lösungen findest, wenn du es nachlesen kannst.

vieles was besprochen wurde, kann man den man pages
entnehmen, so beschreibt z.B. sane-plustek_pp das Verhalten
der Umgebungsvariablen. Dass die Readmes noch nicht an den
2.6er Kernel angepasst sind - okay, aber wenn Du jetzt eh schon
mitgeschrieben hast, habe ich kein Problem damit diese
ergänzende Dokumentation auf der Download-Seite für das
Backend zu hinterlegen - da stehen übrigens weitere Installations-
anleitungen, die sich zwar auf die älteren Module beziehen, aber
in vielen Fällen noch gültig sind...

Wie auch immer, ich hoffe Dein Scanner läuft jetzt wieder und wenn
Du Dich mit etwas Doku am Projekt beteiligen möchtest, dann
schick mir das Zeugs einfach zu - meine Mailadresse hast Du ja ;)

Grüsse,
Gerhard
 
OP
A

Andrew

Newbie
Guten Morgen,

klar kann ich das, was ich dokumentiert hatte mal zur Verfügung stellen. Das dauert bloß noch ein Weilchen, da ich es um die neuen Erkenntnisse ergänzen sollte und momentan in einer Gründungsphase bin. Deswegen war die Tatsache, daß das Fax nur halbswegs ging - fehlender Scanner - eher lästig und ärgerlich. Lästig, weil ich gesucht und gesucht hatte, obwohl anderes wichtiger war.

Aber die Dokumentation kommt dann mal ganz automatisch.

Grüsse


Andrew
 
Oben