kopia lustrzana https://gitlab.com/sane-project/website
147 wiersze
5.2 KiB
HTML
147 wiersze
5.2 KiB
HTML
<!-- received="Thu Nov 4 01:28:18 1999 PST" -->
|
|
<!-- sent="Thu, 04 Nov 1999 10:30:33 +0100" -->
|
|
<!-- name="Christian Lorenz" -->
|
|
<!-- email="Christian.Lorenz@ast.dfs.de" -->
|
|
<!-- subject="Re: SANE 1.0.1 under DEC UNIX 4.0" -->
|
|
<!-- id="" -->
|
|
<!-- inreplyto="SANE 1.0.1 under DEC UNIX 4.0" -->
|
|
<title>sane-devel: Re: SANE 1.0.1 under DEC UNIX 4.0</title>
|
|
<h1>Re: SANE 1.0.1 under DEC UNIX 4.0</h1>
|
|
<b>Christian Lorenz</b> (<a href="mailto:Christian.Lorenz@ast.dfs.de"><i>Christian.Lorenz@ast.dfs.de</i></a>)<br>
|
|
<i>Thu, 04 Nov 1999 10:30:33 +0100</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#19">[ date ]</a><a href="index.html#19">[ thread ]</a><a href="subject.html#19">[ subject ]</a><a href="author.html#19">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0020.html">Luca Del Signore: "sane doesnt work under red hat 6.1 (again)!"</a>
|
|
<li> <b>Previous message:</b> <a href="0018.html">Dave Hill: "Re: diff/patch (was: Re: HP OfficeJet Pro,R series support announcement)"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
This is a multi-part message in MIME format.<br>
|
|
--------------E99BBE5C4A8E8C9F7F3844B6<br>
|
|
Content-Type: text/plain; charset=us-ascii<br>
|
|
Content-Transfer-Encoding: 7bit<br>
|
|
<p>
|
|
Hi Petter!<br>
|
|
<p>
|
|
I have downloaded sane-1.0.1 and had to make a few patches<br>
|
|
to get it running under DEC Unix 4.0D. You find the patch<br>
|
|
attached.<br>
|
|
The former posted changes (14 Jun 1999 & 12 Aug 1999) were<br>
|
|
not sufficient (esp. the sizeof(ccb) thing)!<br>
|
|
<p>
|
|
The scanner (an HP6300C) works fine, so somebody could also<br>
|
|
update the "Supported Platforms Page" as follows:<br>
|
|
<p>
|
|
Latest SANE version tested: 1.0.1<br>
|
|
Compiler: gcc 2.8.1<br>
|
|
User-level SCSI support: yes<br>
|
|
Shared Library Support: yes<br>
|
|
Dynamic loading support: yes<br>
|
|
X11 clients (xscanimage and xcam): xscanimage tested ok<br>
|
|
GIMP support: untested<br>
|
|
<p>
|
|
Have fun!<br>
|
|
<p>
|
|
<pre>
|
|
--
|
|
Christian Lorenz DFS Deutsche Flugsicherung GmbH
|
|
fon: +49 6103 594 1650 Paul-Ehrlich-Str. 33
|
|
fax: +49 6103 594 1680 63225 Langen
|
|
<a href="mailto:Christian.Lorenz@ast.dfs.de">mailto:Christian.Lorenz@ast.dfs.de</a> Germany
|
|
--------------E99BBE5C4A8E8C9F7F3844B6
|
|
Content-Type: text/plain; charset=us-ascii;
|
|
name="sane-1.0.1-DU4.0-patch"
|
|
Content-Transfer-Encoding: 7bit
|
|
Content-Disposition: inline;
|
|
filename="sane-1.0.1-DU4.0-patch"
|
|
<p>
|
|
diff -r -C 4 sane-1.0.1/backend/hp-scl.c sane-1.0.1-DU4.0/backend/hp-scl.c
|
|
*** sane-1.0.1/backend/hp-scl.c Tue Mar 9 06:37:17 1999
|
|
--- sane-1.0.1-DU4.0/backend/hp-scl.c Tue Nov 2 17:50:23 1999
|
|
***************
|
|
*** 879,886 ****
|
|
--- 879,888 ----
|
|
}
|
|
|
|
quit:
|
|
|
|
+ close(outfd);
|
|
+
|
|
if ( image_buf ) sanei_hp_free ( image_buf );
|
|
if ( read_buf ) sanei_hp_free ( read_buf );
|
|
|
|
if (enable_requests && (reqs_completed < reqs_issued))
|
|
diff -r -C 4 sane-1.0.1/sanei/sanei_scsi.c sane-1.0.1-DU4.0/sanei/sanei_scsi.c
|
|
*** sane-1.0.1/sanei/sanei_scsi.c Sat Apr 17 22:18:18 1999
|
|
--- sane-1.0.1-DU4.0/sanei/sanei_scsi.c Wed Nov 3 09:30:42 1999
|
|
***************
|
|
*** 676,683 ****
|
|
--- 676,684 ----
|
|
|
|
for (fd = 0; fd < num_alloced; ++fd)
|
|
if (!fd_info[fd].in_use)
|
|
break;
|
|
+ fake_fd = 1;
|
|
}
|
|
#elif USE == DOMAINOS_INTERFACE
|
|
{
|
|
static int index;
|
|
***************
|
|
*** 1873,1883 ****
|
|
size_t cdb_size;
|
|
|
|
cdb_size = CDB_SIZE (*(u_char *) src);
|
|
|
|
! memset (ccb, 0, sizeof (ccb));
|
|
ccb.cam_ch.my_addr = (CCB_HEADER *) & ccb;
|
|
! ccb.cam_ch.cam_ccb_len = sizeof (ccb);
|
|
ccb.cam_ch.cam_func_code = XPT_SCSI_IO;
|
|
ccb.cam_ch.cam_path_id = fd_info[fd].bus;
|
|
ccb.cam_ch.cam_target_id = fd_info[fd].target;
|
|
ccb.cam_ch.cam_target_lun = fd_info[fd].lun;
|
|
--- 1874,1884 ----
|
|
size_t cdb_size;
|
|
|
|
cdb_size = CDB_SIZE (*(u_char *) src);
|
|
|
|
! memset (&ccb, 0, sizeof (ccb));
|
|
ccb.cam_ch.my_addr = (CCB_HEADER *) & ccb;
|
|
! ccb.cam_ch.cam_ccb_len = sizeof(CCB_SCSIIO);
|
|
ccb.cam_ch.cam_func_code = XPT_SCSI_IO;
|
|
ccb.cam_ch.cam_path_id = fd_info[fd].bus;
|
|
ccb.cam_ch.cam_target_id = fd_info[fd].target;
|
|
ccb.cam_ch.cam_target_lun = fd_info[fd].lun;
|
|
***************
|
|
*** 1905,1912 ****
|
|
--- 1906,1914 ----
|
|
memcpy (&ccb.cam_cdb_io.cam_cdb_bytes[0], src, cdb_size);
|
|
|
|
memset (&hdr, 0, sizeof (hdr));
|
|
hdr.uagt_ccb = (CCB_HEADER *) & ccb;
|
|
+ hdr.uagt_ccblen = sizeof(CCB_SCSIIO);
|
|
hdr.uagt_buffer = ccb.cam_data_ptr;
|
|
hdr.uagt_buflen = ccb.cam_dxfer_len;
|
|
hdr.uagt_snsbuf = sense;
|
|
hdr.uagt_snslen = sizeof (sense);
|
|
<p>
|
|
--------------E99BBE5C4A8E8C9F7F3844B6--
|
|
<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="0020.html">Luca Del Signore: "sane doesnt work under red hat 6.1 (again)!"</a>
|
|
<li> <b>Previous message:</b> <a href="0018.html">Dave Hill: "Re: diff/patch (was: Re: HP OfficeJet Pro,R series support announcement)"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|