List Info

Thread: UMax Powerlook 2100XL under OpenBSD




UMax Powerlook 2100XL under OpenBSD
user name
2006-05-31 15:16:36
I'm back with another UMax.  I seem to be having a problem
with the scsi buffer
size setting.  If I increase it from the default 32768 by
even a small amount,
I get an out of memory error immediately on starting to
preview.

Using the default of 32768 I can preview and scan in line
art and gray scale
modes, and scan small areas in RGB by skipping the preview
or using scanimage. 
If I try to preview in RGB mode I get an out of memory error
after the scanner
has done its initial positioning or calibration.  That's
very different from
the timing of what happens if I increase the minimum and it
dies as soon as I
click the Preview button.

I'm wondering if it's because the backend is having
trouble allocating memory
under OpenBSD.  I've never done any programming under
Linux, but OpenBSD (and
FreeBSD) use malloc(), and I don't usually have trouble
getting memory.  Or
isn't this just a simple matter of allocating memory?

The box has 512 megs of RAM.  SCSI card is an Adaptec 2940u.
 What tests should
I try or what changes should I make?  Actually for this
application I'm
planning to use it in gray scale mode anyway, but it would
be nice to have RGB
working.

Thanks,

  Alan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 

-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
UMax Powerlook 2100XL under OpenBSD
user name
2006-05-31 20:13:52
can you get a debug log of a small area scanimage run, and
put it up on 
the web somewhere? post a link to it on this list.

allan

On Wed, 31 May 2006, Alan Corey wrote:

> I'm back with another UMax.  I seem to be having a
problem with the scsi buffer
> size setting.  If I increase it from the default 32768
by even a small amount,
> I get an out of memory error immediately on starting to
preview.
>
> Using the default of 32768 I can preview and scan in
line art and gray scale
> modes, and scan small areas in RGB by skipping the
preview or using scanimage.
> If I try to preview in RGB mode I get an out of memory
error after the scanner
> has done its initial positioning or calibration. 
That's very different from
> the timing of what happens if I increase the minimum
and it dies as soon as I
> click the Preview button.
>
> I'm wondering if it's because the backend is having
trouble allocating memory
> under OpenBSD.  I've never done any programming under
Linux, but OpenBSD (and
> FreeBSD) use malloc(), and I don't usually have
trouble getting memory.  Or
> isn't this just a simple matter of allocating memory?
>
> The box has 512 megs of RAM.  SCSI card is an Adaptec
2940u.  What tests should
> I try or what changes should I make?  Actually for this
application I'm
> planning to use it in gray scale mode anyway, but it
would be nice to have RGB
> working.
>
> Thanks,
>
>  Alan
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
protection around
> http://mail.yahoo.com
>
>

-- 
"so don't tell us it can't be done, putting down
what you don't know.
money isn't our god, integrity will free our souls" -
Max Cavalera

-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )