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

78 wiersze
3.3 KiB
HTML

<!-- received="Fri Oct 10 08:52:51 1997 MST" -->
<!-- sent="Wed, 8 Oct 1997 19:02:40 +0200 (MET DST)" -->
<!-- name="Oliver.Rauch@Wolfsburg.DE" -->
<!-- email="Oliver.Rauch@Wolfsburg.DE" -->
<!-- subject="Re: segfault with sane-umax" -->
<!-- id="199710081702.TAA00259@Babylon5.wolfsburg.de" -->
<!-- inreplyto="Pine.LNX.3.95.971007180458.3627x-100000@odo.intranet.org" -->
<title>sane-devel: Re: segfault with sane-umax</title>
<h1>Re: segfault with sane-umax</h1>
<a href="mailto:Oliver.Rauch@Wolfsburg.DE"><i>Oliver.Rauch@Wolfsburg.DE</i></a><br>
<i>Wed, 8 Oct 1997 19:02:40 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#49">[ date ]</a><a href="index.html#49">[ thread ]</a><a href="subject.html#49">[ subject ]</a><a href="author.html#49">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0050.html">becka@rz.uni-duesseldorf.de: "Re: Java API"</a>
<li> <b>Previous message:</b> <a href="0048.html">Per Harald Myrvang: ""strange" things with SANE on IRIX 5.3"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello Iain,<br>
<p>
<p>
<i>&gt; I've gotten a Umax "SuperVista S-12" scanner that I'm trying to use with</i><br>
<i>&gt; the SCSI port on a Pro Audio Spectrum card. The system sees the scanner, </i><br>
<i>&gt; but scanimage dumps core when I run it even with just the "-h" option.</i><br>
<i>&gt; Could I be missing something when I compile SANE? Has anyone else used a</i><br>
<i>&gt; PAS with SANE?</i><br>
<p>
I tried it one time but I hat a lot of problems with it. I used<br>
the command-line-version of the umx-driver umax-0.5.x.tar.gz.<br>
<p>
May be it has to do with the PAS-SCSI-Interface, but I think the<br>
problem is somewhere else:<br>
<p>
<i>&gt; [sanei_init_debug]: Setting debug level of umax to 128.</i><br>
<i>&gt; [umax] sane_init</i><br>
<i>&gt; [umax] attach_scanner: /dev/scanner</i><br>
<i>&gt; [umax] attach_scanner: opening /dev/scanner</i><br>
<i>&gt; [umax] init</i><br>
<i>&gt; [umax] initialize_values</i><br>
<i>&gt; [umax] identify_scanner</i><br>
<i>&gt; [umax] do_inquiry</i><br>
<i>&gt; [umax] Found UMAX scanner SuperVista S-12 version V1.8 on device /dev/scanner</i><br>
<i>&gt; [umax] get_inquiry_values</i><br>
<i>&gt; [umax] sane_get_devices</i><br>
<i>&gt; device `umax:/dev/scanner' is a UMAX SuperVista S-12 flatbed scanner</i><br>
<i>&gt; device `pnm:0' is a Noname PNM file reader virtual device</i><br>
<i>&gt; device `pnm:1' is a Noname PNM file reader virtual device</i><br>
<i>&gt; [umax] sane_exit</i><br>
<i>&gt; Segmentation fault (core dumped)</i><br>
<p>
Try the following:<br>
<p>
edit backend/umax.c, search sane_exit and comment out <br>
free(dev-&gt;us.devicename);<br>
then recompile sane and try it again.<br>
<p>
Bye<br>
Oliver<br>
<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="0050.html">becka@rz.uni-duesseldorf.de: "Re: Java API"</a>
<li> <b>Previous message:</b> <a href="0048.html">Per Harald Myrvang: ""strange" things with SANE on IRIX 5.3"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>