you did not say which version of sane. there was a bug in scanimage that caused problems with some ADF scanners, which was fixed in sane 1.0.18.
allan On Tue, 9 Jan 2007 sciencisto-deb...@yahoo.es wrote: > Hi. > > I've got a Plustek OpticPro U12 scanner (it's a little old) running > under Debian "Etch". > > I have installed SANE and the scanner works fine with xsane, > xscanimage, kooka, quiteinsane,... but not with scanimage. > > When I try to do a multi-scan with scanimage like this: > > scanimage -p --batch-count 5 --bath-prompt (y some other options) > > it works fine with the firts scanned page, but after press RETURN for > the second page to be scanned, scanimage says: > > scanimage: sane_start: Device busy > > and then the scanner is switched off and scanimage ends without scan > anymore (the result is the same one if I don't use --batch-prompt, of > course). When I say "the scanner is switched off" I mean that the > only way to make any program (scanimage -L, xsane, etc., reports that > there is no scanner; but in fact sane-find-scanner can detect it!) > seeing it again is unplugging it from the current line (or the USB > port) and pluggin it again.) > > In the other hand, if I do multi-scan with any frontend (xsane, > quiteinsane, etc.), it works fine. Why, then, doesn't it work from > the command line using scanimage? (and what command do these programs > make use of to do a multi-scan?). It is strange, isn't it? > > Any idea? What can I do? What is wrong? > > Thanks in advance. > > > ps I have tried out with another scanner (an HP) and the previous > command: > > scanimage -p --batch-count 5 --bath-prompt (y some other options) > > works just like it's supposed to work (I mean, it scans five times). > > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam ?gratis! > Reg?strate ya - http://correo.yahoo.es > > -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera From j...@jon.demon.co.uk Wed Jan 10 09:55:18 2007 From: j...@jon.demon.co.uk (Jon Chambers) Date: Wed Jan 10 11:07:00 2007 Subject: [sane-devel] Medion MD90090 Scanner In-Reply-To: <200701092328.29243.stefan.leich...@camline.com> References: <45a02aaa.3010...@utanet.at> <200701090816.08322.gerh...@gjaeger.de> <200701092328.29243.stefan.leich...@camline.com> Message-ID: <200701100855.18155....@jon.demon.co.uk> Hi Stefan, Firstly I should say that although I have written a SANE backend it was for a network scanner (not USB) and so I don't have any great insights into the details of the required driver for your scanner. Also I didn't see earlier messages in this thread so apologies if I cover old ground. On Tuesday 09 January 2007 22:28, Stefan Leichter wrote: > [...] > I'm a newbe and i don't get paid for working on OSsoftware. Therefore i > like to do the stuff in an efficient way or leave it as it is. I don't like > to spend ages. Don't worry: we all started somewhere and I doubt that many SANE contributors (maybe none?) do so as part of their jobs. You can find information about the process of writing a SANE backend at http://www.sane-project.org/contrib.html Time and patience will certainly be required. > I have no idea if it is enough to switch on some sane logging and compare > the output wiith the logs from windows, or is there a need do disassemble > the scanner to get a knowledge of the electrical components. Will the > programmers manual of the ASIC be enough or are the schematics needed... If you were starting with no documentation at all then your steps would likely be: 1. Get scanner working under Windows 2. Use a USB snooping tool to obtain USB traffic between computer and scanner whilst performing a one or more scans on Windows. 3. Stare at the captured data and try to make sense of it. You might be able to get clues by comparing with the other backend source code. Also if you have queries about the interpretation of specific messages then posting those questions to sane-devel is more likely to receive answers than general inquiries. 4. Determine whether a new backend is required or whether modifying an existing one will suffice. 5. Do it :-) Good luck! cheers, Jon -- ====================== Jon Chambers ===================== http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669 =========================================================