kopia lustrzana https://gitlab.com/sane-project/website
				
				
				
			
		
			
				
	
	
		
			153 wiersze
		
	
	
		
			5.4 KiB
		
	
	
	
		
			HTML
		
	
	
			
		
		
	
	
			153 wiersze
		
	
	
		
			5.4 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: SnapScan 1236S & included AVA 1505 SCSI control</TITLE>
 | 
						|
<META NAME="Author" CONTENT="Marcel Martin (mmar@mail.com)">
 | 
						|
<META NAME="Subject" CONTENT="SnapScan 1236S & included AVA 1505 SCSI controller">
 | 
						|
</HEAD>
 | 
						|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
 | 
						|
<H1>SnapScan 1236S & included AVA 1505 SCSI controller</H1>
 | 
						|
<!-- received="Sat Dec 23 11:22:11 2000" -->
 | 
						|
<!-- isoreceived="20001223192211" -->
 | 
						|
<!-- sent="Sat, 23 Dec 2000 19:49:40 +0100" -->
 | 
						|
<!-- isosent="20001223184940" -->
 | 
						|
<!-- name="Marcel Martin" -->
 | 
						|
<!-- email="mmar@mail.com" -->
 | 
						|
<!-- subject="SnapScan 1236S & included AVA 1505 SCSI controller" -->
 | 
						|
<!-- id="00122319494004.00331@dackel" -->
 | 
						|
<STRONG>From:</STRONG> Marcel Martin (<A HREF="mailto:mmar@mail.com?Subject=Re:%20SnapScan%201236S%20&%20included%20AVA%201505%20SCSI%20controller&In-Reply-To=<00122319494004.00331@dackel>"><EM>mmar@mail.com</EM></A>)<BR>
 | 
						|
<STRONG>Date:</STRONG> Sat Dec 23 2000 - 10:49:40 PST
 | 
						|
<P>
 | 
						|
<!-- next="start" -->
 | 
						|
<LI><STRONG>Next message:</STRONG> <A HREF="0259.html">Doug X: "Re: Configure not finding SANE"</A>
 | 
						|
<UL>
 | 
						|
<LI><STRONG>Previous message:</STRONG> <A HREF="0257.html">Henning Meier-Geinitz: "Re: Defining the preview area in the xscanimage"</A>
 | 
						|
<!-- nextthread="start" -->
 | 
						|
<!-- reply="end" -->
 | 
						|
<LI><STRONG>Messages sorted by:</STRONG> 
 | 
						|
<A HREF="date.html#258">[ date ]</A>
 | 
						|
<A HREF="index.html#258">[ thread ]</A>
 | 
						|
<A HREF="subject.html#258">[ subject ]</A>
 | 
						|
<A HREF="author.html#258">[ author ]</A>
 | 
						|
</UL>
 | 
						|
<HR NOSHADE><P>
 | 
						|
<!-- body="start" -->
 | 
						|
<P>
 | 
						|
Hi folks and merry christmas to those who celebrate it!
 | 
						|
<BR>
 | 
						|
<P>Some time ago I had the problem of getting a SnapScan 1236S scanner to work 
 | 
						|
<BR>
 | 
						|
with a 2.4.0-test kernel.
 | 
						|
<BR>
 | 
						|
It finally works thanks to Abel Deuring who did the work of contacting kernel 
 | 
						|
<BR>
 | 
						|
developers, runnig tests and pointing me into the right direction. 
 | 
						|
<BR>
 | 
						|
<P>Maybe I can help others using the same combination of hard- and software to 
 | 
						|
<BR>
 | 
						|
get their scanner to work. These are the steps required to make it work:
 | 
						|
<BR>
 | 
						|
<P>- get kernel 2.4.0-test12
 | 
						|
<BR>
 | 
						|
- get latest reiserfs-patch
 | 
						|
<BR>
 | 
						|
  (filename: linux-2.4.0-test12-reiserfs-3.6.23-patch.gz) and apply it
 | 
						|
<BR>
 | 
						|
- edit the file linux/drivers/scsi/aha152x.c (lines 1470+):
 | 
						|
<BR>
 | 
						|
<P>int aha152x_queue(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *))
 | 
						|
<BR>
 | 
						|
{
 | 
						|
<BR>
 | 
						|
#if 0 /* insert this line */
 | 
						|
<BR>
 | 
						|
     if(*SCpnt->cmnd == REQUEST_SENSE) {
 | 
						|
<BR>
 | 
						|
                SCpnt->result = 0;
 | 
						|
<BR>
 | 
						|
                done(SCpnt);
 | 
						|
<BR>
 | 
						|
 
 | 
						|
<BR>
 | 
						|
                return SUCCESS;
 | 
						|
<BR>
 | 
						|
        }
 | 
						|
<BR>
 | 
						|
#endif /* and this one, too */
 | 
						|
<BR>
 | 
						|
<P>        return aha152x_internal_queue(SCpnt, 0, 0, 0, done);
 | 
						|
<BR>
 | 
						|
}
 | 
						|
<BR>
 | 
						|
<P>- configure, compile, install your kernel as usual and reboot to test
 | 
						|
<BR>
 | 
						|
- get sane-backends-1.0.4 and untar
 | 
						|
<BR>
 | 
						|
- get the most recent snapscan backend from snapscan.sourceforge.net
 | 
						|
<BR>
 | 
						|
- untar snapscan backend and copy files from the resulting snapscan/ 
 | 
						|
<BR>
 | 
						|
directory into sane-backends-1.0.4/backend. The existing - outdated - 
 | 
						|
<BR>
 | 
						|
snapscan.* files will be overwritten. (This makes e.g. color scans work, btw.)
 | 
						|
<BR>
 | 
						|
- configure, compile, and install sane-backend as usual
 | 
						|
<BR>
 | 
						|
- get, compile, and install most recent XSane (0.68)
 | 
						|
<BR>
 | 
						|
<P>These aren't really step-by-step instructions and perhaps something is wrong 
 | 
						|
<BR>
 | 
						|
(haven't really double-checked), but it should point you into the right 
 | 
						|
<BR>
 | 
						|
direction.
 | 
						|
<BR>
 | 
						|
<P>Summary:
 | 
						|
<BR>
 | 
						|
- Linux 2.4.0-test12 + linux-2.4.0-test12-reiserfs-3.6.23-patch
 | 
						|
<BR>
 | 
						|
- patch to aha152x.c
 | 
						|
<BR>
 | 
						|
- sane-backends-1.0.4
 | 
						|
<BR>
 | 
						|
- snapscan-xxxxxxxx.tar.gz (I have snapscan-11282000.tar.gz)
 | 
						|
<BR>
 | 
						|
- XSane 0.68
 | 
						|
<BR>
 | 
						|
<P>Marcel
 | 
						|
<BR>
 | 
						|
<PRE>
 | 
						|
-- 
 | 
						|
 _ _
 | 
						|
/ V / Marcel Martin    ICQ #83647876
 | 
						|
\   \ <A HREF="mailto:mmar@mail.com?Subject=Re:%20SnapScan%201236S%20&%20included%20AVA%201505%20SCSI%20controller&In-Reply-To=<00122319494004.00331@dackel>">mmar@mail.com</A>
 | 
						|
<P>--
 | 
						|
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:%20SnapScan%201236S%20&%20included%20AVA%201505%20SCSI%20controller&In-Reply-To=<00122319494004.00331@dackel>">majordomo@mostang.com</A>
 | 
						|
</PRE>
 | 
						|
<P><!-- body="end" -->
 | 
						|
<HR NOSHADE>
 | 
						|
<UL>
 | 
						|
<!-- next="start" -->
 | 
						|
<LI><STRONG>Next message:</STRONG> <A HREF="0259.html">Doug X: "Re: Configure not finding SANE"</A>
 | 
						|
<LI><STRONG>Previous message:</STRONG> <A HREF="0257.html">Henning Meier-Geinitz: "Re: Defining the preview area in the xscanimage"</A>
 | 
						|
<!-- nextthread="start" -->
 | 
						|
<!-- reply="end" -->
 | 
						|
<LI><STRONG>Messages sorted by:</STRONG> 
 | 
						|
<A HREF="date.html#258">[ date ]</A>
 | 
						|
<A HREF="index.html#258">[ thread ]</A>
 | 
						|
<A HREF="subject.html#258">[ subject ]</A>
 | 
						|
<A HREF="author.html#258">[ 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>Sat Dec 23 2000 - 11:25:23 PST</EM>
 | 
						|
</EM>
 | 
						|
</SMALL>
 | 
						|
</BODY>
 | 
						|
</HTML>
 |