The problem of xscanimage by CanoscanFB620S

From: Mitsuru Okaniw (m-okaniwa@bea.hi-ho.ne.jp)
Date: Tue Oct 03 2000 - 21:13:31 PDT

  • Next message: Collins, Martin: "Lineart with xsane/mustek (Was: Patch for sane.tex (image polarit y))"

    Hi,
    I'm trying to work xscanimage by CanoscanFB620S properly.
    The problem of xscanimage by CanoscanFB620S is that
    the scanimage made by FB620S is not a normal image.
    The image is the diagonal stripes against black.
    I tried to look up the debug-file and I thought that the cause of
    the diagonal stripes scanimage was a difference between
    number of 'bytes_per_line' and number of bytes of
    'sanei_scsi_req_wait'. I think the number of 'bytes_per_line' must be equal
    to the number of bytes of 'sanei_scsi_req_wait'.
    Is my thought wrong?
    Would anybody teach me the part of sane program which I change
    to fix the difference of 'bytes_per_line' and 'sanei_scsi_req_wait'
    if my thought is not wrong.
    Would anybody teach me the way of fix the difference.

    The problem parts of the debug-file are as follows.
    ---------------------------------------------------------
    [canon] sane_get_parameters: xres='75', yres='75', pixels_per_line='637',
    bytes_per_line='1911', <==== Look at this number !
    lines='876'
    [canon] << sane_get_parameters
    [dll] set_io_mode(handle=0x8099990,nonblocking=1)
    [canon] >> sane_set_io_mode
    [canon] << sane_set_io_mode
    [dll] read(handle=0x8099990,data=0xbfffcc1c,maxlen=8192,lenp=0xbfffcc18)
    [canon] >> sane_read
    [canon] >> read_data
    [sanei_scsi] scsi_req_enter: entered 0x8080e28
    [sanei_scsi] sanei_scsi_req_wait: waiting for 0x8080e28
    [sanei_scsi] sanei_scsi.issue: 0x8080e28
    [sanei_scsi] sanei_scsi_req_wait: read 8228 bytes <==== Look at this number
    !
    [canon] << read_data
    [canon] << sane_read
    [dll] read(handle=0x8099990,data=0xbfffcc1c,maxlen=8192,lenp=0xbfffcc18)

    regards,

    -----------------------------
    Mitsuru Okaniwa
    email : m-okaniwa@bea.hi-ho.ne.jp
    tel : (Japan)0566-26-6105
    -----------------------------

    --
    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 Oct 04 2000 - 01:35:34 PDT