scanimage --help -d segmentation fault

From: Avi Schwartz (avi@CFFtechnologies.com)
Date: Sat Jul 22 2000 - 11:58:36 PDT

  • Next message: Avi Schwartz: "scanimage infinite loop"

    Hi,

    scanimage seg faults every time when using the --help -d options. I am
    attaching the output. If you need more information please let me know.

    Thanks,
    Avi

    avi@seahorse:~ > scanimage --version
    scanimage (sane) 1.0.2
    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 --help -d 'net:octopus:hp:/dev/sgb'
    Usage: scanimage [OPTION]...

    Start image acquisition on a scanner device and write PNM image data to
    standard output.

    -b, --batch=FORMAT working in batch mode
    -d, --device-name=DEVICE use a given scanner device
    -h, --help display this help message and exit
    -L, --list-devices show available scanner devices
    -T, --test test backend thoroughly
    -v, --verbose give even more status messages
    -V, --version print version information

    Options specific to device `net:octopus:hp:/dev/sgb':
      Scan Mode:
        --preview[=(yes|no)] [no]
            Request a preview-quality scan.
        --mode Lineart|Grayscale|Color [Color]
            Selects the scan mode (e.g., lineart,monochrome, or color).
        --resolution 300..2400dpi (in steps of 300) [300]
            Sets the resolution of the scanned image.
      Enhancement:
        --brightness -127..127 (in steps of 1) [0]
            Controls the brightness of the acquired image.
        --contrast -127..127 (in steps of 1) [0]
            Controls the contrast of the acquired image.
      Advanced Options:
        --custom-gamma[=(yes|no)] [no]
            Determines whether a builtin or a custom gamma-table should be
    used.
        --gamma-table 0..255,... (in steps of 1.52588e-05)
            Gamma-correction table. In color mode this option equally
    affects the
            red, green, and blue channels simultaneously (i.e., it is an
    intensity
            gamma table).
        --matrix-type Auto|NTSC RGB|Pass-through [NTSC RGB]
            Set the scanners color matrix.
        --matrix-rgb -1.98438..1.98438,... (in steps of 1.52588e-05)
            Custom color matrix.
        --speed Slow|Normal [Normal]
            Determines the speed at which the scan proceeds.
        --smoothing Auto|Off|2-pixel|4-pixel|8-pixel [Auto]
            Select smoothing filter.
        --media-type Print|Slide|Film-strip [Film-strip]
            Set type of media.
        --ps-exposure-time
    Default|125%|150%|175%|200%|225%|250%|275%|300%|Negative [Default]
            A longer exposure time lets the scanner collect more light.
    Suggested
            use is 175% for prints, 150% for normal slides and "Negatives"
    for
            negative film. For dark (underexposed) images you can increase
    this
            value.
        --depth 8|10 [8]
            Number of bits per sample, typical values are 1 for "line-art"
    and 8
            for multibit scans.
        --unload-after-scan[=(yes|no)] [no]
            Unloads the media after a scan.
    Segmentation fault
    avi@seahorse:~ > scanimage --help -d 'net:octopus:hp:/dev/sgc'
    Usage: scanimage [OPTION]...

    Start image acquisition on a scanner device and write PNM image data to
    standard output.

    -b, --batch=FORMAT working in batch mode
    -d, --device-name=DEVICE use a given scanner device
    -h, --help display this help message and exit
    -L, --list-devices show available scanner devices
    -T, --test test backend thoroughly
    -v, --verbose give even more status messages
    -V, --version print version information

    Options specific to device `net:octopus:hp:/dev/sgc':
      Scan Mode:
        --preview[=(yes|no)] [no]
            Request a preview-quality scan.
        --mode Lineart|Halftone|Grayscale|Color [Lineart]
            Selects the scan mode (e.g., lineart,monochrome, or color).
        --resolution 12..1600dpi (in steps of 1) [300]
            Sets the resolution of the scanned image.
      Enhancement:
        --brightness -127..127 (in steps of 1) [0]
            Controls the brightness of the acquired image.
        --contrast -127..127 (in steps of 1) [0]
            Controls the contrast of the acquired image.
        --auto-threshold[=(yes|no)] [no]
            Enable automatic determination of threshold for line-art scans.
      Advanced Options:
        --custom-gamma[=(yes|no)] [no]
            Determines whether a builtin or a custom gamma-table should be
    used.
        --gamma-table 0..255,... (in steps of 1.52588e-05)
            Gamma-correction table. In color mode this option equally
    affects the
            red, green, and blue channels simultaneously (i.e., it is an
    intensity
            gamma table).
        --matrix-type Auto|NTSC Gray|Red|Green|Blue [Auto]
            Set the scanners color matrix.
        --matrix-rgb -3.99219..3.99219,... (in steps of 1.52588e-05)
            Custom color matrix.
        --halftone-pattern Coarse|Fine|Bayer|Vertical|Horizontal|Custom
    [inactive]
            Defines the halftoning (dithering) pattern for scanning
    halftoned
            images.
        --speed Auto|Slow|Normal|Fast [Auto]
            Determines the speed at which the scan proceeds.
        --depth 1 [inactive]
            Number of bits per sample, typical values are 1 for "line-art"
    and 8
            for multibit scans.
        --source Normal|ADF|XPA [Normal]
            Selects the scan source (such as a document-feeder).
    Segmentation fault
    avi@seahorse:~ >

    -- 
    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 - 11:58:12 PDT