primax: New version of pxscan
Subject:
Re: New version of pxscan
From:
Gerhard Olejniczak ####@####.####
Date:
6 Feb 2001 18:36:40 -0000
Message-Id: <3A803404.DEBE182@odn.de>
Gustaf Kroling wrote:
>
> The pxscan-0.4 is now available from:
>
> http://home2.swipnet.se/~w-25069/pxscan.html
... snip ...
>
> Gustaf
Hello Gustaf,
I tried pxscan-0.4 and got the following
mozart#cd pxscan-0.4/
mozart#make
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ pxscan.c
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ probe_lp.c
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ portio.c
portio.c: In function `epp_off':
portio.c:42: warning: implicit declaration of function `ioperm'
portio.c:43: warning: implicit declaration of function `iopl'
cc -ltiff -lm -O -g pxscan.o probe_lp.o portio.o -o pxscan
mozart#./pxscan -lon
Probing port 0378
SPP port present
PS/2 bidirectional port present
EPP 1.9 with hardware direction protocol
ASIC: E3
scanner model reg= 1
Looks like a Primax Colorado Direct 9600
Segmentation fault (core dumped)
The same message with:
mozart#./pxscan -loff
But it works nevertheless, i.e the lamp goes on and off.
mozart#./pxcsan -d 1x1 -n /tmp/pxscan_test.tif
pxscan version 0.4
Probing port 0378
SPP port present
PS/2 bidirectional port present
EPP 1.9 with hardware direction protocol
mozart#
Scanning is also ok. So it seems it is only a nasty bug. Perhaps you have
an idea what is wrong or tell me how I can help you to find the bug. Has
it something to do with the warning I got at compile time?
Best regards,
Gerhard
--
"We all know Linux is great...it does infinite loops in 5 seconds." -
Linus
Gerhard Olejniczak Tel: +49-9128-12090
Mozartstr.1 E-Mail: ####@####.####
D-90592 Schwarzenbruck Fax: +49-911-9342807527