Primax Colorado 9600

I tried to set up using Yast but I got scanner unsupported.
The Primax Scanner Driver Project for Linux/UN*X advertises pxscan but it does not compile: it does not know about outb and inb.

Hi
You need to modify the makefile to point to /usr/include and ensure you
have libtiff-devel installed. Then modify the three files pxscan.c,
probe_lp.c and portio.c and change from asm/io.h to sys/io.h in the
#includes at the beginning of the files.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 19:35, 3 users, load average: 0.50, 0.56, 0.54
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Thanks, pxscan compiled but it does not work right; everything I scans pale pink (I tried on black paper).

There is a newer version of pxscan that scans correctly; however, the following patch is required to make it:

*** Makefile 2006-12-24 16:20:58.000000000 +0100
--- Makefile    2010-05-15 18:57:48.066768336 +0200
***************
*** 27,34 ****
        gcc -shared libsane-pxscan.o  \
        -Wl,--whole-archive ./libpxscan.o \
        -Wl,--whole-archive ./libpxscanport.o \
!         -Wl,--no-whole-archive  -lm /usr/lib/libieee1284.so \
!       -lm /usr/lib/libieee1284.so \
        -Wl,-soname -Wl,libsane-pxscan.so.1 -Wl,-retain-symbols-file \
        -Wl,sane.sym -o libsane-pxscan.so.1.0.0

--- 27,33 ----
        gcc -shared libsane-pxscan.o  \
        -Wl,--whole-archive ./libpxscan.o \
        -Wl,--whole-archive ./libpxscanport.o \
!         -Wl,--no-whole-archive  -lm -lieee1284 \
        -Wl,-soname -Wl,libsane-pxscan.so.1 -Wl,-retain-symbols-file \
        -Wl,sane.sym -o libsane-pxscan.so.1.0.0


Things to do:

  1. Test whether it works as a SANE plugin.
  2. Let the SANE project know that a plugin exists.
  3. Build a package out of the code.
  4. Register the plugin with YAST Scanner module.