kopia lustrzana https://gitlab.com/sane-project/website
73 wiersze
2.8 KiB
HTML
73 wiersze
2.8 KiB
HTML
<!-- received="Tue Dec 29 00:52:04 1998 PST" -->
|
||
<!-- sent="Tue, 29 Dec 1998 00:50:59 -0800" -->
|
||
<!-- name="Guy G. Sotomayor" -->
|
||
<!-- email="ggs@shiresoft.com" -->
|
||
<!-- subject="SANE 1.00 on Sparc Linux" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="" -->
|
||
<title>sane-devel: SANE 1.00 on Sparc Linux</title>
|
||
<h1>SANE 1.00 on Sparc Linux</h1>
|
||
<b>Guy G. Sotomayor</b> (<a href="mailto:ggs@shiresoft.com"><i>ggs@shiresoft.com</i></a>)<br>
|
||
<i>Tue, 29 Dec 1998 00:50:59 -0800</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#295">[ date ]</a><a href="index.html#295">[ thread ]</a><a href="subject.html#295">[ subject ]</a><a href="author.html#295">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0296.html">Manuel Panea: "Re: canon 2700F film scanner"</a>
|
||
<li> <b>Previous message:</b> <a href="0294.html">Pascal Bonete: "Re: Web site is down???"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Hi,<br>
|
||
<p>
|
||
I've spent the last couple of days getting SANE to compile and run on<br>
|
||
Sparc Linux. It compiles and works now, but not straight "out of the<br>
|
||
box". Here are the changes I had to make:<br>
|
||
<p>
|
||
in backend/abaton.c (line 1116):<br>
|
||
<p>
|
||
< s->val[OPT_X_RESOLUTION] = *(SANE_Word *)val;<br>
|
||
<pre>
|
||
---
|
||
> s->val[OPT_X_RESOLUTION].w = *(SANE_Word *)val;
|
||
<p>
|
||
I had to completely remove the references to sanei_pio and sanei_ab306.
|
||
I did
|
||
this quickly and thus also removed the mustek support from being built
|
||
as it would
|
||
get unresolved references to sanei_ab306. The problem with sanei_pio
|
||
and sanei_ab306 is that they include io.h which on the sparc is a kernel
|
||
header file and doesn't build properly if included from user space. The
|
||
code in sanei_pio appears to make the assumption of being on an x86
|
||
platform and uses the inb/outb family of calls which don't exist on a
|
||
sparc. sanei_ab306 appears to have the same problem. I did not
|
||
investigate why the mustek support always references the sanei_ab306
|
||
code.
|
||
<p>
|
||
The third and final problem was that the umax code ran my sparc out of
|
||
virtual memory.
|
||
<p>
|
||
This was done on a RH 5.1 Sparc/Linux with a 2.1.131 kernel. Sun IPX
|
||
w/64MB and 51MB of swap.
|
||
<p>
|
||
The good news with all of this is that my Microtek ScanMaker IISP now
|
||
works under Linux.
|
||
<p>
|
||
TTFN - Guy
|
||
<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="0296.html">Manuel Panea: "Re: canon 2700F film scanner"</a>
|
||
<li> <b>Previous message:</b> <a href="0294.html">Pascal Bonete: "Re: Web site is down???"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|