Corel Linux Questions...
Marcel Kunath
kunathma@pilot.msu.edu
Mon, 31 Jul 2000 08:01:43 -0400 (EDT)
Here is a working setup for SB Live. The kernel has sound compiled as module
BUT no special sound module compiled. This is for alsa use and not kernel
sound use.
SB Live 1400 Alsa Sound Configuration
---------------------------------
My Setup: SB Live 1400, SuSE 6.2, alsa-*-0.5.7.tar.gz
Download new modutils package:
ftp://ftp.ocs.com.au/pub/modutils/v2.3/modutils-2.3.6.tar.gz
or use
SuSE update package:
ftp://ftp.alsa-project.org/pub/driver/misc/modules-2.2.2-44.i386.rpm
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/
Edit /etc/conf.modules:
# ALSA portion
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
# OSS/Free portion
alias char-major-14 soundcore
# ALSA portion
alias snd-card-0 snd-card-emu10k1
options snd-card-emu10k1 snd_index=0 snd_id="SBLIVE"
alias sound-slot-0 snd-card-0
# OSS/Free portion - card #1
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-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
Update dependencies:
$ depmod -a
Compile alsa-driver:
$ ./configure --with-cards=emu10k1 --with-oss --with-sequencer
$ make install
$ ./snddevices
Compile alsa-lib:
$ ./configure
$ make
$ make install
Compile alsa-utils:
$ ./configure
$ make
$ make install
$ 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-emu10k1' and shell script to unmute the
components.
NOTE:
Even if it may not suite you you can easily arrange it to fit your card by
changing a few parameters.
BTW, by reading
http://www.alsa-project.org/~valentyn/Alsa-sound-mini-HOWTO-5.html
it seems that ESS does not use the sb live module but the audiodrive module.
Once you got something set up as above you can mail the alsa list. They are
very helpful.
If you need a hint for a isapnp setup then I attach as well a setup for
YMHOPL3SA3
OPL3-SA2 Alsa Sound Configuration
---------------------------------
My Setup: Yamaha OPL3-SA3, SuSE 6.2, alsa-*-0.5.7.tar.gz
Download new modutils package:
ftp://ftp.ocs.com.au/pub/modutils/v2.3/modutils-2.3.6.tar.gz
or use
SuSE update package:
ftp://ftp.alsa-project.org/pub/driver/misc/modules-2.2.2-44.i386.rpm
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/
$ 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)
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
Update dependencies:
$ depmod -a
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
$ 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.
mk