On Mittwoch, 28. März 2007, Johannes Meixner wrote:
On Mar 27 23:00 M Hoeller wrote (shortened):
Werder als normaler Anwender noch als root konnte ich mit kooka, und xsane einen Scan starten. Ich bekomme immer die Meldung Gerät ist besetzt.
http://de.opensuse.org/SDB:Scanner_einrichten_ab_SUSE_LINUX_9.2 "Fehlersuche (Debugging)"
Hallo Johannes, vielen Dank für Deine Antwort. Ich habe die Kommandos zum Debugging ausführen können. Leider sind dort für mich keine verständlichen Fehler zu finden. Die Logs sind erwartungsgemäß groß. Ich trau mich nicht alles hier zu posten und versuche so zu kürzen das ich den Sinn nicht entstelle. Das SCIC "Log" scheint mir am meisten zu sagen, es steht ganz am Ende. akazia:~ # scanimage -L device `teco2:/dev/sg1' is a Primax Jewel 4800 flatbed scanner akazia:~ # scanimage -d teco2:/dev/sg1 -T && echo OK || echo FAILED scanimage: sane_start: Device busy FAILED akazia:~ # export SANE_DEBUG_Backend=128 akazia:~ # scanimage -d teco2:/dev/sg1 -T && echo OK || echo FAILED scanimage: sane_start: Device busy FAILED akazia:~ # akazia:~ # export SANE_DEBUG_DLL=4 akazia:~ # scanimage -d teco2:/dev/sg1 -T && echo OK || echo FAILED [sanei_debug] Setting debug level of dll to 4. [dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.18 [dll] add_backend: adding backend `teco2' [dll] sane_open: trying to open `teco2:/dev/sg1' [dll] load: searching backend `teco2' in `/usr/lib/sane' [dll] load: trying to load `/usr/lib/sane/libsane-teco2.so.1' [dll] load: dlopen()ing `/usr/lib/sane/libsane-teco2.so.1' [dll] init: initializing backend `teco2' [dll] init: backend `teco2' is version 1.0.9 [dll] sane_open: open successful [dll] sane_control_option(handle=0x8053140,option=0,action=0,value=0xbfef0118,info=(nil)) [dll] sane_control_option(handle=0x8053140,option=0,action=0,value=0xbfeef008,info=(nil)) [dll] sane_get_option_descriptor(handle=0x8053140,option=0) [dll] sane_get_option_descriptor(handle=0x8053140,option=1) [dll] sane_get_option_descriptor(handle=0x8053140,option=2) [dll] sane_get_option_descriptor(handle=0x8053140,option=3) [dll] sane_get_option_descriptor(handle=0x8053140,option=4) [dll] sane_get_option_descriptor(handle=0x8053140,option=5) [dll] sane_get_option_descriptor(handle=0x8053140,option=6) [dll] sane_get_option_descriptor(handle=0x8053140,option=7) [dll] sane_control_option(handle=0x8053140,option=7,action=0,value=0x8052358,info=(nil)) [dll] sane_get_option_descriptor(handle=0x8053140,option=8) [dll] sane_control_option(handle=0x8053140,option=8,action=0,value=0x805235c,info=(nil)) [dll] sane_get_option_descriptor(handle=0x8053140,option=9) [dll] sane_get_option_descriptor(handle=0x8053140,option=10) [dll] sane_get_option_descriptor(handle=0x8053140,option=11) [dll] sane_get_option_descriptor(handle=0x8053140,option=12) [dll] sane_get_option_descriptor(handle=0x8053140,option=13) [dll] sane_get_option_descriptor(handle=0x8053140,option=14) [dll] sane_get_option_descriptor(handle=0x8053140,option=15) [dll] sane_get_option_descriptor(handle=0x8053140,option=16) [dll] sane_get_option_descriptor(handle=0x8053140,option=17) [dll] sane_get_option_descriptor(handle=0x8053140,option=18) [dll] sane_get_option_descriptor(handle=0x8053140,option=19) [dll] sane_get_option_descriptor(handle=0x8053140,option=20) [dll] sane_get_option_descriptor(handle=0x8053140,option=21) [dll] sane_control_option(handle=0x8053140,option=5,action=0,value=0xbfeef004,info=(nil)) [dll] sane_control_option(handle=0x8053140,option=6,action=0,value=0xbfeef004,info=(nil)) [dll] sane_control_option(handle=0x8053140,option=5,action=0,value=0xbfef010c,info=(nil)) [dll] sane_get_option_descriptor(handle=0x8053140,option=7) [dll] sane_control_option(handle=0x8053140,option=7,action=1,value=0xbfef0110,info=0xbfeef008) [dll] sane_control_option(handle=0x8053140,option=6,action=0,value=0xbfef010c,info=(nil)) [dll] sane_get_option_descriptor(handle=0x8053140,option=8) [dll] sane_control_option(handle=0x8053140,option=8,action=1,value=0xbfef0110,info=0xbfeef008) [dll] sane_start(handle=0x8053140) scanimage: sane_start: Device busy [dll] sane_cancel(handle=0x8053140) [dll] sane_close(handle=0x8053140) [dll] sane_exit: exiting [dll] sane_exit: calling backend `teco2's exit function [dll] sane_exit: finished FAILED akazia:~ # akazia:/dev # export SANE_DEBUG_SANEI_SCSI=128 akazia:/dev # scanimage -d teco2:/dev/sg1 -T && echo OK || echo FAILED [ gekürzt ] [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x807c4d0 [sanei_scsi] sanei_scsi.issue: 0x807c4d0 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success [sanei_scsi] sense buffer: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [sanei_scsi] target status: 00 host status: 0001 driver status: 0000 [sanei_scsi] sanei_scsi_req_wait: SG driver returned resid 7650 [sanei_scsi] NOTE: This value may be bogus scanimage: sane_start: Device busy FAILED akazia:/dev # Kann jemand was damit anfangen? Ich sehe halt immer nur dass der Scanner busy sein soll. Dieses sollte er nach menschlichem Verstehen nicht sein... Viele Grüße Michael -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org