
This is an ALPHA version of my sparc64 Linux driver for the Sun SPARCPrinter
lpvi inteface. The installation procedure could be loads better, but once you
get it installed, it should work pretty well. Just don't try to use the
manual tray or change DPI mid-print. Oh, and don't bother trying it under
32-bit sparcs, it will not work.

It is assumed you do not mind playing in the source to do the install. As
such, the install process is not very nice yet. However, here's an overview.

This software has NO WARRANTY. If it breaks, you are on your own.

To install:
	1) Make sure your kernel is recent enough, or apply
	sparc64-sbus-iommu.diff. Don't forget to boot into it.
	[Currently, all 2.6 kernels need this.]

	2) Untar libaio, patch, build, and install libaio.
		tar xfz libaio-0.3.99.tar.gz
		cd libaio-0.3.99
		patch -p1 < ../libaio-sparc.patch
		patch -p1 < ../fix-io_queue_wait.patch
		make
		make install
		cd ..

	3) Make sure CUPS is installed, as well as the development
	headers and libraries.

	4) Build this package:
		make

	5) Install this package manually, or if you are exceedingly brave:
		make install

	6) Insert the lpvi module
	7) Restart CUPS
	8) Add the SPARCPrinter to CUPS
	9) Print test page.
	10) Tell me it worked, or what pretty colors it made when it exploded.


Please send bug reports to dave@thedillows.org.
Thanks,
David Dillow


Files of interest:

sparc64-sbus-iommu.diff:
	Needed patch for the sparc64 sbus IOMMU to allocate large enough
	mappings for the lpvi driver. If your kernel is recent enough, you
	may not need this.

lpvi.c, lpvi.h:	
	Kernel driver for 2.6 kernel

libaio-0.3.99.tar.gz:
	Copy of a needed library to save you from having to extract it from
	a source RPM.

libaio-sparc.patch:
	Add sparc support to libaio.

fix-io_queue_wait.patch:
	Make libaio's io_queue_wait() actually wait.

rastertoraster:
	Pass through filter for CUPS, needed for lpvi driver.

lpvi-backend.c:
	CUPS backend driver for SPARCPrinter.

SPARCPrinter.ppd:
	Postscript Printer Description for SPARCPrinter.
