[1539] in linux-scsi channel archive

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

Re: HP scanjet 4p "scsi" controller (uncyphered)

daemon@ATHENA.MIT.EDU (Dirk Foersterling)
Sun Mar 9 07:20:03 1997

Date: 	Sun, 9 Mar 1997 10:30:24 +0100
From: dirk@informatik.uni-frankfurt.de (Dirk Foersterling)
To: linux-scsi@vger.rutgers.edu
In-Reply-To: <ye8d8tajnh8.fsf@bill.zdv.Uni-Mainz.DE>; from Dominik Kubla on Mar 8, 1997 18:35:31 +0100

On Mar 8 1997, Dominik Kubla wrote:
> "Francisco J. Montilla" <pacopepe@nova.es> writes:
> 
> > 		Is the scsi controler shipped with the HP Scanjet 4p
> > supported by any driver? An appointment to somewhere with info on this
> > will be much appreciated...
> 
> The SCSI chip is a 53c400, so it should be supported by the Linux
> driver.  However all my attempts to get it working locked up the
> system rock solid.

This seems to become a FAQ. At least if your'e on mustek-users mailing
list too. Mustek ships a similar card with the Paragon series of
scanners. If your card also does pure polling (no irq), then the
following tips may be usefull.

If you have DOS/Windows too and have a driver, then you should configure
the DOS/Windows driver to use the same address every time (no
"automatic" setting). If you don't have DOS/Windows, you have to find
out the address... :-(

Then, in Linux configure the g_NCR5380 driver as follows (conf.modules here):

	options g_NCR5380 ncr_53c400=1 ncr_5380=0 ncr_addr=0x280 ncr_irq=255

My card obviously used address 0x280.
As long as I used Windows in parallel to Linux, I had severe Lockups
while inserting the driver too. Then, I found out, that the Windows
driver changed the address setting of the SCSI card every time it
started. After fixing this, the Linux driver did it's work. (Ugly thing.
Pure polled. Nearly no free CPU time while scanning on a 160MHz 486).

 -dirk

-- 
                    D i r k   F "o r s t e r l i n g                  
 dirk@informatik.uni-frankfurt.de   http://www.uni-frankfurt.de/~dirk
                              ----------
                        42 means: for tea, too. 

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