==============================================================================
GENIUS GS-B105G 400 dpi handheld scanner driver  version 0.0.1
==============================================================================

Hi folks!

This is a  modifyed logi32 driver which was written by Andreas Beck (becka@
hp.rz.uni-duesseldorf.de ). for the GENIUS GS-B105G scanner driven thru its own 
interface board. Also a small demonstration program "gifscan" ( written by Andreas
Beck ) comes whith this driver.

How to install:
------------------------------------------------------------------------------
	
	1) The driver is a kernel loadable module,so obviously the first 
           step in getting this thing to work is to obtain and install 
           the `modutils' package if you don't have it already.
	
	2) Now go to the src directory and have a look at the top of gs105.h.
	   Edit the defines to reflect your needs/hardware settings.
	   Please note,that only GS_IOBANK must reflect your dip-switch-set-
           tings,IRQ and DMA will be software-selected.
	   Please use IRQs and DMA-channels not used by any other hardware.
	   (DMA 1 is likely to be used,if you have a SoundBlaster installed
	    ...)
	   Available IRQs are 2 or 5, available DMAs are 1 or 3.

	3) Move scanner.h to some decent place - I suggest usr/local/include
	   Please make sure,that scanner.h is present in ONLY ONE VERSION
	   on your system.I've heard of lots of trouble when the driver was
	   compiled with another scanner.h than the scan-software.

	   Type `make' to compile the driver.
           Type `insmod' gs105.o.

           Note: If you have a kernel version before 1.1.43, then you need 
                 to remove the last two arguments in the call to "request_irq"
                 ( SA_INTERRUPT and "GS-B105G scanner" ) in gs105.c 

           If the loader complains about missing symbols,add them to
	   kernel/ksyms.c.
	   The loader will probably complain about the following symbols:
	   request_dma
	   free_dma
	   You will have to #include <asm/dma.h> at the beginning and add
	   the missing symbols to the symbol_table[] using the X-macro
	   (look at the file and you will see what I mean ...).
	   
	   If kernel/ksyms.c had to be modified,you have to recompile your 
	   kernel and reboot to reflect the changes.

	4) create the device special file:
	   type `mknod -m 444 /dev/scan c 26 0'

	   Note: the `26' above is the major device number.
	   	 If that one is already used on your machine
		 (the driver complains "cannot register major number" when
		 attempting to load it)
		 pick another free one and change the definition
		 of GS105_SCANNER_MAJOR in `gs105.h' accordingly.

	5) Copy `gs105.o' to wherever you keep your kernel modules.

	6) try it out:

		If you have a working (s)vgalib,
		build gifscan in ./demo . If you have no svgalib,you
		lost,as the script scan.sh is no longer included with
		this package.You will have to be content with something
		like cat </dev/scan >file,until you find a nice guy who
		writes a little scanning program for you (or you'll have
		to remove all the vga stuff from gifscan to be able to
		"blind-scan" into a GIF-file).

Bye, .

--
Willem Dantuma		willemd@knoware.nl
Holland

**************************************************************************
Thanks to
Andreas Beck		becka@hp.rz.uni-duesseldorf.de
Who wrote the logi32 driver which i modifyed
**************************************************************************
