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

150 wiersze
6.3 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 10 16:33:45 1999 PDT" -->
<!-- sent="Thu, 10 Jun 1999 16:32:53 -0700 (PDT)" -->
<!-- name="Egg Ham" -->
<!-- email="eggandham@yahoo.com" -->
<!-- subject="Re: UMAX 1220S not recognized" -->
<!-- id="" -->
<!-- inreplyto="UMAX 1220S not recognized" -->
<title>sane-devel: Re: UMAX 1220S not recognized</title>
<h1>Re: UMAX 1220S not recognized</h1>
<b>Egg Ham</b> (<a href="mailto:eggandham@yahoo.com"><i>eggandham@yahoo.com</i></a>)<br>
<i>Thu, 10 Jun 1999 16:32:53 -0700 (PDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#60">[ date ]</a><a href="index.html#60">[ thread ]</a><a href="subject.html#60">[ subject ]</a><a href="author.html#60">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0061.html">Andreas Rick: "Re: First sucessSecond version of Coolscan backend for the LS-30 and"</a>
<li> <b>Previous message:</b> <a href="0059.html">wolfgang Rapp: "Re: UMAX and UTA?"</a>
<li> <b>Maybe in reply to:</b> <a href="0035.html">Egg Ham: "UMAX 1220S not recognized"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Dear Mr. Gilbert,<br>
<p>
You really helped me with the problem.<br>
<p>
It turned out that I did not enable the generic scsi<br>
device driver option when I was building the kernal!<br>
<p>
Thanks a lot.<br>
<p>
Michelle<br>
<p>
--- Douglas Gilbert &lt;<a href="mailto:dgilbert@interlog.com">dgilbert@interlog.com</a>&gt; wrote:<br>
<i>&gt; Egg Ham wrote:</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Dear Madam/Sir,</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; My scanner is UMAX Arstec 1220S. It is a SCSI</i><br>
<i>&gt; scanner.</i><br>
<i>&gt; &gt; I use Adaptec AHA-2940U SCSI card. I have RedHat</i><br>
<i>&gt; 5.2.</i><br>
<i>&gt; &gt; I upgraded kernel to 2.2.6. I installed sane-1.0.1</i><br>
<i>&gt; &gt; patched with the umax patch.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; The kernel seems to recognize the scanner when</i><br>
<i>&gt; &gt; booting. When I cat /proc/scsi/scsi, it correctly</i><br>
<i>&gt; &gt; lists out my scanner. However, when I tried to</i><br>
<i>&gt; scan</i><br>
<i>&gt; &gt; using the apps like scanimage, xscanimage and</i><br>
<i>&gt; xsane,</i><br>
<i>&gt; &gt; my scanner is not recognized.</i><br>
<i>&gt; </i><br>
<i>&gt; The sg driver prints out a line like:</i><br>
<i>&gt; Detected scsi generic sg? at scsi? channel ? id ?</i><br>
<i>&gt; lun ?</i><br>
<i>&gt; where "?" will be the appropriate letter or number.</i><br>
<i>&gt; This line is output by sg for every SCSI device that</i><br>
<i>&gt; is _not_ a disk, nor a tape, nor a cdrom. So you</i><br>
<i>&gt; should</i><br>
<i>&gt; see it for your scanner.</i><br>
<i>&gt; </i><br>
<i>&gt; If sg is built into the kernel, you should see it in</i><br>
<i>&gt; your boot up sequence, and if it is a module then</i><br>
<i>&gt; you</i><br>
<i>&gt; will see it when you do a 'insmod sg'.</i><br>
<i>&gt; </i><br>
<i>&gt; If you are not seeing this line then something is</i><br>
<i>&gt; wrong</i><br>
<i>&gt; (eg sg is not in kernel).</i><br>
<i>&gt; </i><br>
<i>&gt; &gt; I created a group called scanner with the ID of</i><br>
<i>&gt; 43. I</i><br>
<i>&gt; &gt; added root and another user in the group. I chmod</i><br>
<i>&gt; &gt; /dev/sge to 660 and chgrp /dev/sge to scanner as</i><br>
<i>&gt; &gt; instructed by san-scsi help file. I made a soft</i><br>
<i>&gt; link</i><br>
<i>&gt; &gt; of /dev/scanner pointing to /dev/sge. I edited</i><br>
<i>&gt; &gt; /usr/local/etc/sane.d/umax.conf and it looks like</i><br>
<i>&gt; this</i><br>
<i>&gt; &gt; (excluded comments in the file):</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; scsi UMAX * scanner</i><br>
<i>&gt; &gt; /dev/scanner</i><br>
<i>&gt; &gt; /dev/sge</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; I edited /usr/local/etc/sane.d/dll.conf and it</i><br>
<i>&gt; looks</i><br>
<i>&gt; &gt; like this (excluded comments in the file):</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; pnm</i><br>
<i>&gt; &gt; umax</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Now when I used xscanimage or xsane, they only</i><br>
<i>&gt; list</i><br>
<i>&gt; &gt; out pnm:0 and pnm:1 as the devices to choose from.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; When I use scanimage, which I am not sure about</i><br>
<i>&gt; the</i><br>
<i>&gt; &gt; command syntac, with -d umax:/dev/sge and gave an</i><br>
<i>&gt; &gt; error message like device failed to open:Invalid</i><br>
<i>&gt; &gt; Argument. When I used findscanner -v, it tried to</i><br>
<i>&gt; open</i><br>
<i>&gt; &gt; the device from all /dev/sg* but all failed.</i><br>
<i>&gt; </i><br>
<i>&gt; Also the version of sg in 2.2.6 (sg version 2.1.31)</i><br>
<i>&gt; has</i><br>
<i>&gt; problems with the aic7xxx driver. Visit</i><br>
<i>&gt; <a href="http://www.torque.net/sg">http://www.torque.net/sg</a></i><br>
<i>&gt; and pick up sg version 2.1.32 or 2.1.34.</i><br>
<i>&gt; Alternatively</i><br>
<i>&gt; upgrade your kernel to 2.2.8 or 2.2.9 .</i><br>
<i>&gt; </i><br>
<i>&gt; You don't seem to be getting this far since the</i><br>
<i>&gt; scanner</i><br>
<i>&gt; would still be detected.</i><br>
<i>&gt; </i><br>
<i>&gt; </i><br>
<i>&gt; Hope this helps.</i><br>
<i>&gt; </i><br>
<i>&gt; Doug Gilbert</i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs:</i><br>
<i>&gt; <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; To unsubscribe: echo unsubscribe sane-devel | mail</i><br>
<i>&gt; <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; </i><br>
<p>
_________________________________________________________<br>
Do You Yahoo!?<br>
Get your free @yahoo.com address at <a href="http://mail.yahoo.com">http://mail.yahoo.com</a><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="0061.html">Andreas Rick: "Re: First sucessSecond version of Coolscan backend for the LS-30 and"</a>
<li> <b>Previous message:</b> <a href="0059.html">wolfgang Rapp: "Re: UMAX and UTA?"</a>
<li> <b>Maybe in reply to:</b> <a href="0035.html">Egg Ham: "UMAX 1220S not recognized"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>