You are not logged in.
My system has many sound cards, a pc-speaker, hdmi cable, on-board sound, and a usb recording device. Alsa keeps trying to use the pc-speaker as its default sound card, and I can not hear any sounds. How do you set the default sound card? ( I know it is trying to use the pc-speaker because when I try to play a sound I can hear the speaker inside the pc clicking. )
[root@RA etc]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@RA etc]# aplay -L
hdmi:CARD=HDMI
HDA ATI HDMI, ATI HDMI
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=CK804
NVidia CK804, NVidia CK804
Default Audio Device
front:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Front speakers
surround40:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.0 Surround output to Front and Rear speakers
surround41:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804 - IEC958
IEC958 (S/PDIF) Digital Audio Output
Last edited by thadeusb (2009-05-22 03:55:05)
Offline
This needs to be added on the main page of the wiki or something =/
Fixed:
edit /usr/share/alsa/alsa.conf
change the lines that say:
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0
change 0 to the card number that you want to be default
List the card numbers by
aplay -l
Offline
defaults.ctl.card 0 defaults.pcm.card 0 defaults.pcm.device 0
change 0 to the card number that you want to be default
Thank you! That helped me!
Offline