Re: no SG__BIG_BUF in kernel 2.2.12

Kevin Charter (charter@cs.ualberta.ca)
Fri, 26 Nov 1999 09:25:06 -0700 (MST)

Hi Joakim,

> stock rh61 kernel, 2.2.12-20
> adaptec 1505 scsi card(aha 152x driver)
> dual celeron machine
>
> sane-devel-19991119
> snapscan backend 0.7
>
> everything WAS working before i did a lot of upgrades of everything.
> before i was running rh52, sane 1.0, backend 0.7(i think)
> and it was a single amd k6-2 cpu.
>
> AND i tested a simmilar configuration with my laptop running the same
> linux stuff,
> but with an adaptec pcmcia card. results are the same.

OK, so it did work on your old system, and on your laptop with previous
software. Hmm.

I've got two immediate suggestions:

1. since you have a SnapScan 300, you could try using the experimental
1.0 version of the backend available on my web page. I'm using this
version with SANE 1.0.1 and kernel 2.2.10 (I think) and it works
fine.

You might want to revert to SANE-1.0.1 or even SANE-1.0 from the
development snapshot. It could be that something in the snapshot
is not fully tested, and this is part of the problem.

2. If I remember correctly, Wolfgang Goeller was saying on the mailing
list that there are some parameters that you have to give the
aha 152x driver to get it to work properly with the 1505 scsi
card. Are you setting these parameters? (His message was about
a week or ten days ago, and should be in the list archives)

> when i used sane-1.0.1, i could get nothing out of the scanner, with
> sane-devel-19991119 i can do previews fine, but not scan entire images.
> this is why i thought SG_BIGBUF would solve it, since small scans work.

OK.

> the thing is very mysterious, other people seem to use the same config
> as I and gets it working.

Yes, you should be able to get a SnapScan 300 working just fine. (At
least mine works fine, and with a similar scsi card).

Let me know if any of this works.

Kevin

-- 
Kevin Charter              
charter@cs.rice.edu | charter@cs.ualberta.ca
http://www.cs.rice.edu/~charter | http://www.cs.ualberta.ca/~charter

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