kopia lustrzana https://gitlab.com/sane-project/website
125 wiersze
4.8 KiB
HTML
125 wiersze
4.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: sanei_scsi_cmd / snapscan / Prisa640S</TITLE>
|
|
<META NAME="Author" CONTENT="Christian Nassau (nassau@math.uni-frankfurt.de)">
|
|
<META NAME="Subject" CONTENT="sanei_scsi_cmd / snapscan / Prisa640S">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>sanei_scsi_cmd / snapscan / Prisa640S</H1>
|
|
<!-- received="Wed Jan 10 01:55:38 2001" -->
|
|
<!-- isoreceived="20010110095538" -->
|
|
<!-- sent="Wed, 10 Jan 2001 11:19:39 +0100" -->
|
|
<!-- isosent="20010110101939" -->
|
|
<!-- name="Christian Nassau" -->
|
|
<!-- email="nassau@math.uni-frankfurt.de" -->
|
|
<!-- subject="sanei_scsi_cmd / snapscan / Prisa640S" -->
|
|
<!-- id="200101101019.LAA10500@siegel.math.uni-frankfurt.de" -->
|
|
<STRONG>From:</STRONG> Christian Nassau (<A HREF="mailto:nassau@math.uni-frankfurt.de?Subject=Re:%20sanei_scsi_cmd%20/%20snapscan%20/%20Prisa640S&In-Reply-To=<200101101019.LAA10500@siegel.math.uni-frankfurt.de>"><EM>nassau@math.uni-frankfurt.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed Jan 10 2001 - 02:19:39 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0109.html">Christian Nassau: "snapscan"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0107.html">Christian Nassau: "SANE standard / get_select_fd / sane_read"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0122.html">Douglas Gilbert: "Re: sanei_scsi_cmd / snapscan / Prisa640S"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0122.html">Douglas Gilbert: "Re: sanei_scsi_cmd / snapscan / Prisa640S"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#108">[ date ]</A>
|
|
<A HREF="index.html#108">[ thread ]</A>
|
|
<A HREF="subject.html#108">[ subject ]</A>
|
|
<A HREF="author.html#108">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
I'm currently trying to get an Acer ScanPrisa640S (patched atp870u
|
|
<BR>
|
|
scsi driver, kernel version 2.2.16) working with a (modified) snapscan
|
|
<BR>
|
|
backend. I had the following problem...
|
|
<BR>
|
|
<P> aborting scanimage in the middle of a scan with CRTL-C leads
|
|
<BR>
|
|
to a system lock (requiring an instant reboot).
|
|
<BR>
|
|
<P>...and have found that sanei_scsi_cmd(..) only protects the
|
|
<BR>
|
|
scsi read and write instructions individually against user
|
|
<BR>
|
|
breaks. The SCSI-Programming-FAQ (dated 1997) that I have says
|
|
<BR>
|
|
that the **pair** (write/read) has to be protected, because
|
|
<BR>
|
|
otherwise very bad things will happen... (depending on the
|
|
<BR>
|
|
kernel version)...
|
|
<BR>
|
|
<P>... so, I've created a wrapper "sanei_scsi_protected_cmd(..)" and
|
|
<BR>
|
|
made snapscan use this function, and -- alas! -- userbreaks are
|
|
<BR>
|
|
safe now.
|
|
<BR>
|
|
<P>Couldn't one make sanei_scsi_cmd(..) protected by default, or at
|
|
<BR>
|
|
least provide a protected alternative? (or make the Makefile decide
|
|
<BR>
|
|
which one to install, based on the kernel version?)
|
|
<BR>
|
|
<P>---------
|
|
<BR>
|
|
Christian Nassau
|
|
<BR>
|
|
<P>e-mail: <A HREF="mailto:nassau@math.uni-frankfurt.de?Subject=Re:%20sanei_scsi_cmd%20/%20snapscan%20/%20Prisa640S&In-Reply-To=<200101101019.LAA10500@siegel.math.uni-frankfurt.de>">nassau@math.uni-frankfurt.de</A>
|
|
<BR>
|
|
home-page: <A HREF="http://www.math.uni-frankfurt.de/~nassau">http://www.math.uni-frankfurt.de/~nassau</A>
|
|
<BR>
|
|
<P>Fachbereich Mathematik (12)
|
|
<BR>
|
|
AG 8.1, Zi.814
|
|
<BR>
|
|
Johann Wolfgang Goethe-Universit"at
|
|
<BR>
|
|
Robert-Mayer-Str. 6-10
|
|
<BR>
|
|
D-60054 Frankfurt/M
|
|
<BR>
|
|
--- Germany ---
|
|
<BR>
|
|
<P><P><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?Subject=Re:%20sanei_scsi_cmd%20/%20snapscan%20/%20Prisa640S&In-Reply-To=<200101101019.LAA10500@siegel.math.uni-frankfurt.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0109.html">Christian Nassau: "snapscan"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0107.html">Christian Nassau: "SANE standard / get_select_fd / sane_read"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0122.html">Douglas Gilbert: "Re: sanei_scsi_cmd / snapscan / Prisa640S"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0122.html">Douglas Gilbert: "Re: sanei_scsi_cmd / snapscan / Prisa640S"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#108">[ date ]</A>
|
|
<A HREF="index.html#108">[ thread ]</A>
|
|
<A HREF="subject.html#108">[ subject ]</A>
|
|
<A HREF="author.html#108">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Wed Jan 10 2001 - 01:55:54 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|