Linux Mwave manager for IBM Thinkpads (*) version 0.1
-----------------------------------------------------

I've written device drivers for OS/2 and embedded designs (and the Coleco Adam
too), and I've wanted a meaningful project to do a little Linux kernel hacking.
My first attempt is to read the settings of the Mwave DSP.  So far it detects
it and that is all.   

Requirements: Mwave based Linux computer with nothing important on it
(experimental driver after all) with a Linux 2.0.1 or later kernel (I've
tested it on 2.2.6) with gcc, and the linux kernel includes.

If you want to download it and look it over, please send me your comments.
To compile, simply type:

	gcc -o mwave mwave.c
or
	make

To test it, you need to become root (note this an experimental drop and
may cause dammage):

	su

and invoke it with the -v (verbose) option:

	./mwave -v

It will show you what it is doing.  It detected the baseio on my Thinkpad, and 
detects no Mwave on my generic clone (which doesn't have Mwave).

WARNING: The code to read mwave registers 3, 5, 16 outputs random values,
and may be unsafe.  Ideally swap hard disk drives before testing.

You can also try:

./mwave --help

for my somewhat ambitious dreams of what version 1.0 can do.

Please send your test results to me, and a patch with what the correct code
should be to initialize the Mwave register reading code properly.

Last updated 1999 09 25

Send questions to: dmwick@home.com

Linux Mwave manager is Copyright 1999 Dale Wick

* Mwave, IBM and Thinkpad are trademarks or registered trademarks of IBM 
Corporation.

