sane-project-website/old-archive/1998-06/0146.html

148 wiersze
7.1 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 18 11:13:05 1998 PDT" -->
<!-- sent="Thu, 18 Jun 1998 20:11:20 +0200" -->
<!-- name="Miguel Alvarez Blanco" -->
<!-- email="miguel@carbono.quimica.uniovi.es" -->
<!-- subject="Mustek Paragon 1200 SP Pro" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: Mustek Paragon 1200 SP Pro</title>
<h1>Mustek Paragon 1200 SP Pro</h1>
<b>Miguel Alvarez Blanco</b> (<a href="mailto:miguel@carbono.quimica.uniovi.es"><i>miguel@carbono.quimica.uniovi.es</i></a>)<br>
<i>Thu, 18 Jun 1998 20:11:20 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#146">[ date ]</a><a href="index.html#146">[ thread ]</a><a href="subject.html#146">[ subject ]</a><a href="author.html#146">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0147.html">Simon Redwood: "GI1904 based Hand scanner"</a>
<li> <b>Previous message:</b> <a href="0145.html">Yuri Dario: "Re: mustek backend in OS/2"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0184.html">Miguel Alvarez Blanco: "Re: Mustek Paragon 1200 SP Pro"</a>
<li> <b>Reply:</b> <a href="0184.html">Miguel Alvarez Blanco: "Re: Mustek Paragon 1200 SP Pro"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi to all sane developers!<br>
<p>
I have found sane really easy to install (just ./configure ; make ;<br>
make install; that's good installation procedure!), and I have had no<br>
problems in putting a bigger SCSI buffer in /usr/incalude/scsi/sg.h,<br>
recompiling the kernel and sane. My problem is with making the backend<br>
to work. I have used the SCSI card shipped with the scanner, an<br>
ADAPTEC AVA-1505 card, under Linux 2.0.30 (Debian 1.3), and it gets<br>
detected OK. I have used a module, so that I could unload it when I<br>
don't need to scan. It seems to work, and detects the scanner correctly<br>
(I think):<br>
<p>
# insmod aha152x aha152x=0x340,11,7,0,1,0,100,0<br>
aha152x: BIOS test: passed, detected 1 controller(s)<br>
aha152x0: vital data: PORTBASE=0x340, IRQ=11, SCSI ID=7, reconnect=disabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled<br>
aha152x: trying software interrupt, ok.<br>
scsi1 : Adaptec 152x SCSI driver; $Revision: 1.18 $<br>
scsi : 1 host.<br>
Vendor: SCANNER Model: Rev: 2.01<br>
Type: Scanner ANSI SCSI revision: 00<br>
<p>
I have seen that SCANNER as Vendor name is common to some other Mustek<br>
scanners, so I think that it is OK. However, the firmware revision of<br>
2.01 is not listed in the man pages. Is it too new to be supported, or<br>
there are other kind of problems? I am willing to help testing, since I<br>
know how to work and administer linux, but I'm not a good (well, not<br>
even "a") C programmer, so I can't help much with coding.<br>
<p>
I'm getting off the point. Once the scanner gets detected, I load the<br>
sg (raw scsi device) module:<br>
<p>
# insmod sg<br>
Detected scsi generic sga at scsi1, channel 0, id 6, lun 0<br>
<p>
so I symlink /dev/scanner to /dev/sga. Just in case, here is the content<br>
of /proc/scsi/scsi with the scanner info:<br>
<p>
# cat /proc/scsi/scsi<br>
Attached devices:<br>
Host: scsi1 Channel: 00 Id: 06 Lun: 00<br>
Vendor: SCANNER Model: Rev: 2.01<br>
Type: Scanner ANSI SCSI revision: 01<br>
<p>
Yes, it is the only device in the bus other than the card, and that is<br>
the only SCSI bus on the machine (an old 486 by now). Trying to detect<br>
the scanner with find-scanner works:<br>
<p>
# tools/find-scanner<br>
find-scanner: found scanner "SCANNER 2.01" at device /dev/scanner<br>
find-scanner: found scanner "SCANNER 2.01" at device /dev/sg0<br>
find-scanner: found scanner "SCANNER 2.01" at device /dev/sga<br>
<p>
(/dev/sg0 is a device provided by Debian with the same major and minor<br>
as sga; I'm not sure if it is correct to use it, so I made the sga<br>
device with mknod). Now, when trying to use scanimage to test the<br>
device:<br>
# scanimage -d mustek:/dev/scanner -h<br>
<p>
and it shows me the list of options, moves up and down the scanning<br>
line, and then hangs ... and the machine with it. I can scroll<br>
upwards and downwards (Shift-PgUp/Down), but cannot change VT (I'm<br>
not using X in this machine, although it has 32 MB). I then have to<br>
reboot (too bad for my filesystem) or turn off the scanner, which is<br>
what I did, recovering control of the system, although the SCSI bus<br>
went crazy (well ...), but at least I could shutdown properly. I have<br>
tried again with maximum debugging (SANE_DEBUG_DLL, SANE_DEBUG_MUSTEK,<br>
and SANE_DEBUG_SANEI_SCSI set to 128 and exported), and the output<br>
(which I can't pick with the mouse, so I transcribe what I think is<br>
the main output here) looks like this:<br>
<p>
[dll] init: initializing backend `mustek'<br>
[mustek] attach: opening /dev/sga as scsi device<br>
[mustek] attach: sending INQUIRY<br>
[mustek] scsi_wait_ready: sending TEST_UNIT_READY<br>
[mustek] attach: firmware revision 2.01<br>
[mustek] attach: unknown model `FS-1200SPPRO'<br>
[mustek] attach: opening /dev/scanner as scsi device<br>
....repeats with /dev/scanner....<br>
scanimage: open of device mustek:/dev/scanner failed: Invalid argument<br>
....then lots of trials with different backends, being the last:<br>
[dll] init: initializing backend `microtek2'<br>
....and, after some SCSI commands, it hangs.<br>
<p>
I hope someone can help me know if this is a problem with my setup, with<br>
the scanner being unsupported yet, and if it's the latter, whether there<br>
is support planned or under development. I have read the archives of the<br>
mailing list (subjects), but didn't found any reference to 1200 SP PRO.<br>
And it seems that the latest problems with 1200 SP scanners (some mails<br>
in May and June) talked about firmware revisions 1.0something.<br>
<p>
Many thanks in advance,<br>
<p>
Miguel<br>
<p>
<pre>
---
Miguel Alvarez Blanco
<p>
E-mail: <a href="mailto:miguel@carbono.quimica.uniovi.es">miguel@carbono.quimica.uniovi.es</a>
HomePage: <a href="http://www.uniovi.es/~quimica.fisica/qcg/mab/miguel.html">http://www.uniovi.es/~quimica.fisica/qcg/mab/miguel.html</a>
Mail: Dpto. Quimica Fisica y Analitica, Universidad de Oviedo.
Facultad de Quimica, c/ Julian Claveria, 8. 33006-Oviedo, Spain.
Phone: +34 8 510 2975 Fax: +34 8 510 3125 Dpt.Office: +34 8 510 30 34
<p>
Never underestimate the bandwidth of a station wagon full of mag tapes.
-- Dennis Ritchie
<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="0147.html">Simon Redwood: "GI1904 based Hand scanner"</a>
<li> <b>Previous message:</b> <a href="0145.html">Yuri Dario: "Re: mustek backend in OS/2"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0184.html">Miguel Alvarez Blanco: "Re: Mustek Paragon 1200 SP Pro"</a>
<li> <b>Reply:</b> <a href="0184.html">Miguel Alvarez Blanco: "Re: Mustek Paragon 1200 SP Pro"</a>
<!-- reply="end" -->
</ul>