[sane-devel] Invalid argument (status 4) when calling sane_start

m. allan noah kitno455 at gmail.com
Sat Dec 15 12:59:52 UTC 2007

The sane v4l support is probably broken, as that code is unmaintained.
you could enable debugging info for it, but then you would have to
start fixing the backend. better to get a supported scanner.


On 12/15/07, Peter Gebauer <petgeb at users.sourceforge.net> wrote:
> Hello!
> When I call sane_start() it returns SANE_STATUS_INVAL (4). This happens both
> when I use the API and the scanimage binary.
> scanimage -L reveals:
> device `v4l:/dev/video0' is a Noname Logitech QuickCam Pro 4000 virtual device
> I don't have anything else to test with, but I pressume grabbing an image
> from a v4l device works since SANE does find it as a device to begin with.
> Or is there some flag I can check to see whether or not this device is
> actualy supported by SANE?
> This is what the documentation says
>  "The scan cannot be started with the current set of options. The frontend
> should reload the option descriptors, as if SANE_INFO_RELOAD_OPTIONS had
> been returned from a call to sane_control_option(), since the device's
> capabilities may have changed."
> I have made no changes to the options and the option descriptor was loaded
> just moments before. Also, the options are totally irrelevant to me, just
> grab the image already! How can I solve this problem?
> /Peter
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org

"The truth is an offense, but not a sin"

More information about the sane-devel mailing list