sane-project-website/old-archive/1999-07/0029.html

64 wiersze
2.3 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="Sun Jul 4 11:54:10 1999 PDT" -->
<!-- sent="Sun, 04 Jul 1999 18:04:45 +0200" -->
<!-- name="Peter Kirchgessner" -->
<!-- email="peter@kirchgessner.net" -->
<!-- subject="[Patch hp-backend] Coredump with "scsi HP" in hp.conf" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: [Patch hp-backend] Coredump with "scsi HP" in hp.conf</title>
<h1>[Patch hp-backend] Coredump with "scsi HP" in hp.conf</h1>
<b>Peter Kirchgessner</b> (<a href="mailto:peter@kirchgessner.net"><i>peter@kirchgessner.net</i></a>)<br>
<i>Sun, 04 Jul 1999 18:04:45 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#29">[ date ]</a><a href="index.html#29">[ thread ]</a><a href="subject.html#29">[ subject ]</a><a href="author.html#29">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0030.html">Jonathan A. Buzzard: "Re: UMAX parallel"</a>
<li> <b>Previous message:</b> <a href="0028.html">regis rampnoux: "Re: Microtek Scanmaker 35t+"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi,<br>
<p>
here is a patch for the hp-backend. It solves the problem with the line<br>
"scsi HP" in the hp.conf-file, when HP CD-writers are connected to the<br>
system.<br>
<p>
--Peter<br>
<p>
<p>
--- hp-scl.c.orig Tue Mar 9 06:37:17 1999<br>
+++ hp-scl.c Sun Jul 4 17:38:46 1999<br>
@@ -344,6 +344,7 @@<br>
sane_strstatus(status));<br>
sanei_scsi_close(new-&gt;fd);<br>
sanei_hp_free(new);<br>
+ return status; /* Fix problem with non-scanner devices */<br>
}<br>
<p>
new-&gt;bufp = new-&gt;buf + HP_SCSI_CMD_LEN;<br>
<p>
<p>
<pre>
--
Peter Kirchgessner
WWW: <a href="http://www.kirchgessner.net">http://www.kirchgessner.net</a>
e-mail: <a href="mailto:peter@kirchgessner.net">peter@kirchgessner.net</a>
<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="0030.html">Jonathan A. Buzzard: "Re: UMAX parallel"</a>
<li> <b>Previous message:</b> <a href="0028.html">regis rampnoux: "Re: Microtek Scanmaker 35t+"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>