I have a newish PC with onboard audio and pci card:
Code:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
03:02.0 Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 01)
I know they work because I had them both working under Centos with pulseaudio. 2 movies playing, each sending sound to a different card. Then I upgraded pa and everything broke.
I moved on to Arch and just installed the alsa stuff:
Code:
alsa-firmware-1.0.29-1-any.pkg.tar.xz
alsa-lib-1.0.29-1-i686.pkg.tar.xz
alsa-oss-1.0.28-1-i686.pkg.tar.xz
alsa-plugins-1.0.29-2-i686.pkg.tar.xz
alsa-tools-1.0.29-1-i686.pkg.tar.xz
alsa-utils-1.0.29-1-i686.pkg.tar.xz
alsaplayer-0.99.81-6-i686.pkg.tar.xz
I'm pretty sure I don't need the firmware pkg, but, what the heck. I just want sound.
modules:
Code:
snd_hda_codec_analog 16384 1
snd_hda_codec_generic 65536 1 snd_hda_codec_analog
snd_cs4281 20480 1
snd_opl3_lib 20480 1 snd_cs4281
snd_ac97_codec 98304 1 snd_cs4281
ac97_bus 16384 1 snd_ac97_codec
gameport 16384 2 snd_cs4281
snd_rawmidi 24576 1 snd_cs4281
snd_seq_device 16384 2 snd_rawmidi,snd_opl3_lib
snd_hda_intel 28672 0
snd_hda_controller 28672 1 snd_hda_intel
snd_hda_codec 98304 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_analog
snd_hwdep 16384 2 snd_hda_codec,snd_opl3_lib
snd_pcm 77824 5 snd_ac97_codec,snd_hda_codec,snd_hda_intel,snd_hda_controller,snd_cs4281
snd_timer 28672 2 snd_pcm,snd_opl3_lib
snd 57344 14 snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_s
soundcore 16384 2 snd,snd_hda_codec
Here's /dev/snd:
Code:
total 0
drwxr-xr-x 2 root root 80 Jun 20 06:12 by-path
crw-rw----+ 1 root audio 116, 2 Jun 20 06:12 controlC0
crw-rw----+ 1 root audio 116, 8 Jun 20 06:12 controlC1
crw-rw----+ 1 root audio 116, 7 Jun 20 06:12 hwC0D0
crw-rw----+ 1 root audio 116, 12 Jun 20 06:12 hwC1D0
crw-rw----+ 1 root audio 116, 11 Jun 20 06:12 midiC1D0
crw-rw----+ 1 root audio 116, 4 Jun 20 06:12 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 Jun 21 02:08 pcmC0D0p
crw-rw----+ 1 root audio 116, 6 Jun 20 06:12 pcmC0D2c
crw-rw----+ 1 root audio 116, 5 Jun 20 06:12 pcmC0D2p
crw-rw----+ 1 root audio 116, 10 Jun 20 06:12 pcmC1D0c
crw-rw----+ 1 root audio 116, 9 Jun 20 06:12 pcmC1D0p
crw-rw----+ 1 root audio 116, 1 Jun 20 06:12 seq
crw-rw----+ 1 root audio 116, 33 Jun 20 06:12 timer
Seems reasonable.
aplay -l:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1984 Analog [AD1984 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984 Alt Analog [AD1984 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CS4281 [Cirrus Logic CS4281], device 0: CS4281 [CS4281]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L:
Code:
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=Intel
HDA Intel, AD1984 Analog
Default Audio Device
sysdefault:CARD=Intel
HDA Intel, AD1984 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, AD1984 Analog
Front speakers
surround21:CARD=Intel,DEV=0
HDA Intel, AD1984 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
HDA Intel, AD1984 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, AD1984 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, AD1984 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, AD1984 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, AD1984 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
default:CARD=CS4281
Cirrus Logic CS4281, CS4281
Default Audio Device
sysdefault:CARD=CS4281
Cirrus Logic CS4281, CS4281
Default Audio Device
Does that look right? 2 default devices and 2 sysdefaults?
I'm sure this is a simple config thing. That Intel card output looks pretty fancy for something with only a mic jack and combo lineout/headphone jack. Where's all that extra stuff come from?
when I do 'aplay -D default file.wav' it plays out my pc speaker, that little thing inside the tower that usually never does anything. I guess it's good to know I even have one. So I 'rmmod pcspkr' and it still does it. Odd.
When I go 'aplay -D front file.wav' I get no sound, but this pops up:
Code:
Playing WAVE 'doorslam.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono
aplay: set_params:1233: Sample format non available
Available formats:
- S16_LE
- S32_LE
But no sound from the speakers plugged in. Everything is un-muted and cranked up. I get a bump from the speakers on startup and shutdown when the soundcard is initialized.
Any ideas?
I'm new to alsa. I haven't done anything with any config files. The documentation has left me a bit mystified. My last box still had /dev/dsp. I've read pretty much everything about alsa on the internet over the last few days and still no closer to a solution.
Thank you in advance.