I recently caught myself trying to configure Alsa.... possibly this was foolish.
The messages are very cryptic and the documentation is worse.
Bottom line ... anything I do it complains about the mixer device.
I recently upgraded the kernel to 2.4.18 on this system and found it necessary
to recompile alsa/alsa-libs/alsa-utils to get as far as I did with the sound
after it was disabled by the new kernel upgrade.
Any bright revelations based on the data I provide below would be joyously
welcome!
Thanks for any help.
-Walt
annika:/proc/asound/card1 # uname -a
Linux annika 2.4.18 #11 Sun May 12 13:39:01 EDT 2002 i686 unknown
alsa-driver-0.5.11
alsa-utils-0.5.10
alsa-lib-0.5.10b
cat /proc/asound/cards
0 [card1 ]: SB16 - Sound Blaster 16
Sound Blaster 16 at 0x220, irq 5, dma 1&5
cat /proc/asound/devices
0: [0] : control
1: : sequencer
2: [0- 0]: hardware dependent
6: [0- 0]: mixer
8: [0- 0]: raw midi
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
cat /proc/asound/card1/mixerD0
Mixer 'CTL1745' 'CTL1745'
Elements 27
Groups 11
Switches 1
lsmod
Module Size Used by
snd-seq-midi 3344 0 (unused)
snd-seq-midi-event 2976 0 [snd-seq-midi]
snd-seq 39776 0 [snd-seq-midi snd-seq-midi-event]
snd-card-sb16 4368 0
snd-sb16-csp 15504 0 [snd-card-sb16]
snd-sb16-dsp 15472 0 [snd-card-sb16 snd-sb16-csp]
snd-pcm 30240 0 [snd-sb16-dsp]
snd-mixer 23904 0 [snd-sb16-csp snd-sb16-dsp]
snd-opl3 4432 0 [snd-card-sb16]
snd-timer 8464 0 [snd-seq snd-pcm snd-opl3]
snd-hwdep 3184 0 [snd-sb16-csp snd-opl3]
snd-mpu401-uart 2384 0 [snd-card-sb16]
snd-rawmidi 10080 0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device 3936 0 [snd-seq-midi snd-seq snd-rawmidi]
snd 32720 3 [snd-seq-midi snd-seq-midi-event snd-seq
snd-card-sb16 snd-sb16-csp snd-sb16-dsp snd-pcm snd-mixer snd-opl3
snd-timer snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3504 3 [snd]
amixer set Master 15
amixer: Mixer 0/0 open error: Invalid argument
alsactl store card1
alsactl: MIXER open error: Invalid argument
excerp from /etc/modules.conf
#
# ALSA native device support and OSS emulation support. Uncomment these
# lines to enable ALSA:
#
alias char-major-14 soundcore
alias char-major-116 snd
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-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#
# Uncomment this line too, you can setup your ALSA device permissions here:
#
# ALSA Card examples:
#
# Creative SB16 PnP (ALSA will do isapnp itself per default):
#
alias snd-card-0 snd-card-sb16
options snd-card-sb16 snd_index=0
#