Microtek2 X6EL problems

Eric Galluzzo (eng@one.net)
Wed, 01 Dec 1999 01:26:00 +0000

Hello! :)

My system hangs when trying to scan an image using xscanimage --
usually. I've got an Adaptec AVA-2902E PCI SCSI card (I'm using the
aic7xxx kernel module -- is this correct?) and a Microtek Scanmaker X6EL
with RedHat 5.1 and kernel 2.2.13, using microtek2 backend 0.8.

The symptoms are:

* Very occasionally, when I try to insert the aic7xxx kernel module,
the system hangs. In addition, it always locks up for a couple of
seconds while inserting the module but comes back out again fine.
(I assume this is normal.)
* The scanner is detected by the SCSI module just fine:

[After typing "/sbin/modprobe aic7xxx":]
tail /var/log/messages
Nov 30 20:08:27 eng kernel: (scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 10/0
Nov 30 20:08:27 eng kernel: (scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
Nov 30 20:08:27 eng kernel: (scsi0) Downloading sequencer code... 406 instructions downloaded
Nov 30 20:08:27 eng kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.20/3.2.4
Nov 30 20:08:27 eng kernel: <Adaptec AIC-7850 SCSI host adapter>
Nov 30 20:08:27 eng kernel: scsi : 1 host.
Nov 30 20:08:27 eng kernel: Vendor: Model: scanner 636EL Rev: 1.50
Nov 30 20:08:27 eng kernel: Type: Scanner ANSI SCSI revision: 02
Nov 30 20:08:27 eng kernel: Detected scsi generic sga at scsi0, channel 0, id 6, lun 0
eric@eng:/home/eric> cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: Model: scanner 636EL Rev: 1.50
Type: Scanner ANSI SCSI revision: 02

* However, when I enter xscanimage and actually try to scan an image,
the system (usually) hangs. Only two times have I gotten the
scanner to actually scan something. One of those times, it scanned
several images before hanging; the other time, it just scanned one.

I tried to produce debug output via "xscanimage | tee saneoutput.txt"
with SANE_DEBUG_MICROTEK2 set to 30 and SANE_DEBUG_SANEI_SCSI set to 1,
but I guess it never flushed, because I ended up with a zero-length file
(but piles of stuff spewed onto the screen).

Anyway, any help you could give is very much welcome. My wife is
threatening to take back the scanner if it doesn't start working
reliably in the next couple of days. ;)

- Eric

--
---=---=-=-==-===-=====//=======//=========-===-==-=-=--=---- <>< -
"God is real, unless  // Name: // Eric Galluzzo // eng@one.net
 declared integer."  // WWW:  // http://w3.one.net/~eng/
    -- Unknown      // Work: // SDRC // Software Engineer
---=-=-==-===-=====//=======//======//=-===-==-=-=--=-------- <>< -

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