sane-project-website/old-archive/1998-04/0109.html

69 wiersze
3.2 KiB
HTML

<!-- received="Sun Apr 12 01:28:18 1998 PDT" -->
<!-- sent="Sun, 12 Apr 1998 10:28:21 +0200" -->
<!-- name="Nicolas Lucas de Peslouan" -->
<!-- email="nicolas@intercab.fr" -->
<!-- subject="Re: /proc/scsi/scsi" -->
<!-- id="" -->
<!-- inreplyto="/proc/scsi/scsi" -->
<title>sane-devel: Re: /proc/scsi/scsi</title>
<h1>Re: /proc/scsi/scsi</h1>
<b>Nicolas Lucas de Peslouan</b> (<a href="mailto:nicolas@intercab.fr"><i>nicolas@intercab.fr</i></a>)<br>
<i>Sun, 12 Apr 1998 10:28:21 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#109">[ date ]</a><a href="index.html#109">[ thread ]</a><a href="subject.html#109">[ subject ]</a><a href="author.html#109">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0110.html">William T Wilson: "Re: SANE 0.72 + UMAX Astra 610S + Always IN2000 = No Joy :("</a>
<li> <b>Previous message:</b> <a href="0108.html">Larry 'Daffy' Daffner: "SANE 0.72 + UMAX Astra 610S + Always IN2000 = No Joy :("</a>
<li> <b>Maybe in reply to:</b> <a href="0076.html">Oliver.Rauch@Wolfsburg.DE: "/proc/scsi/scsi"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi there,<br>
<p>
<a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver.Rauch@Wolfsburg.DE</a> wrote:<br>
<i>&gt; So if that works, we can enter e.g. a "UMAX" "UMAX 12-S"</i><br>
<i>&gt; in the config-files for the backends instead of /dev/sg2</i><br>
<i>&gt; and if you turn on your cd-burner that shifts your scanner</i><br>
<i>&gt; from /dev/sg2 to /dev/sg3, the backend will find it automatically</i><br>
<i>&gt; without scanning the scsi-bus for it!</i><br>
<p>
As a possible extension to this, I would also be user friendly to allow<br>
some sort of SCSI-ID reference to scanner. <br>
<p>
I mean something in the config file that look like /dev/sga, "UMAX"<br>
"UMAS 12-S", "0 0 5 0", and is used this way :<br>
<p>
"Try using /dev/sga, if this fail, try finding something in<br>
/proc/scsi/scsi that match UMAX+UMAX 12-S, if this fail, try "scsi<br>
add-single-device 0 0 5 0" , and try again finding something in<br>
/proc/scsi/scsi that match UMAX+UMAX 12-S. (And probably<br>
remove-single-device at end if added at startup).<br>
<p>
This way, one can turn the scanner on just before starting sane, really<br>
don't care of the /dev/sg* file, and turn it off just after the work. I<br>
know this probably only work on Linux.<br>
<p>
On my system, this is already running as a sh script that setup the<br>
scanner, update the conf file, launch sane and drop the scanner on exit<br>
unless I provide a "--keep-attached" option.<br>
<p>
Nicolas.<br>
<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="0110.html">William T Wilson: "Re: SANE 0.72 + UMAX Astra 610S + Always IN2000 = No Joy :("</a>
<li> <b>Previous message:</b> <a href="0108.html">Larry 'Daffy' Daffner: "SANE 0.72 + UMAX Astra 610S + Always IN2000 = No Joy :("</a>
<li> <b>Maybe in reply to:</b> <a href="0076.html">Oliver.Rauch@Wolfsburg.DE: "/proc/scsi/scsi"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>