sane-project-website/old-archive/2000-02/0342.html

304 wiersze
10 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Problems with UMAX, think I'm missing something</TITLE>
<META NAME="Author" CONTENT="Douglas Gilbert (dgilbert@interlog.com)">
<META NAME="Subject" CONTENT="Re: Problems with UMAX, think I'm missing something elementary...">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Problems with UMAX, think I'm missing something elementary...</H1>
<!-- received="Thu Feb 24 20:30:43 2000" -->
<!-- isoreceived="20000225043043" -->
<!-- sent="Thu, 24 Feb 2000 23:36:46 -0500" -->
<!-- isosent="20000225043646" -->
<!-- name="Douglas Gilbert" -->
<!-- email="dgilbert@interlog.com" -->
<!-- subject="Re: Problems with UMAX, think I'm missing something elementary..." -->
<!-- id="38B606DE.11FB0F54@interlog.com" -->
<!-- inreplyto="38B5F6D6.96F10D8C@mint.net" -->
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20Problems%20with%20UMAX,%20think%20I'm%20missing%20something%20elementary...&In-Reply-To=&lt;38B606DE.11FB0F54@interlog.com&gt;"><EM>dgilbert@interlog.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Feb 24 2000 - 20:36:46 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0343.html">Danilo Godec: "Supported scanners list"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0341.html">Douglas Gilbert: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0340.html">Jason Joy: "Problems with UMAX, think I'm missing something elementary..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0345.html">Oliver Rauch: "Re: Problems with UMAX, think I'm missing something elementary..."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#342">[ date ]</A>
<A HREF="index.html#342">[ thread ]</A>
<A HREF="subject.html#342">[ subject ]</A>
<A HREF="author.html#342">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Jason Joy wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hey there.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have a UMAX Astra 610S scanner, which is listed as being supported by
</EM><BR>
<EM>&gt; sane, but I am unable to get it to work and think that I'm just missing
</EM><BR>
<EM>&gt; something easy to fix. So, I am asking if anyone would know what is
</EM><BR>
<EM>&gt; wrong based on what I do know.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; [root@dilophosaur /dev]# insmod aha152x aha152x=0x140,11,6,1
</EM><BR>
<EM>&gt; aha152x: BIOS test: passed, detected 1 controller(s)
</EM><BR>
<EM>&gt; aha152x0: vital data: PORTBASE=0x140, IRQ=11, SCSI ID=6,
</EM><BR>
<EM>&gt; reconnect=enabled,
</EM><BR>
<EM>&gt; parity=enabled, synchronous=disabled, delay=100, extended
</EM><BR>
<EM>&gt; translation=disabled
</EM><BR>
<EM>&gt; aha152x: trying software interrupt, ok.
</EM><BR>
<EM>&gt; scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
</EM><BR>
<EM>&gt; scsi : 1 host.
</EM><BR>
<EM>&gt; Vendor: UMAX Model: Astra 610S Rev: V1.3
</EM><BR>
<EM>&gt; Type: Scanner ANSI SCSI revision: 02
</EM><BR>
<EM>&gt; Vendor: IOMEGA Model: ZIP 100 Rev: J.02
</EM><BR>
<EM>&gt; Type: Direct-Access ANSI SCSI revision: 02
</EM><BR>
<EM>&gt; Detected scsi removable disk sda at scsi0, channel 0, id 5, lun 0
</EM><BR>
<EM>&gt; SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1
</EM><BR>
<EM>&gt; GB]
</EM><BR>
<EM>&gt; sda: Write Protect is on
</EM><BR>
<EM>&gt; sda: sda4
</EM><BR>
<P>Something is missing here. If sg is built into the kernel then
<BR>
it will report all scsi devices that are neither discs, nor tapes
<BR>
nor cdroms. In other words it will report scanners. On the other
<BR>
hand sg may be a module ....
<BR>
<P><EM>&gt; ---
</EM><BR>
<EM>&gt; To me, it seems that the adaptor's modules loaded correctly. The
</EM><BR>
<EM>&gt; adaptor is just a generic aha152x adaptec card.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Next, I check everything is truly connected.
</EM><BR>
<EM>&gt; ---
</EM><BR>
<EM>&gt; [root@dilophosaur /root]# cat /proc/scsi/scsi
</EM><BR>
<EM>&gt; Attached devices:
</EM><BR>
<EM>&gt; Host: scsi0 Channel: 00 Id: 02 Lun: 00
</EM><BR>
<EM>&gt; Vendor: UMAX Model: Astra 610S Rev: V1.3
</EM><BR>
<EM>&gt; Type: Scanner ANSI SCSI revision: 02
</EM><BR>
<EM>&gt; Host: scsi0 Channel: 00 Id: 05 Lun: 00
</EM><BR>
<EM>&gt; Vendor: IOMEGA Model: ZIP 100 Rev: J.02
</EM><BR>
<EM>&gt; Type: Direct-Access ANSI SCSI revision: 02
</EM><BR>
<EM>&gt; ---
</EM><BR>
<EM>&gt; Looks good to me.
</EM><BR>
<P>Fine.
<BR>
&nbsp;
<BR>
<EM>&gt; Next, I set the UMAX debug level and try to see if SANE will see it...
</EM><BR>
<EM>&gt; ---
</EM><BR>
<EM>&gt; [user@dilophosaur user]$ scanimage -L
</EM><BR>
<EM>&gt; [sanei_init_debug]: Setting debug level of umax to 128.
</EM><BR>
<EM>&gt; [umax] sane_init
</EM><BR>
<EM>&gt; [umax] This is sane-umax version 1.0 build 18
</EM><BR>
<EM>&gt; [umax] (C) 1997-2000 by Oliver Rauch
</EM><BR>
<EM>&gt; [umax] EMAIL: <A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20Problems%20with%20UMAX,%20think%20I'm%20missing%20something%20elementary...&In-Reply-To=&lt;38B606DE.11FB0F54@interlog.com&gt;">Oliver.Rauch@Wolfsburg.DE</A>
</EM><BR>
<EM>&gt; [umax] attach_scanner: /dev/scanner
</EM><BR>
<EM>&gt; [umax] attach_scanner: opening /dev/scanner
</EM><BR>
<EM>&gt; [umax] attach_scanner: open failed
</EM><BR>
<EM>&gt; [umax] attach_scanner: /dev/sga
</EM><BR>
<EM>&gt; [umax] attach_scanner: opening /dev/sga
</EM><BR>
<EM>&gt; [umax] attach_scanner: open failed
</EM><BR>
<EM>&gt; [umax] attach_scanner: /dev/sgb
</EM><BR>
<EM>&gt; [umax] attach_scanner: opening /dev/sgb
</EM><BR>
<EM>&gt; [umax] attach_scanner: open failed
</EM><BR>
<EM>&gt; [umax] sane_get_devices
</EM><BR>
<EM>&gt; [umax] sane_exit
</EM><BR>
<EM>&gt; ---
</EM><BR>
<EM>&gt; Checking my devices....
</EM><BR>
<EM>&gt; ---
</EM><BR>
<EM>&gt; [user@dilophosaur user]$ ls -l /dev/sg*
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg0 -&gt; sga
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg1 -&gt; sgb
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg2 -&gt; sgc
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg3 -&gt; sgd
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg4 -&gt; sge
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg5 -&gt; sgf
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg6 -&gt; sgg
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Jan 22 19:42 /dev/sg7 -&gt; sgh
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 0 May 5 1998 /dev/sga
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 1 May 5 1998 /dev/sgb
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 2 May 5 1998 /dev/sgc
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 3 May 5 1998 /dev/sgd
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 4 May 5 1998 /dev/sge
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 5 May 5 1998 /dev/sgf
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 6 May 5 1998 /dev/sgg
</EM><BR>
<EM>&gt; crwxrwxrwx 1 root sys 21, 7 May 5 1998 /dev/sgh
</EM><BR>
<EM>&gt; [user@dilophosaur user]$ ls -l /dev/scanner
</EM><BR>
<EM>&gt; lrwxrwxrwx 1 root root 3 Feb 24 20:55 /dev/scanner -&gt;
</EM><BR>
<EM>&gt; sga
</EM><BR>
<EM>&gt; ---
</EM><BR>
<EM>&gt; Hmmm. The last bit of information I want to contribute is:
</EM><BR>
<EM>&gt; ---
</EM><BR>
<EM>&gt; [kyroraz@dilophosaur sane.d]$ cat umax.conf
</EM><BR>
<EM>&gt; scsi UMAX * Scanner
</EM><BR>
<EM>&gt; scsi LinoHell Office
</EM><BR>
<EM>&gt; scsi LinoHell Office2
</EM><BR>
<EM>&gt; scsi LinoHell SAPHIR2
</EM><BR>
<EM>&gt; scsi Nikon AX-210
</EM><BR>
<EM>&gt; /dev/scanner
</EM><BR>
<EM>&gt; /dev/sga
</EM><BR>
<EM>&gt; /dev/sgb
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; -----
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Anyone have any ideas? I'm running out of them tonight... The
</EM><BR>
<EM>&gt; ZIP drive works perfectly, so I don't think it's the SCSI card, and the
</EM><BR>
<EM>&gt; scanner detects in Windows, at least, Windows says that it's there
</EM><BR>
<EM>&gt; (haven't scanned in Windows at all). I hope this is the right forum for
</EM><BR>
<EM>&gt; this too. :)
</EM><BR>
<P>Has the scsi generic driver been selected in the kernel build?
<BR>
Alternatively if you have an off-the-shelf distribution try:
<BR>
$ insmod sg
<BR>
<P>to install the scsi generic module then try SANE again.
<BR>
<P><P>Doug Gilbert
<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?Subject=Re:%20Problems%20with%20UMAX,%20think%20I'm%20missing%20something%20elementary...&In-Reply-To=&lt;38B606DE.11FB0F54@interlog.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0343.html">Danilo Godec: "Supported scanners list"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0341.html">Douglas Gilbert: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0340.html">Jason Joy: "Problems with UMAX, think I'm missing something elementary..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0345.html">Oliver Rauch: "Re: Problems with UMAX, think I'm missing something elementary..."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#342">[ date ]</A>
<A HREF="index.html#342">[ thread ]</A>
<A HREF="subject.html#342">[ subject ]</A>
<A HREF="author.html#342">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Feb 24 2000 - 20:34:51 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>