INSTALL.awe 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ================================================================
  2. INSTALLATION OF AWE32 SOUND DRIVER FOR LINUX
  3. Takashi Iwai <iwai@ww.uni-erlangen.de>
  4. ================================================================
  5. ----------------------------------------------------------------
  6. * Attention to SB-PnP Card Users
  7. If you're using PnP cards, the initialization of PnP is required
  8. before loading this driver. You have now three options:
  9. 1. Use isapnptools.
  10. 2. Use in-kernel isapnp support.
  11. 3. Initialize PnP on DOS/Windows, then boot linux by loadlin.
  12. In this document, only the case 1 case is treated.
  13. ----------------------------------------------------------------
  14. * Installation on Red Hat 5.0 Sound Driver
  15. Please use install-rh.sh under RedHat5.0 directory.
  16. DO NOT USE install.sh below.
  17. See INSTALL.RH for more details.
  18. ----------------------------------------------------------------
  19. * Installation/Update by Shell Script
  20. 1. Become root
  21. % su
  22. 2. If you have never configured the kernel tree yet, run make config
  23. once (to make dependencies and symlinks).
  24. # cd /usr/src/linux
  25. # make xconfig
  26. 3. Run install.sh script
  27. # sh ./install.sh
  28. 4. Configure your kernel
  29. (for Linux 2.[01].x user)
  30. # cd /usr/src/linux
  31. # make xconfig (or make menuconfig)
  32. (for Linux 1.2.x user)
  33. # cd /usr/src/linux
  34. # make config
  35. Answer YES to both "lowlevel drivers" and "AWE32 wave synth" items
  36. in Sound menu. ("lowlevel drivers" will appear only in 2.x
  37. kernel.)
  38. 5. Make your kernel (and modules), and install them as usual.
  39. 5a. make kernel image
  40. # make zImage
  41. 5b. make modules and install them
  42. # make modules && make modules_install
  43. 5c. If you're using lilo, copy the kernel image and run lilo.
  44. Otherwise, copy the kernel image to suitable directory or
  45. media for your system.
  46. 6. Reboot the kernel if necessary.
  47. - If you updated only the modules, you don't have to reboot
  48. the system. Just remove the old sound modules here.
  49. in
  50. # rmmod sound.o (linux-2.0 or OSS/Free)
  51. # rmmod awe_wave.o (linux-2.1)
  52. 7. If your AWE card is a PnP and not initialized yet, you'll have to
  53. do it by isapnp tools. Otherwise, skip to 8.
  54. This section described only a brief explanation. For more
  55. details, please see the AWE64-Mini-HOWTO or isapnp tools FAQ.
  56. 7a. If you have no isapnp.conf file, generate it by pnpdump.
  57. Otherwise, skip to 7d.
  58. # pnpdump > /etc/isapnp.conf
  59. 7b. Edit isapnp.conf file. Comment out the appropriate
  60. lines containing desirable I/O ports, DMA and IRQs.
  61. Don't forget to enable (ACT Y) line.
  62. 7c. Add two i/o ports (0xA20 and 0xE20) in WaveTable part.
  63. ex)
  64. (CONFIGURE CTL0048/58128 (LD 2
  65. # ANSI string -->WaveTable<--
  66. (IO 0 (BASE 0x0620))
  67. (IO 1 (BASE 0x0A20))
  68. (IO 2 (BASE 0x0E20))
  69. (ACT Y)
  70. ))
  71. 7d. Load the config file.
  72. CAUTION: This will reset all PnP cards!
  73. # isapnp /etc/isapnp.conf
  74. 8. Load the sound module (if you configured it as a module):
  75. for 2.0 kernel or OSS/Free monolithic module:
  76. # modprobe sound.o
  77. for 2.1 kernel:
  78. # modprobe sound
  79. # insmod uart401
  80. # insmod sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
  81. (These values depend on your settings.)
  82. # insmod awe_wave
  83. (Be sure to load awe_wave after sb!)
  84. See Documentation/sound/oss/AWE32 for
  85. more details.
  86. 9. (only for obsolete systems) If you don't have /dev/sequencer
  87. device file, make it according to Readme.linux file on
  88. /usr/src/linux/drivers/sound. (Run a shell script included in
  89. that file). <-- This file no longer exists in the recent kernels!
  90. 10. OK, load your own soundfont file, and enjoy MIDI!
  91. % sfxload synthgm.sbk
  92. % drvmidi foo.mid
  93. 11. For more advanced use (eg. dynamic loading, virtual bank and
  94. etc.), please read the awedrv FAQ or the instructions in awesfx
  95. and awemidi packages.
  96. Good luck!