patch-2.2.0-pre5 linux/Documentation/sound/AWE32
Next file: linux/Documentation/sound/OPL3-SA2
Previous file: linux/Documentation/oops-tracing.txt
Back to the patch index
Back to the overall index
- Lines: 112
- Date:
Mon Jan 4 12:01:19 1999
- Orig file:
v2.2.0-pre4/linux/Documentation/sound/AWE32
- Orig date:
Mon Sep 28 10:51:32 1998
diff -u --recursive --new-file v2.2.0-pre4/linux/Documentation/sound/AWE32 linux/Documentation/sound/AWE32
@@ -6,21 +6,20 @@
1) Make sure you have an ORIGINAL Creative SB32, AWE32 or AWE64 card. This is
important, because the driver works only with real Creative cards.
-2) If your card is NOT "Plug-n-Play" (I myself don't know Creative AWE non
-plug'n'play cards however) then go to 5th step now. In the other case
+2) If your card is NOT "Plug-n-Play" then go to 5th step now. In the other case
proceed to step 3.
3) You should obtain isapnptools. I looked through other PnP packages
for Linux, but all they are either in deep unstable beta/alpha releases or
they are much worse than isapnptools. In my case isapnptools were included in
-a Linux distribution (Red Hat 5.0). If you also already have them then go to
+a Linux distribution (Red Hat 5.x). If you also already have them then go to
step 4.
-The latest copy of isapnptools-1.15 is available from
-ftp://ftp.demon.co.uk/pub/unix/linux/utils/ (I tested isapnptools-1.15.tgz)
+The latest copy of isapnptools-1.17 is available from
+ftp://sunsite.unc.edu/pub/Linux/system/hardware/isapnptools-1.17.tgz
You should gunzip/untar it to something like /usr/local/
-(cp isapnptools-1.15.tgz /usr/local/; cd /usr/local/;
-tar -xzf isapnptools-1.15.tgz).
+(cp isapnptools-1.17.tgz /usr/local/; cd /usr/local/;
+tar -xzf isapnptools-1.17.tgz).
Compile the package (make) and install it (make install).
If something goes wrong check the INSTALL file in isapnptools-1.15 directory.
@@ -59,26 +58,13 @@
Now you can execute "isapnp /etc/isapnp.conf". No errors should be reported.
If you correctly installed isapnptools, then isapnp will run every boot time.
-5) Now you should recompile the kernel. I recommend using development kernels,
-because the AWE32 driver is included in them. ATTENTION! In kernels 2.1.102,
-2.1.103, 2.1.104-pre1 and 2.1.104 (not the others) the lowlevel sound driver
-is not working. You should use the patch available at
-http://members.xoom.com/yar/history.html. If you are using stable kernel
-releases 2.0.x, then get the latest version (3.8s9) of
-OSS/Free at ftp://ftp.4front-tech.com/ossfree/ossfree38s9-linux20x.tar.gz
-and gunzip/untar it in /usr/src/ (assuming you keep your kernel source in
-/usr/src/linux). Then go to /usr/src/linux/ and view the README file. That
-file contains info about kernel compilation and installation.
+5) Now you should recompile the kernel.
In "make (x,menu)config" select in "Sound":
"Sound card support", "100% Sound Blaster compatibles (SB16/32/64, ESS, Jazz16) support",
"Generic OPL2/OPL3 FM synthesizer support" and "FM synthesizer (YM3812/OPL-3)
support" as <M> (module).
-If you use kernel version 2.0.x or version 2.1.y (y <= 2.1.104) skip substep a,
-on 2.1.105 or later go through it.
-
-substep a:
In "make (x,menu)config" select in "Sound":
select "OSS sound modules" as <M> (module)
@@ -86,23 +72,23 @@
"Additional low level sound drivers", "AWE32 synth" as <M> (module).
Select "Additional low level sound drivers" as [y] (or [*] (yes)) (If it is not
available as [y], select it as <M> (module))
-Now recompile the kernel (make dep; make (b)zImage; make modules;
-make modules_install), update your boot loader and boot new kernel.
-6) Now download awesfx program from
-http://bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/index.html#Latest. Compile it.
-Copy sfxload program to /bin (or /sbin if you wish). To enable AWE midi
+Now recompile the kernel (make dep; make (b)zImage, b(z)lilo, etc...;
+make modules; make modules_install), update your boot loader (if required) and
+boot new kernel.
+
+6) If awesfx program is not included in your distribution, then download it
+from http://bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/index.html#Latest.
+Compile it. Copy sfxload program to /usr/bin. To enable AWE general midi
synthesis you should also get the sound bank file for general midi from
-http://members.xoom.com/yar/synthgm.sbk.gz. Copy it to
-/usr and gunzip it there.
+http://members.xoom.com/yar/synthgm.sbk.gz. Copy it to /usr and gunzip it there.
-7) Edit /etc/rc.d/rc.local, inserting at the end of the file:
+7) Edit /etc/conf.modules, inserting at the end of the file:
-modprobe sound
-insmod uart401
-insmod sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
-insmod awe_wave
-sfxload /usr/synthfm.sbk
+alias sound sb
+alias midi awe_wave
+post-install awe_wave /usr/bin/sfxload /usr/synthfm.sbk
+options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
(on io=0xaaa irq=b.... you should use your own settings)
That will enable the Sound Blaster and AWE wave synthesis.
@@ -110,13 +96,16 @@
To play midi files you should get one of these programs:
Playmidi 2.4 or higher: http://playmidi.openprojects.net
-Drvmidi 4.2.b: http://bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/index.html#Latest
+Drvmidi: http://bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/index.html#Latest
(These are available at all major Linux FTP sites and may already be
in your distribution)
+Remember to use -a switch if you have playmidi as a compiled binary (ex. RPM)
If something goes wrong please e-mail me. All comments and suggestions are
welcome.
Yaroslav Rosomakho (alons55@dialup.ptt.ru)
- http://members.xoom.com/yar
+ http://www.yar.opennet.ru
+
+Last Updated: 3Jan99
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov