[239] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

I'm having generic SCSI problems with scanner

daemon@ATHENA.MIT.EDU (Ken Neighbors)
Sun Jun 11 02:06:30 1995

From: Ken Neighbors <wkn@ken.vip.best.com>
To: linux-scsi@vger.rutgers.edu (linux SCSI mailing list)
Date: Sat, 10 Jun 1995 22:34:42 -0700 (PDT)
Reply-To: ken@best.com

My kernel locks up when I try to use my scanner, an HP ScanJet IIc.
The program, hpscanpbm, uses the generic SCSI device to try to talk to
the scanner.  I have an Adaptec 1515.

I would appreciate any pointers on possible solutions to my problem,
or how to go about debugging the 152x SCSI driver.  (I don't know much
about drivers, and haven't looked at the code.)  I've looked at the
hpscanpbm code, and it is using the generic scsi interface according
to the specifications in the SCSI-Programming HOWTO.  I even wrote my
own program by modifying the one in this HOWTO, and tried to reset the
scanner but it locked up the kernel just like hpscanpbm.  So I'm
beginning to think it's a bug in the 152x driver when used with the
Adaptec 1515.

I'm using Linux 1.2.9 on an old Slackware system compiled with the
Adaptec 152x SCSI driver.

Here's some results of my experimentations:

The Adaptec 1515 is recognized fine at boot-up and my CD-ROM drive and
HP scanner are listed.

No problems with the CD-ROM drive.

The SCSI inquiry command works fine.  (hpscanpbm says it found the
scanner on /dev/sga)

The SCSI command, write_6 "\033E", to reset the scanner locks up the
kernel.

If I take out the Adaptec 1515 and install a Future Domain TMC850
(really a 950 chip) and recompile the kernel *without* 152x support
and with tmc850 support, the scanner works fine!

I wouldn't mind terribly, but I'd prefer not to use both SCSI cards,
one for the CD-ROM and one for the scanner.  However, when I compile
Linux with drivers for both cards, it doesn't recognize either of
them.  (I haven't tested this extensively -- for example, there may be
an address conflict.)

I would prefer to use both SCSI devices on the 1515 and return the
tmc850, since the 1515 is 16 bit and the tmc850 is 8 bit, and I didn't
want to spend money on *two* scsi cards after spending money on a
cd-rom drive and scanner.

Even though it may work, I really don't want to use both devices on
the 850, because I never would have bought the CD-ROM drive which
included the 1515 controller.

-- 
* Linux * OS/2 * Linux * OS/2 * Linux * OS/2 * Linux * OS/2 * Linux * OS
2    Ken Neighbors            mailto:ken@best.com                      /
/    Aero/Astro Stanford      http://www-leland.stanford.edu/~wkn/     2
SO * xuniL * 2/SO * xuniL * 2/SO * xuniL * 2/SO * xuniL * 2/SO * xuniL *

home help back first fref pref prev next nref lref last post