[sane-devel] FI-5750C Error 4?

2007-06-26 Thread Oliver Schirrmeister
Am Dienstag, 26. Juni 2007 11:15 schrieb Simon Glass: > Hi, > > Now that I am able to build SANE (thanks Alan, but no I have no idea > about libtool) I have the FI-5750C working. It's a wonder to behold. > However, I am puzzled by an error that I get. It seems that if I try to > scan a page larger

[sane-devel] problems with Fujitsu M3093DG with USB/SCSI

2005-10-17 Thread Oliver Schirrmeister
0 00 00 00 00 > >[fujitsu] 020: 00 00 27 d7 00 00 36 cf 00 00 00 02 08 00 00 00 > >[fujitsu] 030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >[fujitsu] 040: 00 a0 20 00 00 00 00 84 00 00 00 00 00 00 00 00 > >[fujitsu] 050: 00 00 > >[fujitsu] sanei_scsi_cmd: returning 0 bytes: > >[fujitsu] set_window_param: ok > >[fujitsu] calculateDerivedValues > >[fujitsu]top_margin: 0 > >[fujitsu]left_margin: 0 > >[fujitsu]scan_width: 10199 > >[fujitsu]scan_height: 14031 > >[fujitsu] calculateDerivedValues: ok > >[fujitsu]bytes per line = 2549 > >[fujitsu]pixels_per_line = 2549 > >[fujitsu]lines = 3507 > >[fujitsu]brightness (halftone) = 0 > >[fujitsu]threshold (line art) = 0 > >[fujitsu] start_scan > >[fujitsu] start_scan > >[fujitsu] 000: 1b 00 00 00 01 00 00 > >[fujitsu] >[fujitsu] 000: 1b 00 00 00 01 00 00 > >[fujitsu] sanei_scsi_cmd: returning 0 bytes: > >[fujitsu] start_scan:ok > >[fujitsu] reader_process started > >[fujitsu] reader_process: starting to READ data > >[fujitsu] read_large_data_block requested 30588 bytes > >[fujitsu] >[fujitsu] 000: 28 00 00 00 00 00 00 77 7c 00 > >[fujitsu] sane_start: ok > >[fujitsu] sane_get_parameters > >[fujitsu] calculateDerivedValues > >[fujitsu]top_margin: 0 > >[fujitsu]left_margin: 0 > >[fujitsu]scan_width: 10199 > >[fujitsu]scan_height: 14031 > >[fujitsu] calculateDerivedValues: ok > >[fujitsu]depth 8 > >[fujitsu]lines 3507 > >[fujitsu]pixels_per_line 2549 > >[fujitsu]bytes_per_line 2549 > >[fujitsu] sane_read, object_count=1 > >[fujitsu]0/0/0: Scanner ready > >[fujitsu] sanei_scsi_cmd: returning 0x0005 > >[fujitsu] sanei_scsi_cmd: returning 30588 bytes: > >[fujitsu] >rslt> > >[fujitsu] 000: 00 00 00 00 00 00 00 40 00 00 01 2c 01 2c 00 00 > >[fujitsu] 010: 00 00 00 00 00 00 00 00 27 d7 00 00 36 cf 00 00 > >[fujitsu] 020: 00 02 08 00 00 00 00 00 00 00 00 00 00 00 00 00 > >[fujitsu] 030: 00 00 00 00 00 00 00 a0 20 00 00 00 00 84 00 00 > >[fujitsu] 040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >[fujitsu] 050: 00 00 ff ff ff 00 48 38 ff 60 e0 00 00 00 00 00 > >[fujitsu] reader_process: EOM (no more data) length = 30588 > >[fujitsu] sane_read: read 28672 bytes of 32768 > >[fujitsu] sane_read, object_count=1 > >[fujitsu] sane_read: read 1916 bytes of 32768 > >[fujitsu] sane_read, object_count=1 > >[fujitsu] reader_process(generic): buffer of 0 bytes read; 0 bytes to go > >[fujitsu] sane_read: read 0 bytes of 32768 > >[fujitsu] sane_read: pipe closed > >[fujitsu] sane_cancel > >[fujitsu] do_cancel > >[fujitsu] do_cancel: kill reader_process > >[fujitsu] wait for scanner to stop > >[fujitsu] free_scanner > >[fujitsu] release_unit > >[fujitsu] 000: 17 00 00 00 00 00 > >[fujitsu] >[fujitsu] 000: 17 00 00 00 00 00 > >[fujitsu] sanei_scsi_cmd: returning 0 bytes: > >[fujitsu] free_scanner: ok > >[fujitsu] do_cancel: close filedescriptor > >[fujitsu] sane_close > >[fujitsu] sane_exit -- Mit freundlichen Gr??en Oliver Schirrmeister -- AB+M GmbH Haid-und-Neu-Str. 7 76131 Karlsruhe Tel: 0721/66488-13 Fax: 0721/66488-18

[sane-devel] Anybody has any idea about the duplex scan problem of fi-4120c

2005-05-17 Thread Oliver Schirrmeister
Am Samstag, 14. Mai 2005 17:22 schrieb qian hui: > hi, > I tried to do a duplex scan with a fujitsu fi-4120c > and USB interface ( the source code is 2004-08-24 > version). It can not correctly scan with the duplex > mode of "both"(paper are half locked in the machine). > When set duplex mode to "b

[sane-devel] Fujitsu backend questions

2004-11-15 Thread Oliver Schirrmeister
Am Montag, 15. November 2004 17:53 schrieb Mattias Kregert: > Hello list, > > I have some questions about my fujitsu FI-4120C... (using the fujitsu > backend): > > - The scanner lamp is always on. From what I have heard, that is a Bad > Thing because it will shorten the lamp's lifetime... If this i

[sane-devel] SCSI sniffer

2004-11-04 Thread Oliver Schirrmeister
Hi all, I'd like to know what the windows twain driver sends to my SCSI-scanner. I remember there was a posting about several SCSI sniffers several month ago, but I can't find it in the archive. Could somebody give me a hint, please. Thanks Oliver

[sane-devel] memory problem

2004-08-26 Thread Oliver Schirrmeister
Am Donnerstag 26 August 2004 10:12 schrieb Gerhard Jaeger: > [SNIPSNAP] > > I've linked the sane backends statically with the 'frontend'. The problem > > is the same. The pthread lib is linked dynamically. > > I've tried valgrind. That revealed only two 'real' memory leaks in some > > init-routines

[sane-devel] memory problem

2004-08-26 Thread Oliver Schirrmeister
ry leaks in some init-routines of sanei_usb, the test backend and the pthread library, nothing severe. Under control of valgrind the vm-size doesn't increase !?! Ciao Oliver > Ciao, > Gerhard > > On Wednesday 25 August 2004 17:49, Oliver Schirrmeister wrote: > > Hi, >

[sane-devel] memory problem

2004-08-25 Thread Oliver Schirrmeister
Hi, I'm trying to find a memory leak in the fujitsu backend. When I do a duplex scan (for example with scanadf) the vm-size of the process increases aproximatly the size of one image (for example ~4MB for DIN-A5-gray and ~8MB for DIN-A4-gray at 300dpi). So all 250 sheets when the process reaches

[sane-devel] CVS access ?

2004-08-25 Thread Oliver Schirrmeister
Hi, can anybody write to the CVS now? I'm able to checkout the sane sources with anonymous login, but I can't use my account/passwd (permission denied). I'm able to login with my account/passwd at the alioth homepage (https://alioth.debian.org/). Any ideas? Oliver

[sane-devel] how to compile scanadf

2004-08-24 Thread Oliver Schirrmeister
Hello, I have a directory where I've loaded the sane-sources from CVS (./sane/). In that directory are the directories sane-backends and sane-frontends. I'm able to run scanadf (/sane/sane-backends/frontends) Now I'd like to run scanadf with my backend in the sane-backends directory. I di

[sane-devel] Fujitsu papersize problems, sane-backends-1.0.14

2004-06-03 Thread Oliver Schirrmeister
Am Donnerstag 03 Juni 2004 16:36 schrieb Lee Howard: > > > I am having trouble when using the --papersize options other than > > > A4/Letter. > > > > > > If I do: > > > > > > scanimage --source ADF --papersize Autodetect > > > > > > or: > > > > > > scanadf --source ADF --papersize Autodetect > > >

[sane-devel] Fi-4120c duplex color

2004-06-02 Thread Oliver Schirrmeister
Am Freitag 30 April 2004 16:44 schrieb Krzysztof Cieniuch: > Hi, > > Is it possible to scan duplex in color with this scanner ? > I've tried scanadf --rif=yes --duplex=both --resoluton=72 -d > fujitsu:/dev/sg0 > but i've ended up with one properly scaned image and one > totally black. Is this featu

[sane-devel] Fi-4120c duplex color

2004-04-30 Thread Oliver Schirrmeister
Am Freitag 30 April 2004 18:18 schrieb Oliver Schirrmeister: > Am Freitag 30 April 2004 16:44 schrieb Krzysztof Cieniuch: > > Hi, > > > > Is it possible to scan duplex in color with this scanner ? > > I've tried scanadf --rif=yes --duplex=both --resoluton=72 -d &

[sane-devel] Fi-4120c duplex color

2004-04-30 Thread Oliver Schirrmeister
Am Freitag 30 April 2004 16:44 schrieb Krzysztof Cieniuch: > Hi, > > Is it possible to scan duplex in color with this scanner ? > I've tried scanadf --rif=yes --duplex=both --resoluton=72 -d > fujitsu:/dev/sg0 > but i've ended up with one properly scaned image and one > totally black. Is this featu

[sane-devel] fujitsu duplex scan with usb

2004-04-06 Thread Oliver Schirrmeister
Thanks, I think the status of the fujitsu scanners with USB interface should not be reported 'good'. Oliver Am Montag 05 April 2004 22:23 schrieb m. allan noah: > so, i tracked it down using usb snoopy in windows. the problem is simple > to explain, but harder to fix: > > most scsi commands that

[sane-devel] fujitsu duplex scan with usb

2004-03-26 Thread Oliver Schirrmeister
Hi, has anybody tried to do a duplex scan with a fujitsu fi-4x20 and USB interface? I've tried scanimage --duplex both >/tmp/out and the scanner returns and error in the start_scan command block. I can't see what's wrong. The same block with SCSI works fine. Siplex scanning with USB works as wel

[sane-devel] how to return paper size

2004-02-24 Thread Oliver Schirrmeister
Hi, when I use the document feeder my scanner can tell me the paper size (e.g. A4, ...) How do I return this information with sane? Oliver

[sane-devel] SANE support for Ricoh is410

2004-02-16 Thread Oliver Schirrmeister
Am Donnerstag 12 Februar 2004 22:02 schrieb John Lei: > To whom it may concern, > > I have an old Ricoh is410 SCSI scanner that I was hoping to be > able > to pull out of our graveyard. I've hooked it up to a PowerMac G4 > running OS X.2.8 using a Grappler 906F (current firmware) and

[sane-devel] has feeder loaded

2003-12-16 Thread Oliver Schirrmeister
could be sort of ugly. > > i can think of a few things that the fujitsu scanners tell us: > > button1 pressed > button2 pressed > character on 'function' readout > number on 'copy' wheel > paper in hopper > cover open > lamp warm > > is there a gen

[sane-devel] has feeder loaded

2003-12-16 Thread Oliver Schirrmeister
is there a function in sane to ask if the document feeder is loaded (like the 'has feeder loaded' option in TWAIN)? Thanks Oliver

[sane-devel] Fujitsu M3093GD

2003-11-06 Thread Oliver Schirrmeister
Am Mit, 2003-11-05 um 21.40 schrieb m. allan noah: > On 5 Nov 2003, Andi McLean wrote: > > > Hi, > > > > I'm using > > red-hat 8.0 > > sane-backends 1.0.12 > > scanimage 1.0.12 > > and a M3093GD > > > > Scanning the front of the document works perfectly but if I try to scan > > the back page I

[sane-devel] Why is the background of the scanned image not a constant grayscale

2003-05-14 Thread Oliver Schirrmeister
Am Mit, 2003-05-14 um 02.37 schrieb Peter Chen: > Hi, > > I found an option named 'paper_size' for fujitsu fi-4120c. Does this matter? This option spezifies the size of the paper in the adf, for exaple A4, A5 ... This has nothing to do with your gray background. Oliver

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-25 Thread Oliver Schirrmeister
Use the strings 'Lineart', 'Halftone', 'Gray' or 'Color' to set option scan_mode. As far as I can see, value=3 does not work. Which function returned SANE_STATUS_INVAL? sane_control_option with option SANE_NAME_SCAN_MODE? That should only happen when you try to set mode 'Halftone'. Oliver Am Don

[sane-devel] Fujitsu fi-4120Cdj errors (repeat)

2003-03-26 Thread Oliver Schirrmeister
set_WD_paper_width_X/Y spezifies the size of your sheet of paper. You also have to define the scan area (option -x -y). The height of your scan area is 0x24e8/1200 inch = 20cm (see window descriptor block). Oliver Am Mit, 2003-03-26 um 15.34 schrieb m. allan noah: > update: i hard-set the gamma b

[sane-devel] Fujitsu fi-4210Cdj errors (repeat)

2003-03-26 Thread Oliver Schirrmeister
Am Mit, 2003-03-26 um 14.33 schrieb m. allan noah: Re: [sane-devel] Fujitsu fi-4120Cdj errors (repeat)> just got a Fujitsu fi-4120C scanner. was previously using an M3091DCd. i > am running latest cvs snapshot. i use the scsi port, not usb. i get the > following error: > > [fujitsu] Window set

[sane-devel] Re: Fujitsu USB patches

2003-03-14 Thread Oliver Schirrmeister
Your patch is in the CVS now. I had to do your patch by hand because I've changed the backend after March 3. I hope I didn't mess up your code. Please test. Oliver Am Die, 2003-03-11 um 22.26 schrieb Ron Cemer: > The attached patch fixes the broken "ADF empty" detection on the Fujitsu > scanne

[sane-devel] lost with FUJITSU scanner M3096G

2003-03-10 Thread Oliver Schirrmeister
Am Sam, 2003-03-08 um 23.15 schrieb Frank Zago: > > > > > I've tried it with RedHat 8.0 linux. The sense bytes 16 and 17 really > > point to the offending byte (I've tried to set a invalid resolution > > an others). There is a 8 byte window header you can't > > see in the hexdump above. The off

[sane-devel] lost with FUJITSU scanner M3096G

2003-03-07 Thread Oliver Schirrmeister
Am Fre, 2003-03-07 um 17.12 schrieb Frank Zago: > abel deuring wrote: > > Frank Zago wrote: > > > >>>[fujitsu] set_window_param > >>>[fujitsu] Window set > >>>[fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00 > >>>[fujitsu] 016: 03 b0 00 00 05 89 00 00 00 02 08 00 00 00 00 00 > >>>[fu

[sane-devel] lost with FUJITSU scanner M3096G

2003-03-07 Thread Oliver Schirrmeister
Am Fre, 2003-03-07 um 17.12 schrieb Frank Zago: > abel deuring wrote: > > Frank Zago wrote: > > > >>>[fujitsu] set_window_param > >>>[fujitsu] Window set > >>>[fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00 > >>>[fujitsu] 016: 03 b0 00 00 05 89 00 00 00 02 08 00 00 00 00 00 > >>>[fu

[sane-devel] lost with FUJITSU scanner M3096G

2003-03-07 Thread Oliver Schirrmeister
Hi, the window parameter block looks ok. You are scanning with 300 dpi (ok), the width and height of your scanarea is 30x20mm (a small area but as far as I know it's allowed. You can try to set a larger area for example -y 297 -x 210). You are scanning grayscale. I have a M3097G with an old ROM-ve

[sane-devel] How to scan monorome with fujitsu 3091DC.

2003-02-20 Thread Oliver Schirrmeister
; > Thanks for the response but I never was able to find a file called > fujitsu.c ( or even anything similar) to edit. Does anyone have any > other suggestions? > > Thanks, > > Richard > > Oliver Schirrmeister wrote: > > >Am Don, 2002-12-19 um 18.03 schrie

[sane-devel] How to scan monorome with fujitsu 3091DC.

2002-12-20 Thread Oliver Schirrmeister
Am Fre, 2002-12-20 um 18.06 schrieb Dave Close: > Oliver Schirrmeister wrote: > >Halftone does not work with the 3091 because the driver doesn't > >implement it. > > I'm sure your facts are correct. But the original poster said that > scanimage -h returned ha

[sane-devel] How to scan monorome with fujitsu 3091DC.

2002-12-20 Thread Oliver Schirrmeister
Am Don, 2002-12-19 um 18.03 schrieb Richard Reina: > Does anyone know how I can get my fujitsu 3091DC to scan monochrome > (simple black & white)? My choice of modes that are listed in scanimage > --help --device are: Gray, Lineart, Halftone and Color. I'm not sure > what Halftone is but it d

[sane-devel] SANE2 standard proposal

2002-11-12 Thread Oliver Schirrmeister
Am Die, 2002-11-12 um 11.33 schrieb Henning Meier-Geinitz: > Hi, > > On Mon, Nov 11, 2002 at 11:12:30AM +0100, Oliver Schirrmeister wrote: > > some scanners support hardware compression, for example jpeg or > > CCITT FAX3. > > I think there should be a well know

[sane-devel] SANE2 standard proposal

2002-11-11 Thread Oliver Schirrmeister
Hi, some scanners support hardware compression, for example jpeg or CCITT FAX3. I think there should be a well known option 'compression' with values 'fax3', 'fax4', 'jpeg', others? Oliver

[sane-devel] how to detect the scan_source

2002-11-11 Thread Oliver Schirrmeister
Hi, Wouldn't it be usefull to make it a well known option or provide a function where a program can ask if the feeder is enabled? Oliver > Hi, > > > On Fri, Nov 08, 2002 at 02:07:36PM +0100, Oliver Schirrmeister wrote: > > > Is there a way to detect if the user wan

[sane-devel] how to detect the scan_source

2002-11-08 Thread Oliver Schirrmeister
Is there a way to detect if the user wants to scan with the ADF or from flatbed? I've found SANE_NAME_SCAN_SOURCE but the value of that option depends on the backend? I'd like to write a tool like scanimage. The user can select the scanner and the scansource. If flatbed is selected I want to scan

[sane-devel] Duplex and Halftone Problem with Fujitsu M3091DC

2002-08-14 Thread Oliver Schirrmeister
Hi Frank, > Scanimage works basically but the option "-duplex both" doesn't work and > "-mode Halftone" generates an "invalid argument" error. "-mode Lineart" > only generates inverse images (white characters on black paper). I don't have a Fujitsu M3091 to try this. To get the reason of the "inv

[sane-devel] Support for A£ scanners

2002-07-09 Thread Oliver Schirrmeister
>I am in the market for an A3 scanner. >I cannot tell from your supported list which are A3. > >Cann anyone point me to a list of linux supported A3 scanners I don't know about others but the fujitsu M3096 and M3097 are A3 scanners. Oliver

[sane-devel] sanei_scsi.c and OpenStep

2002-05-22 Thread Oliver Schirrmeister
Hi, there is a bug in function sanei_scsi_cmd2() for OPENSTEP. 1. sr_cdb_length is not set in the scsi_req struct. It works most times without setting the length but in some cases this leads to a strange behaviour. 2. The status of the scsi-call by ioctl can be SR_IOST_CHKSNV. This is the same as

[sane-devel] Sane on Acer 320U & 320P, Fujitsu M3096G, HP3300C

2002-04-24 Thread Oliver Schirrmeister
>3. Fujitsu M3096G (SCSI) - This is a Black & White high speed scanner. >The Sane driver recognizes the scanner, but when it attempts to scan in >Lineart mode, give an error. I have no problems with the 3097 (I thought this scanner is almost equal to the 3096). What error do you get? If you like y

[sane-devel] Problems with sp15c.

2002-04-17 Thread Oliver Schirrmeister
--NeXT-Mail-2058343685-1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline >I'm having an odd issue with a sp15c. > >It scans fine, but when using the adf it always takes a extra page >after the scan and kicks it out. > >Scan one page, eject a s

[sane-devel] Support for Panasonic scanners

2002-02-21 Thread Oliver Schirrmeister
>On Wed, Feb 20, 2002 at 09:40:07AM -0800, Joe Hudson wrote: >>I'd like to use SANE to work with a Panasonic KV-S2025 but I don't >> see any support for any Panasonic scanners at all. >> Does anybody know if they're available under another name or such? > >If it's a SCSI or USB scanner, what d

[sane-devel] Ricoh IS410

2001-11-15 Thread Oliver Schirrmeister
I've found the Ricoh IS410 in the list of sane backends (IBM backend). Is it compatible with the ibm2456? Can anybody tell me where to find the oem manual of this scanner? Thanks Oliver

[sane-devel] m3096g changes

2001-08-30 Thread Oliver Schirrmeister
Hi, I've added the following features to the m3096g scanner backend: - support of the ipc2/3 and cmp2 options - duplex scanner support (M3093DG or M4097D) - some constraint checking for the M3093GX - use of the Virtual product data - paper format spezification when ADF is used. I've informed the