# Re: snapscan and aic7xxx driver don't work together

From: DStevenson (tech@dgssoftware.co.uk)
Date: Wed Jun 27 2001 - 16:38:31 PDT

- Next message: John Coppens: "Re: Small bug in XSane"
  - Previous message: Simon Schulz: "HP ScanJet 3300C"
  - In reply to: Timothy Reaves: "Re: snapscan and aic7xxx driver don't work together"
  - Next in thread: Oliver Rauch: "Re: snapscan and aic7xxx driver don't work together"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  On Wednesday 27 June 2001 08:51, Timothy Reaves wrote:
  > Ben Stanley wrote:
  > > Steffen Kluge wrote:
  > >>On Wed, Jun 27, 2001 at 11:53:46AM +1000, Ben Stanley wrote:
  > >>>Unfortunately, the aic7xxx_old driver is no longer supported, so I hope
  > >>> the aic7xxx driver is fixed soon. I'll email the author.
  > >>
  > >>I thought the author was Adaptec, sort of. Wasn't that the reason
  > >>to phase out the old driver?
  > >
  > > In the course of trying to solve the problem, I did a bit of reading
  > > around... this message was the one that gave me an idea on how to fix it.
  > >
  > > http://uwsg.iu.edu/hypermail/linux/kernel/0104.1/0202.html
  > >
  > > The maintainer of the adaptec scsi driver is Justin Gibbs, who actually
  > > started writing the drivers for BSD, then handed the project over to Doug
  > > Ledford. Justin was recently employed by Adaptec to take the drivers back
  > > and re-write them. So it seems that Adaptec wants to support these
  > > drivers.
  > >
  > > http://opensource.adaptec.com
  > >
  > > I emailed Justin about the problems but so far I haven't heard back. I
  > > should probably mail to the linux kernel mailing list.
  > >
  > > Ben.
  >
  > I've been having great problems with the new aic drivers in the 2.4.x
  > kernel and my scanner. This particular scanner is a Polariod SprintScan
  > 35+ which sane does not support. I use vuescan with it (and sane for my
  > HP IIIc).
  >
  > In contacting the aic mailing list, they insist that the problems I have
  > are related to my software. The author of the software took debugging
  > logs of the old driver, and the new driver, and gave me a report of the
  > differences. When I presented this to the aic mailing list, they didn't
  > give it any attention.
  >
  > So my point is this: the old driver works (I can still boot 2.2.18 and
  > use my scaner), but the new driver seems to have some real problems.
  >
  >
  > --
  > Source code, list archive, and docs: http://www.mostang.com/sane/
  > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  Hi,

  I have just rmoved the aic7xxx and inserted the aic7xxx_old driver. I also
  have the SC driver installed. All is now working fine and results are
  repeatable.

  What I have done:

  Downloaded the latest SG driver and un-tar into kernel tree.
  make modules modules_install
  reboot

  now when i boot, as root,

  modprobe scsi_hostadapter
  lsmod

  Module Size Used by
  aic7xxx_old 114800 0 (unused)
  parport_pc 23024 1 (autoclean)
  lp 5296 0 (autoclean)
  parport 24576 1 (autoclean) [parport_pc lp]
  sb 7136 0 (unused)
  sb_lib 33120 0 [sb]
  uart401 6224 0 [sb_lib]
  sound 54256 0 [sb_lib uart401]
  soundcore 3504 4 [sb_lib sound]
  8139too 11696 1 (autoclean)
  supermount 32464 4 (autoclean)
  sd_mod 11048 0 (unused)
  scsi_mod 86036 2 [aic7xxx_old sd_mod]

  rmmod aic7xxx
  insmod aic7xxx_old
  scanimage -T --mode color ( finished OK)
  lsmod

  Module Size Used by
  sg 25328 1 (autoclean)
  aic7xxx_old 114800 1
  parport_pc 23024 1 (autoclean)
  lp 5296 0 (autoclean)
  parport 24576 1 (autoclean) [parport_pc lp]
  sb 7136 0 (unused)
  sb_lib 33120 0 [sb]
  uart401 6224 0 [sb_lib]
  sound 54256 0 [sb_lib uart401]
  soundcore 3504 4 [sb_lib sound]
  8139too 11696 1 (autoclean)
  supermount 32464 4 (autoclean)
  sd_mod 11048 0 (unused)
  scsi_mod 86036 3 [sg aic7xxx_old sd_mod]

  I don't know how to do this automatically on boot, but I edited the
  /etc/modules.conf by chaning the aic7xxx entry to aic7xxx_old and the box
  decided not to get past the 'detecting new hardware' prompt. I had to edit
  the file back again for the box to boot OK.

  Maybe someone could explain what to do?

  I hope this email may help someone else who has the problems I have had and
  thanks to all who made suggestions.

  David.

      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: John Coppens: "Re: Small bug in XSane"
  - Previous message: Simon Schulz: "HP ScanJet 3300C"
  - In reply to: Timothy Reaves: "Re: snapscan and aic7xxx driver don't work together"
  - Next in thread: Oliver Rauch: "Re: snapscan and aic7xxx driver don't work together"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Wed Jun 27 2001 - 11:37:43 PDT