[sane-devel] scanimage: sane_start: Out of memory

Henning Meier-Geinitz henning@meier-geinitz.de
Sat, 1 Feb 2003 11:33:26 +0100


Hi,

On Fri, Jan 31, 2003 at 01:22:25PM +0100, Patrick Begou wrote:
> When I'm trying scanimage I have the folowing error message:
> 
> $ scanimage --device avision:/dev/scanner >toto.pnm
> scanimage: sane_start: Out of memory
> 
> My config:
> -> HP Scanjet 5370C USB

The scanner is detected by sane-find-scanner? The hpusbscsi kernel
module is loaded? Permissions for /dev/sg0 (or whatever device you
use) are set up correctly? /dev/scanner does point to that device?

> I saw in the archives something with SANE_SG_BUFFERSIZE but I have no
> /proc/sys/kernel/sg-big-buff file and my scanner is USB (not SCSI).

The scanner is SCSI-over-USB, that means, it uses the SCSI protocoll
internally. So it should show up as a SCSI scanner with
sane-find-scanner.

If it's detected by sane-find-scanner correctly, try setting the debug
varaibaled: export SANE_DEBUG_AVISION=255. Maybe you can find out
about the source of the problem.

Bye,
  Henning