[sane-devel] aha152x with mustek scanner and SANE

Mike Nix mnix at wanm.com.au
Wed Oct 9 05:40:12 BST 2002


forgot to mention - Slackware 8.1, kernel 2.4.19, no modifications to the
SCSI subsystem.

----- Original Message -----
From: "Mike Nix" <mnix at wanm.com.au>
To: <sane-devel at www.mostang.com>
Sent: Wednesday, October 09, 2002 12:30 PM
Subject: [sane-devel] aha152x with mustek scanner and SANE


> Hi,
>
> I've been trying to get the aha152x driver working with an adaptec SCSI
card
> (aic-6360 based ISA card) and mustek MFS-12000-SP scanner with partial
> success.
>
> I have had the scanner working with a DTC card and the NCR driver, but as
it
> has no interrupts, and took the systems entire attention for 30 seconds to
> scan,  I needed to change the card.
>
> With the aha152x diver, the scanner is found & initialized and the scan
> commences - but about the time the first data is returned from the scanner
I
> get a NULL pointer exception.
>
> It is happening in aha152x.c about line 1523 :  (the line number is
> approximate, I have edited the file a bit)
> SCpnt->SCp.ptr = SG_ADDRESS(SCpnt->SCp.buffer);
>
> It is on the first call to internal_queue where SCpnt->use_sg is non-zero.
> The exception occurs because SCpnt->SCp.buffer->page is NULL
>
> This is 100% repeatable, and I added some code to return FAILED when the
> problem occurs - so I can run tests easily enough.
>
> I realize this is likely a SCSI driver problem, but imagine someone might
> have seen it before.
> Mike
> --
> WA Network Maintenance            I can tell a computer
> http://www.wanm.com.au            to do anything!
> PO Box 492,                       I just wish they'd
> Bridgetown 6255.                  listen to me!
> Phone: 04-1798-1973   Fax: 04-0929-1138
>
> DirecPC Linux  - direcpc.sourceforge.net
>
>
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
>
>




More information about the sane-devel mailing list