Re: Does the dtc SCSI adapter work with Linux 2.x?

H C Pumphrey (hcp@met.ed.ac.uk)
Fri, 19 Mar 1999 10:26:07 +0000 (GMT)

On Thu, 18 Mar 1999, Christoph Doerbeck A242369 wrote:

> I apologize for asking this question again, because I've seen it asked
> many times on this list, but a buddy of mine bought a UMAX 1220S and
> received a dtc scsi adapter with it....
> should it work with linux?
> - Christoph

The card that comes with the Artec AT12 scanner is similar if not
identical. According to the Windoze98 device manager it is called a
DTC3181X/3151X. The chip on it bears the letters DTCT436P. It has two
jumpers.

Domex's web site (www.domex.com.tw or www.domexusa.com but NOT
www.domex.com) doesn't list this board, but does list a board called
DMX3181LE which I suspect is identical to mine and probably to yours too.
They do not provide a Linux driver for this board (although they do for
some of their PCI SCSI cards). They provide a short FAQ which explains
what the jumpers do (sort of...). One jumper switches between plug-n-play
and plug-n-run mode. I don't know what this means: my card is set to
plug-n-run. For the other jumper I quote:

J2 1-2: OFF 1WS ( “One Wait State” means CPU waiting one CLK to process
peripheral devices) *

1-2: ON 0WS (“Zero Wait State” means CPU waiting zero CLK to process
peripheral devices )

The default setting is 1WS: I don't know what this means either. I'd be
grateful if someone could enlighten me!

If this doesn't sound like your card, please ignore the rest of this
message.

===============================================================

In my experience, you can't get these cards to work with kernel 2.0.34 but
you can with 2.2.1. You have to compile the kernel with generic NCR5380
scsi support and use the boot prompt argument dtc3181e=0x2c0,0.

I still have not got my AT12 working well: it does one scan at most and
then refuses to respond. I don't know if this is a SANE problem or a SCSI
driver problem. I suspect the latter as other AT12 users can use SANE and
they are usually using other SCSI cards.

Other "features":

(*) The card is always detected at bootup.

(*) The scanner is only detected if it is turned on on at bootup. you
can't turn it on later and do something like

echo "scsi add-single-device 2 0 5 0" > /proc/scsi/scsi

to add the scanner

(*) If the scanner has been detected and you then turn it off, the machine
locks up solid and requires use of the Microsoft button to restart it.

I wonder if it would be better to use a kernel module for the scsi
support but I have yet toi try this. Any comments?

Do please report whether your card is the same as I describe and whether
you succeed in getting it to work.

HTH!

Hugh

==========================================================================
Hugh C. Pumphrey, Dept. of - | Tel. 0131-650-6026,Fax:0131-650-5780
Meteorology, Univ. of Edinburgh | Replace 0131 with +44-131 if outside U.K
EDINBURGH EH9 3JZ, Scotland | Email hcp@met.ed.ac.uk
======P=l=e=a=s=e==N=o=t=e==t=h=e==N=e=w==F=A=X==N=u=m=b=e=r==============

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com