Today, I installed xmms and the only sound mixer I had was xfce4-mixer-4.0.4nb2 mixer plugin (installed via pkgsrc).
But the only audio I would get (at first) was from plugging my speakers directly into the CD drive. Then I tried playing an audio file with xmms, while I turned up every mixer slider and finally I heard noise from the headset output (speakers plugged into it). I could not get sound from the speaker output, just headphone output (same speakers). (Headphone output is just too quiet.) So Google told me about some "External Amplifier Power Down" mixer option. It was not part of my mixer. So I started building alsamixer (well really I started building the gnome prerequisites). Then I made pkgsrc specifications for alsa-libs and alsa-utils and made packages for alsa-lib-1.0.4 and alsa-utils-1.0.4 (to be submitted to pkgsrc-wip project soon). My plan was to use the amixer or alsamixer to try to get my speakers to work on the speaker output. I have read the alsa FAQ and I saw examples of my errors in other places but no fixes. This is what I have: -sh-2.05b# amixer amixer: Mixer attach default error: No such file or directory -sh-2.05b# aplay -v /usr/lib/firefox-gtk2/res/samples/test.wav aplay: main:507: audio open error: No such file or directory -sh-2.05b# alsamixer alsamixer: function snd_ctl_open failed for default: No such file or directory -sh-2.05b# alsactl --file J2 store alsactl: save_state:1061: No soundcards found... -sh-2.05b# uname -orm 2.6.3 i686 GNU/Linux -sh-2.05b# dmesg | grep -i -A4 sound Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05 15:41:49 2004 UTC). PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 49373 usecs intel8x0: clocking to 48000 ALSA device list: -sh-2.05b# dmesg | grep -i -A1 alsa ALSA device list: #0: Intel 82801BA-ICH2 at 0xdc00, irq 11 -sh-2.05b# grep -B1 -A3 Audio /proc/pci Bus 0, device 31, function 5: Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 5). IRQ 11. I/O at 0xdc00 [0xdcff]. I/O at 0xd800 [0xd83f]. -sh-2.05b# lsmod Module Size Used by eepro100 27116 - i810 66252 - -sh-2.05b# find /usr/lib/modules/2.6.3/ -type f | egrep 'snd|sound' /usr/lib/modules/2.6.3/kernel/sound/drivers/mpu401/snd-mpu401.ko -sh-2.05b# cat /proc/asound/oss/sndstat Sound Driver:3.8.1a-980706 (ALSA v1.0.2c emulation code) Kernel: Linux montecristo.reedmedia.net 2.6.3 #1 SMP Wed Mar 31 16:11:36 PST 2004 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: Intel 82801BA-ICH2 at 0xdc00, irq 11 Audio devices: 0: Intel 82801BA-ICH2 (DUPLEX) Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 7: system timer Mixers: 0: Analog Devices AD1881A -sh-2.05b# cat /proc/asound/oss/devices 1: : sequencer 8: : sequencer 12: [0-12]: digital audio 3: [0- 3]: digital audio 0: [0- 0]: mixer -sh-2.05b# cat /proc/asound/cards 0 [I82801BAICH2 ]: ICH - Intel 82801BA-ICH2 Intel 82801BA-ICH2 at 0xdc00, irq 11 -sh-2.05b# cat /proc/asound/card0/oss_mixer VOLUME "Master" 0 BASS "" 0 TREBLE "" 0 TREBLE "" 0 SYNTH "" 0 PCM "PCM" 0 SPEAKER "PC Speaker" 0 LINE "Line" 0 MIC "Mic" 0 CD "CD" 0 IMIX "" 0 ALTPCM "Headphone" 0 RECLEV "" 0 IGAIN "Capture" 0 OGAIN "" 0 LINE1 "Aux" 0 LINE2 "" 0 LINE3 "" 0 DIGITAL1 "" 0 DIGITAL2 "" 0 DIGITAL3 "" 0 PHONEIN "Phone" 0 PHONEOUT "Master Mono" 0 VIDEO "Video" 0 RADIO "" 0 MONITOR "" 0 (I don't know if the above is related.) -sh-2.05b# ls -l /dev/audio* /dev/dsp* /dev/sndstat crw-rw---- 1 root audio 14, 4 Apr 9 20:19 /dev/audio crw-rw---- 1 root audio 14, 20 Apr 9 20:19 /dev/audio1 crw-rw---- 1 root audio 14, 36 Apr 9 20:19 /dev/audio2 crw-rw---- 1 root audio 14, 52 Apr 9 20:19 /dev/audio3 crw-rw---- 1 root audio 14, 7 Apr 9 20:19 /dev/audioctl crw-rw---- 1 root audio 14, 3 Apr 9 20:19 /dev/dsp crw-rw---- 1 root audio 14, 19 Apr 9 20:19 /dev/dsp1 crw-rw---- 1 root audio 14, 35 Apr 9 20:19 /dev/dsp2 crw-rw---- 1 root audio 14, 51 Apr 9 20:19 /dev/dsp3 crw-rw---- 1 root audio 14, 6 Apr 9 20:19 /dev/sndstat -sh-2.05b# cat /dev/sndstat cat: /dev/sndstat: No such device (Maybe the device nodes are wrong above?) I assume I do not need a kernel module for alsa, since I can already play a wav file and it outputs to my headphone jack. I can provide the "aplay -L" output if you want it. I read the alsamixer, aplay and amixer manpages, but they don't tell me how to find out what "alsa" hardware device to use. I don't have any system-wide or per-user alsa configuration files. I want to be able to use some alsa utility to see if I can get my audio output to work with the regular speaker output. Any advice? If I need some sound modules, please tell me the CONFIG_* names for them. I have: -sh-2.05b# egrep 'SND|SOUND' /boot/linux-kernel2.6.3-2.6.3.config |grep -v ^\# CONFIG_SOUND_GAMEPORT=y CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_SEQUENCER=y CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_MPU401=m CONFIG_SND_INTEL8X0=y Jeremy C. Reed http://bsd.reedmedia.net/ p.s. If you are in the Pacific Northwest (US/BC), be sure to attend Linux Fest Northwest 2004 on April 17. Over 35 speakers, over 35 booths and over 1000 open source fans ... ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user