[sane-devel] HP ScanJet 4p (SCSI ncr53c400a) Help !
Sun, 5 May 2002 23:20:20 +0200
On Sun, May 05, 2002 at 11:31:40PM +0400, Anastasija wrote:
> I've got the HP ScanJet 4p with SCSI card on SymbiosLogic ncr53c400a chip
> And I have a big trouble with it :(
I don't have HP scanners, but some Mustek scanners also use NCR53c400a
chips. I always use this line:
modprobe g_NCR5380 ncr_addr=0x280 ncr_53c400a=1
All my cards work with this configuration. I had one or two reports
that changing the address to something like 0x300 did it.
> And in /usr/src/linux/drivers/scsi/README.g_NCR5380 and g_NCR5380.c
> it's written that I should use
> modprobe ncr_53?400a=1
That means "start module in 53c400a mode". The module also supports
some different adapters.
> for my card or I can add parameters for irq or/and io.
> Also I can use irq=254 (autoprobe) or irq=255 (non irq).
I have never succeeded in configurations with IRQs. They don't seem
to work. Just ignore the irq parameter.
> # SCSI low-level drivers
> # CONFIG_SCSI_G_NCR5380_MEM is not set
I think that's ok.
> If I use the following line from README.g_NCR5380
> modprobe g_NCR5380 ncr_irq=255 ncr_addr=0xc8000 ncr_53c400=1
> or any other with ncr_53c400=1 and non-null adr/irq - the system hangs
> immediately without any message.
0xc8000 is not a port address (0-0xffff) but a memory address. Above
you mention that you enabeled port addresses and diabled memory access
in the kernel (which is ok as as far as I know).
> There is one jumper on the card (unlabeled). I tried to change it, but
> there wasn't any effect.
Maybe enable/disable IRQ?
> The pnpdump says "no cards found" with any jumper position.
At least at the time when the Mustek scanners with these cards were
sold, nobody even thought abount PNP.
Maybe you can also have a look at your BIOS, maybe the port 0x280 is
blocked by something else? Also try to move your card to a different