PC SPEAKER DRIVER Version 0.4.1
-------------------------------

I can not take any credit for the code in this archive.  It is the
work of Michael Beck (beck@informatik.hu-berlin.de) and has been
previously distributed by him as version 0.4.

Version 0.4, was written, however, when the current Linux kernel
was 0.99.12.  (In Linux terms, this is at least two weeks old. :-)
Since that time, there have been major reorganizations of the 
kernel sources and the institution of a new configuration scheme.

So what is Version 0.4.1?  It is a rework of version 0.4 to conform
to the layout of the 1.1.X source tree. (It may also install under
1.0.9, but this has not been tested.)

Specifically, I done four things:

1)	Move the driver sources to their proper place under the
	drivers/pcsp directory.

2)	Update the Configure and config.in files to allow user
	selection of the speaker driver.

3)	Fix a minor problem in the speaker code which prevented
	proper compilation when the Mixer emulation was not selected.

4)	Generate a new set of diffs designed to work with a modern
	kernel.

Why version 0.4.1?  Based on comments on the Net, there appears to be
an interest for such a thing.  While Version 0.4 could be installed
with a lot of hand patching, a simpler solution was called for.  This
is the result of my own hand patching.

An update of the original README follows...  Share and enjoy!


					John Ruschmeyer
					jrusch@losex.ukp.com


Installing and compiling the driver version 0.4.1
-------------------------------------------------

0)      Install the kernel sources (1.1.29, but should work on 1.1.29+)
        and the pcsndrv-0.4.1.tar.gz. (You have already done this).

1)      Apply the patch (linux-1.1.29.pcsp.diff) in the /usr/src directory
	by patch -d /usr/src < linux-1.1.29.pcsp.diff
        if your kernel-version differs from 1.1.29 test this:
	sched.c : remove "static" in the definition of do_timer
	mem.c   : include mem_start = pcsp_init(mem_start);
                  and the extern long pcsp... definition
        vt.c    : the interior of kd_mksound must be enclosed with
			if (! pcsp_speaker) {

2)      Run "make config" in the Linux directory.

3)      "make clean" and "make dep"

4)      Recompile the kernel.

To build the device files you need to run the shell script pcspinstall
in this directory. It creates:

  /dev/pcsp	(and a symbolic link /dev/dsp if you don't have the
                 sound-driver installed) 
  /dev/pcaudio  (and a symbolic link /dev/audio ...)
  /dev/pcmixer	(and a symbolic link /dev/mixer ...)

  <sys/soundcard.h>	(if no sound-driver ...)
  <sys/pcsp.h>		these only include <linux/pcsp.h>	

Feel free to contact me (flames about my english and the uselessness of this
driver will be redirected to /dev/null).

Michael Beck		beck@informatik.hu-berlin.de
