sane-project-website/old-archive/1997-10/0037.html

358 wiersze
18 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Thu Oct 9 06:34:57 1997 MST" -->
<!-- sent="Thu, 9 Oct 1997 15:30:09 +0200 (MET DST)" -->
<!-- name="Peter Daum" -->
<!-- email="gator@cs.tu-berlin.de" -->
<!-- subject="umax: xscanimage does not run run as gimp plugin" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: umax: xscanimage does not run run as gimp plugin</title>
<h1>umax: xscanimage does not run run as gimp plugin</h1>
<b>Peter Daum</b> (<a href="mailto:gator@cs.tu-berlin.de"><i>gator@cs.tu-berlin.de</i></a>)<br>
<i>Thu, 9 Oct 1997 15:30:09 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#37">[ date ]</a><a href="index.html#37">[ thread ]</a><a href="subject.html#37">[ subject ]</a><a href="author.html#37">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0038.html">jbarchuk@worldnet.att.net: "Re: flatbed scanner, postscript printer"</a>
<li> <b>Previous message:</b> <a href="0036.html">Laszlo Vecsey: "flatbed scanner, postscript printer"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi,<br>
<p>
I installed xscanimage as a plug-in for GIMP. The dummy devices<br>
pmm:n work, so I guess, the basic installation is ok.<br>
<p>
When I select my scanner (umax:/dev/scanner, a umax ASTRA 1200S<br>
flatbed scanner), xscanimage is usually immediately aborted with<br>
the error message "wire_read: unexpected EOF". When I am<br>
persistent and repeat selecting the menu entry, after about 20-30<br>
attempts xscanimage will usually start. When called via the<br>
"device dialog" menu entry, the success rate seems to be slightly<br>
higher.<br>
<p>
Versions of the involved components:<br>
Kernel: Linux 2.1.42, libc: 5.4.38, <br>
gimp: 0.99.13, sane: 0.65, gtk+: 970925<br>
SCSI interface: Asus SC-200, ncr53c8xx driver<br>
<p>
When called as a standalone program, xscanimage normally works<br>
(except for occasional crashes on startup - about every 2nd call<br>
will fail). When the device is given on the command line<br>
("xscanimage umax:/dev/scanner") the following warnings are<br>
displayed.<br>
<p>
** WARNING **: file gtkwidget.c: line 2813 (gtk_real_widget_queue_draw): "GTK_IS_WIDGET (widget)"<br>
<p>
** WARNING **: file gtkwidget.c: line 2813 (gtk_real_widget_queue_draw): "GTK_IS_WIDGET (widget)"<br>
<p>
I don't know enough about sane, gtk and gimp to make any sense of<br>
this. Below is the output when xscanimage is called as a gimp<br>
plug-in with all debug variables activated. It doesn't look<br>
particularly helpful, but maybe somebody can detect anything<br>
unusual in it:<br>
<p>
- - - - - 8&lt; - - - - - 8&lt; - - - - - 8&lt; - - - - - 8&lt; - - - - - <br>
<p>
[sanei_init_debug]: Setting debug level of dll to 128.<br>
[dll] adding backend umax<br>
[dll] adding backend pnm<br>
[dll] loading backend umax<br>
[dll] load: found `/usr/local/lib/libsane-umax.la'<br>
[dll] dlopen()ing `/usr/local/lib/libsane-umax.so.0'<br>
[dll] init: initializing backend `umax'<br>
[sanei_init_debug]: Setting debug level of umax to 128.<br>
[umax] sane_init<br>
[umax] attach_scanner: /dev/scanner<br>
[umax] attach_scanner: opening /dev/scanner<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[umax] init<br>
[umax] initialize_values<br>
[umax] identify_scanner<br>
[umax] do_inquiry<br>
[sanei_scsi] scsi_req_enter: entered 0x8076d50<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8076d50<br>
[sanei_scsi] sanei_scsi.issue: 0x8076d50<br>
[sanei_scsi] sanei_scsi_req_wait: read 41 bytes<br>
[sanei_scsi] scsi_req_enter: entered 0x8076d50<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8076d50<br>
[sanei_scsi] sanei_scsi.issue: 0x8076d50<br>
[sanei_scsi] sanei_scsi_req_wait: read 197 bytes<br>
[umax] Found UMAX scanner Astra 1200S version V1.1 on device /dev/scanner<br>
[umax] get_inquiry_values<br>
[umax] sane_open<br>
[umax] init_options<br>
[umax] sane_control_option 2, set value<br>
[dll] control_option(handle=0x806e8f8,option=0,action=0,value=0xbfffe900,info=(nil))<br>
[umax] sane_control_option 0, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=1)<br>
[umax] sane_get_option_descriptor 1<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=2)<br>
[umax] sane_get_option_descriptor 2<br>
[dll] control_option(handle=0x806e8f8,option=2,action=0,value=0x8080e00,info=(nil))<br>
[umax] sane_control_option 2, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=3)<br>
[umax] sane_get_option_descriptor 3<br>
[dll] control_option(handle=0x806e8f8,option=3,action=0,value=0x8081b08,info=(nil))<br>
[umax] sane_control_option 3, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=4)<br>
[umax] sane_get_option_descriptor 4<br>
[dll] control_option(handle=0x806e8f8,option=4,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 4, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=5)<br>
[umax] sane_get_option_descriptor 5<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=6)<br>
[umax] sane_get_option_descriptor 6<br>
[dll] control_option(handle=0x806e8f8,option=6,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 6, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=6)<br>
[umax] sane_get_option_descriptor 6<br>
[dll] control_option(handle=0x806e8f8,option=6,action=1,value=0xbfffe110,info=0xbfffdfe8)<br>
[umax] sane_control_option 6, set value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=7)<br>
[umax] sane_get_option_descriptor 7<br>
[dll] control_option(handle=0x806e8f8,option=7,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 7, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=8)<br>
[umax] sane_get_option_descriptor 8<br>
[dll] control_option(handle=0x806e8f8,option=8,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 8, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=9)<br>
[umax] sane_get_option_descriptor 9<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=10)<br>
[umax] sane_get_option_descriptor 10<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=11)<br>
[umax] sane_get_option_descriptor 11<br>
[dll] control_option(handle=0x806e8f8,option=11,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 11, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=12)<br>
[umax] sane_get_option_descriptor 12<br>
[dll] control_option(handle=0x806e8f8,option=12,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 12, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=13)<br>
[umax] sane_get_option_descriptor 13<br>
[dll] control_option(handle=0x806e8f8,option=13,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 13, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=14)<br>
[umax] sane_get_option_descriptor 14<br>
[dll] control_option(handle=0x806e8f8,option=14,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 14, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=15)<br>
[umax] sane_get_option_descriptor 15<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=16)<br>
[umax] sane_get_option_descriptor 16<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=17)<br>
[umax] sane_get_option_descriptor 17<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=18)<br>
[umax] sane_get_option_descriptor 18<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=19)<br>
[umax] sane_get_option_descriptor 19<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=20)<br>
[umax] sane_get_option_descriptor 20<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=21)<br>
[umax] sane_get_option_descriptor 21<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=22)<br>
[umax] sane_get_option_descriptor 22<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=23)<br>
[umax] sane_get_option_descriptor 23<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=24)<br>
[umax] sane_get_option_descriptor 24<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=25)<br>
[umax] sane_get_option_descriptor 25<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=26)<br>
[umax] sane_get_option_descriptor 26<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=27)<br>
[umax] sane_get_option_descriptor 27<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=28)<br>
[umax] sane_get_option_descriptor 28<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=29)<br>
[umax] sane_get_option_descriptor 29<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=30)<br>
[umax] sane_get_option_descriptor 30<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=31)<br>
[umax] sane_get_option_descriptor 31<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=32)<br>
[umax] sane_get_option_descriptor 32<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=33)<br>
[umax] sane_get_option_descriptor 33<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=34)<br>
[umax] sane_get_option_descriptor 34<br>
[dll] control_option(handle=0x806e8f8,option=34,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 34, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=35)<br>
[umax] sane_get_option_descriptor 35<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=36)<br>
[umax] sane_get_option_descriptor 36<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=37)<br>
[umax] sane_get_option_descriptor 37<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=38)<br>
[umax] sane_get_option_descriptor 38<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=39)<br>
[umax] sane_get_option_descriptor 39<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=40)<br>
[umax] sane_get_option_descriptor 40<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=41)<br>
[umax] sane_get_option_descriptor 41<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=42)<br>
[umax] sane_get_option_descriptor 42<br>
[dll] control_option(handle=0x806e8f8,option=42,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 42, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=43)<br>
[umax] sane_get_option_descriptor 43<br>
[dll] control_option(handle=0x806e8f8,option=43,action=0,value=0xbfffe7d4,info=(nil))<br>
[umax] sane_control_option 43, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=44)<br>
[umax] sane_get_option_descriptor 44<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=45)<br>
[umax] sane_get_option_descriptor 45<br>
[dll] get_parameters(handle=0x806e8f8,params=0xbfffe9dc)<br>
[umax] sane_get_parameters<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=2)<br>
[umax] sane_get_option_descriptor 2<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=3)<br>
[umax] sane_get_option_descriptor 3<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=1)<br>
[umax] sane_get_option_descriptor 1<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=2)<br>
[umax] sane_get_option_descriptor 2<br>
[dll] control_option(handle=0x806e8f8,option=2,action=0,value=0x8082240,info=(nil))<br>
[umax] sane_control_option 2, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=3)<br>
[umax] sane_get_option_descriptor 3<br>
[dll] control_option(handle=0x806e8f8,option=3,action=0,value=0x8082f18,info=(nil))<br>
[umax] sane_control_option 3, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=4)<br>
[umax] sane_get_option_descriptor 4<br>
[dll] control_option(handle=0x806e8f8,option=4,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 4, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=5)<br>
[umax] sane_get_option_descriptor 5<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=6)<br>
[umax] sane_get_option_descriptor 6<br>
[dll] control_option(handle=0x806e8f8,option=6,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 6, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=6)<br>
[umax] sane_get_option_descriptor 6<br>
[dll] control_option(handle=0x806e8f8,option=6,action=1,value=0xbfffe18c,info=0xbfffe064)<br>
[umax] sane_control_option 6, set value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=7)<br>
[umax] sane_get_option_descriptor 7<br>
[dll] control_option(handle=0x806e8f8,option=7,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 7, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=8)<br>
[umax] sane_get_option_descriptor 8<br>
[dll] control_option(handle=0x806e8f8,option=8,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 8, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=9)<br>
[umax] sane_get_option_descriptor 9<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=10)<br>
[umax] sane_get_option_descriptor 10<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=11)<br>
[umax] sane_get_option_descriptor 11<br>
[dll] control_option(handle=0x806e8f8,option=11,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 11, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=12)<br>
[umax] sane_get_option_descriptor 12<br>
[dll] control_option(handle=0x806e8f8,option=12,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 12, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=13)<br>
[umax] sane_get_option_descriptor 13<br>
[dll] control_option(handle=0x806e8f8,option=13,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 13, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=14)<br>
[umax] sane_get_option_descriptor 14<br>
[dll] control_option(handle=0x806e8f8,option=14,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 14, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=15)<br>
[umax] sane_get_option_descriptor 15<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=16)<br>
[umax] sane_get_option_descriptor 16<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=17)<br>
[umax] sane_get_option_descriptor 17<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=18)<br>
[umax] sane_get_option_descriptor 18<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=19)<br>
[umax] sane_get_option_descriptor 19<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=20)<br>
[umax] sane_get_option_descriptor 20<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=21)<br>
[umax] sane_get_option_descriptor 21<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=22)<br>
[umax] sane_get_option_descriptor 22<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=23)<br>
[umax] sane_get_option_descriptor 23<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=24)<br>
[umax] sane_get_option_descriptor 24<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=25)<br>
[umax] sane_get_option_descriptor 25<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=26)<br>
[umax] sane_get_option_descriptor 26<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=27)<br>
[umax] sane_get_option_descriptor 27<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=28)<br>
[umax] sane_get_option_descriptor 28<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=29)<br>
[umax] sane_get_option_descriptor 29<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=30)<br>
[umax] sane_get_option_descriptor 30<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=31)<br>
[umax] sane_get_option_descriptor 31<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=32)<br>
[umax] sane_get_option_descriptor 32<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=33)<br>
[umax] sane_get_option_descriptor 33<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=34)<br>
[umax] sane_get_option_descriptor 34<br>
[dll] control_option(handle=0x806e8f8,option=34,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 34, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=35)<br>
[umax] sane_get_option_descriptor 35<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=36)<br>
[umax] sane_get_option_descriptor 36<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=37)<br>
[umax] sane_get_option_descriptor 37<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=38)<br>
[umax] sane_get_option_descriptor 38<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=39)<br>
[umax] sane_get_option_descriptor 39<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=40)<br>
[umax] sane_get_option_descriptor 40<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=41)<br>
[umax] sane_get_option_descriptor 41<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=42)<br>
[umax] sane_get_option_descriptor 42<br>
[dll] control_option(handle=0x806e8f8,option=42,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 42, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=43)<br>
[umax] sane_get_option_descriptor 43<br>
[dll] control_option(handle=0x806e8f8,option=43,action=0,value=0xbfffe850,info=(nil))<br>
[umax] sane_control_option 43, get value<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=44)<br>
[umax] sane_get_option_descriptor 44<br>
[dll] get_option_descriptor(handle=0x806e8f8,option=45)<br>
[umax] sane_get_option_descriptor 45<br>
wire_read: unexpected EOF<br>
<p>
<pre>
--
| Peter Daum (<a href="mailto:gator@cs.tu-berlin.de">gator@cs.tu-berlin.de</a>) __o (+49 30)
| <a href="http://www.cs.tu-berlin.de/~gator">http://www.cs.tu-berlin.de/~gator</a> _'\&lt;_ 691 46 35
| pgp messages welcome! _(_)/(_) ___________
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0038.html">jbarchuk@worldnet.att.net: "Re: flatbed scanner, postscript printer"</a>
<li> <b>Previous message:</b> <a href="0036.html">Laszlo Vecsey: "flatbed scanner, postscript printer"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>