I have just tested the new sane-0.5.2 release and here are my experiences and
impressions:
The preview still needs a 16 bit color display, it crashes with 256 colors.
Since the new Beta 4 of StarOffice seems to need eight bit for displaying
the icons correct I have to switch the colordepth every time.
The qcam backand doesn`t compile:
gcc -c -I/usr/X11R6/include -g -O2 -D_GNU_SOURCE -Wall -DHAVE_CONFIG_H -I. -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=0 -DV_MINOR=5 -DBACKEND_NAME=qcam -fPIC -DPIC qcam.c
In file included from /usr/include/linux/sched.h:81,
from /usr/include/linux/vmalloc.h:4,
from /usr/include/asm/io.h:4,
from qcam.c:171:
/usr/include/asm/processor.h:156: warning: `struct task_struct' declared inside parameter list
/usr/include/asm/processor.h:156: warning: its scope is only this definition or declaration,
/usr/include/asm/processor.h:156: warning: which is probably not what you want.
In file included from /usr/include/linux/vmalloc.h:7,
from /usr/include/asm/io.h:4,
from qcam.c:171:
/usr/include/asm/pgtable.h:52: warning: `struct mm_struct' declared inside parameter list
/usr/include/asm/pgtable.h: In function `flush_tlb_mm':
/usr/include/asm/pgtable.h:54: `current' undeclared (first use this function)
/usr/include/asm/pgtable.h:54: (Each undeclared identifier is reported only once
/usr/include/asm/pgtable.h:54: for each function it appears in.)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:59: warning: `struct vm_area_struct' declared inside parameter list
... a.s.o.
Without qcam it compiles.
Color scanning is a little bit funny now. The first pass is ok but then the
behavior becomes very strange. After the scanner was started about twenty times
for "receiving red data for 'out.ppm'..." (text of the progress box) I canceled
this. Cancellation by the provided button didn`t work, so I had to exit xscan.
Xscan seems to run into an endless loop - You can go drinking coffee and when
returning the scanner is still working. I try to explain it in detail:
After the first pass the scanner is changing the filter (or whatever) and then
the second pass is started. But during the second and third pass it never scans
the whole specified area. The carriage jerks a little bit forward then it
returns and changes the filter. After this another will be started... till
infinity.
Enough from my neverending-scanning story.
Mathias
Mathias Weigt
p5iba@medchem2.pharmazie.uni-halle.de
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com