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

2007-12-16 Thread Gerard Klaver
On Sun, 2007-12-16 at 10:32 +0100, Peter Gebauer wrote: > Hi! > > > The v4l backend supports only a few modes so you have to select the correct > > ones to get a image. > > So it's the v4l settings that are wrong or the SANE settings? > > There's a couple of things I'd fix with the v4l backend

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

2007-12-16 Thread Peter Gebauer
Hi! > The v4l backend supports only a few modes so you have to select the correct > ones to get a image. So it's the v4l settings that are wrong or the SANE settings? There's a couple of things I'd fix with the v4l backend 1) Default (startup) mode must be valid and supported so a user can sa

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

2007-12-16 Thread m. allan noah
On 12/16/07, Peter Gebauer wrote: > Hi! > > > The v4l backend supports only a few modes so you have to select the correct > > ones to get a image. > > So it's the v4l settings that are wrong or the SANE settings? > > There's a couple of things I'd fix with the v4l backend > > 1) Default (startup)

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

2007-12-15 Thread Gerard Klaver
On Sat, 2007-12-15 at 07:59 -0500, m. allan noah wrote: > 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. > > allan > > On 12/15/07, Peter Geb

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

2007-12-15 Thread Peter Gebauer
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

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

2007-12-15 Thread m. allan noah
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. allan On 12/15/07, Peter Gebauer wrote: > Hello! > > When I call sane_start() it returns SANE_STA