Re: Invalid argument

From: Claus Atzenbeck (claus.atzenbeck@nikocity.de)
Date: Fri Sep 29 2000 - 23:15:34 PDT

  • Next message: Oliver Rauch: "Format of "DEVICE" [was: Invalid argument]"

    On Sat, 30 Sep 2000, Nick Lamb wrote:

    > On Sat, Sep 30, 2000 at 01:59:36AM +0200, Jochen Eisinger wrote:
    > > #scanimage --device epson:/dev/usbcanner0

    This is not working either (same result):

    # scanimage --device epson:/dev/usbcanner0
    [epson] Unknown type R or level K, using B3
    scanimage: open of device epson:/dev/usbcanner0 failed: Invalid argument

    > (No particular criticism of the poster who started this thread is meant
    > or implied by my rant)

    Nice to hear that in advance.

    > When the invalid argument case occurs we should special case string[0]=='/'
    > and print an error message which asks the user to please READ THE
    > FUCKING MANUAL.

    I was reading several times the FAQ on
            http://www.xs4all.nl/~ljm/SANE-faq.html
    there seems to be nothing abuot an Invalid argument in there.

    > You seem to have specified a UNIX device name, or filename instead of
    > selecting the SANE scanner or image acquisition device you want to use.
    > As an example, you might want "epson:/dev/sg0" or "hp:/dev/usbscanner0"
    > If any supported devices are installed in your system, you should be
    > able to see a list with "scanimage --list"

    As I wrote in my first mail, I am able to see my scanner using
    scanimage:

    # scanimage --list
    [epson] Unknown type R or level K, using B3
    device `epson:/dev/usbscanner0' is a Epson Perfection610 flatbed scanner

    I don't have any clue about the "Unknown type R or level K" thing and
    if this migh be the reason.

    Claus.

    --
    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 : Fri Sep 29 2000 - 23:00:07 PDT