Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 05-27-2004, 07:51 AM   #1
LQ Newbie
Registered: May 2003
Posts: 8

Rep: Reputation: 0
Solution: Installing Adaptec AVA-1502AP ISA SCSI card

I have spent the past few days tearing my hair out trying to install a Canon Canonscan 600 on Mandrake 10.

The problem was installing an ISA SCSI adaptor - Mandrake simply wouldn't auto-detect it. Being somewhat new to Linux, I am glad to report triumph and would like to now pass on what I have learnt in case others find themselves in a similar situation.

The SCSI card in question was an ADAPTEC 1502AP. It's set to run at 0x140 on IRQ 10 (Admittedly, I worked out this step from Windows hardware manager). From a google search, I determined it uses the 'AHA152x' driver for linux.

And here is what I had to do to get it working under Mandrake 10 Official:

Plug in your scanner into the SCSI card, turn it on then boot up the PC.

Enter system bios, go to 'Plug and Play settings' and set 'PNP OS Installed' to 'NO'. This will force the BIOS to configure the PNP settings.

Next, you should find a list of Interrupts, all of which are most probably set to 'PCI/PNP' or something similar. Find IRQ 10 and change it's setting to ISA.

Save your BIOS settings and boot into Mandrake.

Firstly a quick test to see if we can load the drivers. Start a shell session as root and enter:

> modprobe aha152x aha152x=0x140,10

With luck there should be a brief pause while the drivers load. To test if it is successful, enter:

> ls /proc/scsi

If all is well, you should see a directory called 'aha152x'. We'll now check if the scanner is detected:

> cat /proc/scsi/scsi

This should give an output similar to:

Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: CANON Model: IX-06015C Rev: 1.07
Type: Scanner ANSI SCSI revision: 02

Finally, we'll load the SCSI drivers at startup and save us having to manually enter the 'Modprobe' command every time we restart the PC:

Open '/etc/modprobe.preload' and add 'aha152x to the list. Eg:

# /etc/modprobe.preload: kernel modules to load at boot time.
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

You will also want to edit '/etc/modprobe.conf' and add the line 'options aha152x aha152x=0x140,10'. Eg:

alias eth0 8139too
options aha152x aha152x=0x140,10
install usb-interface /sbin/modprobe usb-uhci; /bin/true

Reboot the PC, login as root and enter 'cat /proc/scsi/scsi' and the scanner information should appear!

Configuring the scanner itself was an effortless task, simply follow the scanner wizard in the DrakX Control Panel (you might need to start the Saned service manually). My scanner which used to be tied to an MS box is now happily shared out across my LAN.

As mentioned earlier, I'm pretty new to Linux so am not sure if I'm describing commonly known knowledge. My apologies if I am.

I do have to give a big kudos to Matt Marjanovic's article, The Microtek, AVA-1502 and Linux. The site is currently down but a google cache is available at .


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Installing Fedora Core 4 with Adaptec Scsi Card carscombe Linux - Newbie 6 11-01-2005 04:56 AM
New Adaptec scsi card--help!! mitchmiller Linux - Hardware 9 03-28-2004 11:13 AM
howto detect adaptec scsi card? abd_bela Debian 1 11-03-2003 01:35 AM
Adaptec SCSI card 39160 problem paranoia1980 Linux - Hardware 0 08-13-2003 04:08 PM
Adaptec AVA 1505 (again) and SCSI performance Vlad_M Linux - Hardware 2 09-30-2002 10:56 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration