Re: Invalid argument

From: Timothy Little (tim@lilly-villa.little-possums.net)
Date: Sat Sep 30 2000 - 00:05:23 PDT

  • Next message: Jochen Eisinger: "Re: stupid questions (was: Invalid argument)"

    On Sat, Sep 30, 2000 at 08:15:34AM +0200, Claus Atzenbeck wrote:
    > 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

    "Invalid argument" is what scanimage says when almost anything goes
    wrong. It does it if the device file is missing, or already open, or
    the kernel driver is missing, or the scanner responds with something
    it shouldn't, or not at all.

    Strangely enough after all that, it also gives the same message if the
    argument is, in fact, invalid.

    In practice, the specific-sounding "Invalid argument" error message
    actually means 'something went wrong'.

    - Tim

    --
    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:47:57 PDT