sane-project-website/old-archive/1999-06/0096.html

106 wiersze
4.6 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Thu Jun 17 00:26:53 1999 PDT" -->
<!-- sent="Thu, 17 Jun 1999 09:32:50 +0200" -->
<!-- name="Wolfgang Goeller" -->
<!-- email="wgoeller@active.ch" -->
<!-- subject="Re: Artec AT6 yet again" -->
<!-- id="" -->
<!-- inreplyto="Artec AT6 yet again" -->
<title>sane-devel: Re: Artec AT6 yet again</title>
<h1>Re: Artec AT6 yet again</h1>
<b>Wolfgang Goeller</b> (<a href="mailto:wgoeller@active.ch"><i>wgoeller@active.ch</i></a>)<br>
<i>Thu, 17 Jun 1999 09:32:50 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#96">[ date ]</a><a href="index.html#96">[ thread ]</a><a href="subject.html#96">[ subject ]</a><a href="author.html#96">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0097.html">Michele Bini: "Re: [PARPORT] BETA test, new ppSCSI drivers"</a>
<li> <b>Previous message:</b> <a href="0095.html">Warren: "Re: Request for more info on Obscure Scanner"</a>
<li> <b>Maybe in reply to:</b> <a href="0083.html">Brian B.: "Artec AT6 yet again"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0136.html">Wolfgang Goeller: "Re: Artec AT6 yet again"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
"Brian B." wrote:<br>
<p>
<i>&gt; &gt; &gt; Attached devices:</i><br>
<i>&gt; &gt; &gt; Host: scsi0 Channel: 00 Id: 01 Lun: 00</i><br>
<i>&gt; </i><br>
<i>&gt; Im assuming that you are speaking of some config program from RH but I run</i><br>
<i>&gt; debian do I doubt I would have it. So is there anyway you could tell me how to</i><br>
<i>&gt; do it by hand Im assuming echo add-single-device 0 0 2 0 &gt; /proc/scsi/scsi</i><br>
<i>&gt; but Im not sure if thats right or if its even the right command string.</i><br>
<i>&gt; </i><br>
<i>&gt; BTW the lun switch is set to 3 on the back of my scanner. not sure if that</i><br>
<i>&gt; makes a difference.</i><br>
<p>
Well, that's a good hint - I actually don't mean any Red Heat<br>
progs.<br>
<p>
ID=01 means: Your scanner is still supposed to be at<br>
lun 1.<br>
I did not explain it very well:<br>
ID represents what your manual regards as LUN.<br>
Let me explain it with an example:<br>
I've got a Phase-change-drive, this drive is jumpered to LUN 3.<br>
But since this drive can act as CD-Reader and as PD-disk-writer<br>
it has to "sub-luns" - 1 and 2.<br>
So linux reports<br>
ID 03 Lun 01 as CD-Reader<br>
ID 03 Lun 02 as Writer<br>
<p>
OR say you have an external SCSI-Drive-array with its own controller<br>
that connects to your controller.<br>
The whole bunch of disks might be say 1 - but it has several different<br>
disks.<br>
That might result in a report like the following:<br>
ID 01 Lun 01 IBM disk ......<br>
ID 01 Lun 02 Quantum disk ....<br>
<p>
Now you have your Scanner set to ID 3<br>
If linux does not find it there it will not work.<br>
Might be after changing the ID you might want to<br>
power off the Scanner and the computer.<br>
After restarting both you should get "ID=3" for your scanner.<br>
Unless the actual settings of the scanner and what linux finds<br>
when reporting devices are identical, nothing will work.<br>
<p>
The manual adding of a device is only for the case, when the<br>
Scanner was offline (or switched off) during boot-time, then he<br>
is not recognized by the system.<br>
<p>
I would avoid the "add-single-device...." if ever possible.<br>
After I'm sure everything works well I would compile the<br>
SCSI-interface as module. Removing that module and reinstalling<br>
it is a better way to make things work.<br>
<p>
And: It might well make a difference, what ID your Scanner has.<br>
<p>
When you boot your System the SCSI-Controller reports in most<br>
cases "PRESS CTRL-A (or press CTRL-B or press CTRL-S)" for <br>
configuration. That allows you to set some parameters for<br>
your Controller and the way it negotiates with attached devices.<br>
<p>
Hope I could clarify things. If not (my English is not too good)<br>
pleas ask.<br>
<p>
Regards<br>
Wolfgang<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="0097.html">Michele Bini: "Re: [PARPORT] BETA test, new ppSCSI drivers"</a>
<li> <b>Previous message:</b> <a href="0095.html">Warren: "Re: Request for more info on Obscure Scanner"</a>
<li> <b>Maybe in reply to:</b> <a href="0083.html">Brian B.: "Artec AT6 yet again"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0136.html">Wolfgang Goeller: "Re: Artec AT6 yet again"</a>
<!-- reply="end" -->
</ul>