scanimage infinite loop

From: Avi Schwartz (avi@CFFtechnologies.com)
Date: Sat Jul 22 2000 - 12:25:43 PDT

  • Next message: Henning Meier-Geinitz: "Re: scanimage infinite loop"

    Hi,

    I have two HP scanners:

    avi@seahorse:~ > scanimage --list-devices
    device `net:octopus:hp:/dev/sgb' is a Hewlett-Packard C5100A flatbed
    scanner
    device `net:octopus:hp:/dev/sgc' is a Hewlett-Packard C6270A flatbed
    scanner
    device `net:octopus:hp:/dev/photosmart' is a Hewlett-Packard C5100A
    flatbed scanner
    device `net:octopus:hp:/dev/scanner' is a Hewlett-Packard C6270A flatbed
    scanner

    avi@seahorse:~ > scanimage --version
    scanimage (sane) 1.0.2

    When I test the 6270 all is fine. When I test the 5100 (the original
    photosmart scanner), scanimage goes into an infinite loop trying to stop
    the scanner requiring a kill -9:

    avi@seahorse:~ > scanimage --test -d 'net:octopus:hp:/dev/photosmart'
    scanimage: scanning image of size 337x2700 pixels at 24 bits/pixel
    scanimage: acquiring RGB frame, 8 bits/sample
    scanimage: reading one scanline, 1011 bytes... PASS
    scanimage: reading one byte... PASS
    scanimage: stepped read, 2 bytes... PASS
    scanimage: stepped read, 4 bytes... PASS
    scanimage: stepped read, 8 bytes... PASS
    scanimage: stepped read, 16 bytes... PASS
    scanimage: stepped read, 32 bytes... PASS
    scanimage: stepped read, 64 bytes... PASS
    scanimage: stepped read, 128 bytes... PASS
    scanimage: stepped read, 256 bytes... PASS
    scanimage: stepped read, 512 bytes... PASS
    scanimage: stepped read, 1024 bytes... PASS
    scanimage: stepped read, 1023 bytes... PASS
    scanimage: stepped read, 511 bytes... PASS
    scanimage: stepped read, 255 bytes... PASS
    scanimage: stepped read, 127 bytes... PASS
    scanimage: stepped read, 63 bytes... PASS
    scanimage: stepped read, 31 bytes... PASS
    scanimage: stepped read, 15 bytes... PASS
    scanimage: stepped read, 7 bytes... PASS
    scanimage: stepped read, 3 bytes... PASS
    scanimage: stopping scanner...
    scanimage: stopping scanner...
    scanimage: stopping scanner...
    scanimage: stopping scanner...
    scanimage: stopping scanner...

    -- 
    Avi Schwartz               Get a Life
    avi@CFFtechnologies.com       Get Linux
    

    -- 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 : Sat Jul 22 2000 - 12:25:09 PDT