kopia lustrzana https://gitlab.com/sane-project/website
75 wiersze
3.2 KiB
HTML
75 wiersze
3.2 KiB
HTML
<!-- received="Wed Feb 4 12:08:38 1998 PST" -->
|
|
<!-- sent="Wed, 4 Feb 1998 15:08:07 -0500" -->
|
|
<!-- name="Matto Marjanovic" -->
|
|
<!-- email="maddog@mir.com" -->
|
|
<!-- subject="Re: SANE and Sparc (and Microtek)" -->
|
|
<!-- id="199802042008.PAA18142@yoo-hoo.ai.mit.edu" -->
|
|
<!-- inreplyto="SANE and Sparc (and Microtek)" -->
|
|
<title>sane-devel: Re: SANE and Sparc (and Microtek)</title>
|
|
<h1>Re: SANE and Sparc (and Microtek)</h1>
|
|
<b>Matto Marjanovic</b> (<a href="mailto:maddog@mir.com"><i>maddog@mir.com</i></a>)<br>
|
|
<i>Wed, 4 Feb 1998 15:08:07 -0500</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#18">[ date ]</a><a href="index.html#18">[ thread ]</a><a href="subject.html#18">[ subject ]</a><a href="author.html#18">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0019.html">Wolfgang Goeller: "MUSTEK 1200SP"</a>
|
|
<li> <b>Previous message:</b> <a href="0017.html">Kevin Charter: "Re: Agfa Horizon"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
Hiya... <br>
|
|
<p>
|
|
The "mode_sense_1" command on the Microtek scanners is used to set the<br>
|
|
channel-by-channel brightness offset. In the current backend, it just<br>
|
|
sends zeros because I haven't yet figured out why negative offsets will<br>
|
|
not work, and it's sometimes easier on the developer to not release<br>
|
|
broken features.<br>
|
|
<p>
|
|
This command *can* be commented out, at least for a Scanmaker E6 (my scanner).<br>
|
|
The simple patch attached illustrates this. However, this may not be the<br>
|
|
case for the Scanmaker III.<br>
|
|
<p>
|
|
It sounds to me like the Solaris SCSI implementation is trying to be a bit<br>
|
|
too clever or too strict --- 0x19 is designated as "vendor specific", so I<br>
|
|
don't see why the Solaris kernel assumes that it is being sent to a tape<br>
|
|
drive.<br>
|
|
Someone should probably harass Sun about this.<br>
|
|
<p>
|
|
I would rather not just remove this command from the Microtek backend, since<br>
|
|
it's one particular OS with a flaw that is complaining.<br>
|
|
<p>
|
|
<p>
|
|
-Matt Marjanovic<br>
|
|
<p>
|
|
<p>
|
|
<p>
|
|
--- microtek.c.dist Wed Feb 4 14:44:07 1998<br>
|
|
+++ microtek.c Wed Feb 4 14:46:38 1998<br>
|
|
@@ -2514,7 +2514,7 @@<br>
|
|
if ((status = wait_ready(s)) != SANE_STATUS_GOOD) return status;<br>
|
|
if (s->dev->info.does_mode1) {<br>
|
|
if ((status = mode_select_1(s)) != SANE_STATUS_GOOD) return status;<br>
|
|
- if ((status = mode_sense_1(s)) != SANE_STATUS_GOOD) return status;<br>
|
|
+ /* if ((status = mode_sense_1(s)) != SANE_STATUS_GOOD) return status;*/<br>
|
|
}<br>
|
|
if (s->dev->info.source_options & (MI_SRC_FEED_BT | MI_SRC_HAS_TRANS)) {<br>
|
|
if ((status = accessory(s)) != SANE_STATUS_GOOD) return status;<br>
|
|
<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="0019.html">Wolfgang Goeller: "MUSTEK 1200SP"</a>
|
|
<li> <b>Previous message:</b> <a href="0017.html">Kevin Charter: "Re: Agfa Horizon"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|