problems with 1.0.3 and color scanning

From: Lawrence Glaister (lg@jfm.bc.ca)
Date: Wed Sep 20 2000 - 22:43:19 PDT

  • Next message: Paul Aschenborn: "Re: Problems with Mustek 1200 SP, mode color. WITH debug.log"

    I am trying to get sane 1.0.3 working with my snapscan 1212u usb scanner.
    The scanner works properly under 1.0.1 but fails in various ways under 1.0.2
    and 1.0.3 and the cvs code as of sept 19. I have narrowed the problem down
    to the snapscan-sources.c RGBRouter_remaining() function.
    - grayscale scanning works fine
    - color scanning a small image at 50dpi works
    - color scanning same image at 75dpi breaks xscanimage
    by broken, I mean that xscanimage enters into an infinite loop using 100%
    cpu time.
    the cause for this appears to be a negative result returned by
    RGBRouter_remaining(). There are two possible return values calulated in
    RGBRouter_remaining() and one of them always looks like the correct
    answer... the problem comes in that the conditional used doesn't seem to
    work in all cases (sometimes the wrong value is returned and when this
    is -ve, all hell breaks loose.). I have been getting a headache trying to
    decipher how the new RGBRouter code is supposed to work... could the author
    (pere) or someone have a look at the function and see if they see any
    obvious errors. I have not seen a lot of postings about 1.0.3, so the
    problem may be related only to the snapscan backend with a usb patch applied
    to it.
    I can supply some rather detailed dumps of the good scans and bad scans as I
    have added a lot of dbg calls into the snapscan code.

    Are there any snapscan scanners usb or scsi out there working with sane
    1.0.3???

    =======================================================
    Lawrence Glaister VE7IT email: lg@jfm.bc.ca
    1462 Madrona Drive http://jfm.bc.ca
    Nanoose Bay BC Canada
    V9P 9C9
    =======================================================

    --
    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 Sep 20 2000 - 22:40:02 PDT