Re: MICROTEK2 failure : out of memory with kernel 2.4

From: abel deuring (a.deuring@satzbau-gmbh.de)
Date: Wed Jan 10 2001 - 14:14:39 PST

  • Next message: Oliver.Neukum@lrz.uni-muenchen.de: "Re: help - hp 5300c"

    Ralf wrote:
    >
    > Hallo all,
    > i have kernel 2.4 latest ,scanner : Microtek X6 USB and backend 1.0.4..
    > The driver of USB and Scanner are in the kernel.
    > It seems like a failure of SG-Module in the Kernel,it is newer and not compatible.
    >
    > If i start scanimage ( scanimage -d microtek2:/dev/sg1 ) with debug comes this :
    [...]
    > [microtek2] attach: device='/dev/sg1'
    > [microtek2] scsi_inquiry: mi=0x806bc14, device='/dev/sg1'
    > [microtek2] scsi_inquiry: 'Out of memory'
    > [microtek2] attach: 'Out of memory'
    > scanimage: open of device microtek2:/dev/sg1 failed: Out of memory
    > [microtek2] sane_exit:
    > [microtek2] sane_get_devices: local_only=0
    > [microtek2] sane_get_devices: sd_list_freed
    > [microtek2] sane_exit: MICROTEK2 says goodbye.
    >
    > What can i do now to get work this ?

    Ralf,

    try to set the environment variable SANE_SG_BUFFERSIZE to 32768. AFAIK,
    the USB/SCSI converter cannot handle larger buffer sizes.

    Abel

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



    This archive was generated by hypermail 2b29 : Wed Jan 10 2001 - 12:42:35 PST