From alsa-devel-owner@alsa.jcu.cz  Tue Dec  8 01:38:10 1998
Received: from entry.jcu.cz (IDENT:perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id BAA23806;
	Tue, 8 Dec 1998 01:36:44 +0100
Date: Tue, 8 Dec 1998 01:36:44 +0100 (CET)
From: Jaroslav Kysela <perex@jcu.cz>
To: alsa-devel@alsa.jcu.cz
cc: Linux Audio Development Mailing list <linux-audio-dev@ginette.musique.umontreal.ca>
Subject: ISA Plug & Play - not only dream for Linux
Message-ID: <Pine.LNX.3.96.981208004836.402A-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Hi all,

	after hard work in last three days I solved trouble with ISA PnP
devices. I hope that my code will be acceptable for all people (including
Linus and Alan Cox). My inspiration for code is taken from Linux PCI
interface with auto-configuration extensions which should be (or not)
used.
	I will announce my work to linux-kernel mailing list after some
days of testing (although very robust code - about 3000 lines). Code
is tested with 2.0.36 and 2.1.127 kernels. If someone want do quick look
or if someone want test PnP parts of CS4236+ driver:

1) get latest ALSA driver from CVS
   - sources for ISA PnP support is in alsa-driver/support directory
2) run './configure --with-isapnp=yes'
3) compile with usual way
   - if you need compile isapnp module only, try 'cd support; make'
4) insert isapnp module (remove all drivers which uses PnP devices before!!)
   - this module creates /proc/isapnp file (with very informative content)
>>>> if you have CS4236+ soundcard (Turtle Beach Malibu for example)
>>>> note: if your soundcard doesn't work, try add correct identification
>>>>       from /proc/isapnp to source alsa-driver/cards/card-cs4236.c
>>>>       (send me patch or /etc/isapnp)
5) remove all module options for snd-card-cs4236 module
   - leave only snd_index and snd_id (if set)
6) enjoy ISA PnP auto-configuration features
   - look to /proc/isapnp for changes
7) you may override any hardware settings with usual way (without
   isapnptools, of course!!!!)
   - if you want set second dma to 3 simply add snd_dma2=3 parameter

ISA PnP support for more soundcards (GUS PnP, SB AWE 64, Yamaha OPL3-SA)
will be added in near future...

I welcome any feedback (including comments, bug-report and ideas)...

							Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic


