[sane-devel] Fail to detect the SCSI card

Klaus Dahlke klaus.dahlke@gmx.de
Sun, 21 Nov 2004 22:38:09 +0100


On Mon, 22 Nov 2004 01:18:29 +0800 (CST)
Stephen Liu <satimis@yahoo.com> wrote:

> Hi folks,
> 
> I have been trying hours failing to make following
> scanner to work again.  Previously It worked on RedHat
> 8 on this box
> 
> Alfa SnapScan 310 connected to a ISA SCSI card
> FedoraCore2
> =================
> 
> This box has another removable hard drive running
> WinME.  This scanner is still working on WinME
> 
> 
>
> # find / -name aha152x/
> /lib/modules/2.6.5-1.358/build/include/config/pcmcia/aha152x
> /lib/modules/2.6.5-1.358/build/include/config/scsi/aha152x
> /lib/modules/2.6.8-1.521/build/include/config/pcmcia/aha152x
> /lib/modules/2.6.8-1.521/build/include/config/scsi/aha152x
> 17)insmod aha152x aha152x=0x140,9
> 

Stephen,
you need to configure the kernel or at least the module to get build. You need something like aha152x.ko in 
'/lib/modules/2.6.8-gentoo-r4/kernel/drivers/scsi' directory. 

If it is an ISA card, make sure you switched on ISA support in the kernel.

> 
> # /sbin/insmod aha152x aha152x=0x140,9,7,0
> insmod: can't read 'aha152x': No such file or
> directory

As before: the kernel module hasn't been build or is not include in the kernel. Ckeck your kernel config, (re-)compile and it should work. Have alook at the special documentation /usr/src/KERNEL/Documentation/scsi/aha152x.txt.

Cheers,
Klaus