The following is a sample setup. It is independent from any use of yast2 or compiled in sound support for the sound chip with the standard SuSE kernel. OPL3-SA2 Alsa Sound Configuration --------------------------------- My Setup: Yamaha OPL3-SA3, SuSE 6.4, alsa-*-0.5.9.tar.gz Download Alsa Driver, Lib, Utils: ftp://ftp.alsa-project.org/pub/driver/ ftp://ftp.alsa-project.org/pub/lib/ ftp://ftp.alsa-project.org/pub/utils/ 1. The Kernel is compiled with sound core module. No specific sound module chosen though. 2. $ pnpdump > /etc/isapnp.conf Edit /etc/isapnp.conf: (READPORT 0x0203) (ISOLATE PRESERVE) (IDENTIFY *) (VERBOSITY 2) (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) (CONFIGURE YMH0800/-1 (LD 0 (IO 0 (SIZE 16) (BASE 0x0220)) (IO 1 (SIZE 8) (BASE 0x0530)) (IO 2 (SIZE 8) (BASE 0x0388)) (IO 3 (SIZE 2) (BASE 0x0330)) (IO 4 (SIZE 2) (BASE 0x0370)) (INT 0 (IRQ 9 (MODE +E))) (DMA 0 (CHANNEL 0)) (DMA 1 (CHANNEL 1)) (NAME "YMH0800/-1[0]{OPL3-SA3 Sound Board}") (ACT Y) )) (CONFIGURE YMH0800/-1 (LD 1 (IO 0 (SIZE 1) (BASE 0x0201)) (NAME "YMH0800/-1[1]{OPL3-SA3 Sound Board}") (ACT Y) )) (WAITFORKEY) 3. Edit /etc/conf.modules: alias sound soundcore alias char-major-116 snd options snd snd_major=116 snd_cards_limit=1 alias char-major-14 soundcore alias snd-card-0 snd-card-opl3sa2 options snd-card-opl3sa2 snd_index=0 snd_id="OPL3SA2" \ snd_port=0x370 \ snd_wss_port=0x530 \ snd_midi_port=-1 \ snd_fm_port=0x388 \ snd_irq=9 \ snd_dma1=0 \ snd_dma2=1 alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-12 snd-pcm-oss 4. Update dependencies: $ depmod -a 5. Compile alsa-driver: $ ./configure --with-cards=opl3sa2 --with-oss --with-sequencer $ make install $ ./snddevices Compile alsa-lib: $ ./configure $ make $ make install Compile alsa-utils: $ ./configure $ make $ make install 6. $ vi sound.prog #!/bin/sh # A reasonable set of ALSA mixer settings to start up with. # We can always pick better ones for specific cases with the # GUI mixers AMIX='/usr/bin/amixer -q' $AMIX set Master 100% unmute $AMIX set PCM 85% unmute $AMIX set MIC 85% unmute $AMIX set CD 85% unmute $AMIX set 'Input Gain' 40% $AMIX set Line 40% unmute capture $ chmod +x sound.prog Reboot and run 'modprobe snd-card-opl3sa2' and shell script to unmute the components. The program 'alsamixer' can be used to change settings. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (1)
-
purpleshirt@hotmail.com