View previous topic :: View next topic |
Author |
Message |
SnowCrashv5 n00b
Joined: 25 Jan 2008 Posts: 27
|
Posted: Wed Jun 18, 2008 11:42 pm Post subject: Cannot get sound to work |
|
|
lspci | grep -i audio
gives the following:
Code: |
Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2) |
This is the board I have: http://www.newegg.com/Product/Product.aspx?Item=N82E16813131096
and the specification states:
Quote: | Onboard Audio
Audio Chipset C-Media Superior Quality Audio 7.1 channel CODEC (Vista ready)
Audio Channels 8 Channels |
Now I've seen C-Media in the menuconfig and re-built the kernel and tried it out to no avail. I have also emerged alsa, all the gstreamer codecs, ffmpeg, lame, etc.. yet nothing will play audio. All my videos play without audio, no music will begin to play at all. alsamixer will not start, mpg123 (stating ALSA lib cannot find card '0') won't play a thing. gnome-volume-manager will not open (no error message). |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Thu Jun 19, 2008 12:25 am Post subject: |
|
|
According to this message, nVidia HD audio chipset support can be found in the snd-hda-intel audio driver.
Device Drivers ->
Sound ->
ALSA ->
PCI Devices ->
Intel HD Audio [*] or [M]
This will get your sound going |
|
Back to top |
|
|
SnowCrashv5 n00b
Joined: 25 Jan 2008 Posts: 27
|
Posted: Thu Jun 19, 2008 2:23 am Post subject: |
|
|
hmm, that didn't seem to work either. alsaconf is not able to find any PnP or PCI cards. |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Thu Jun 19, 2008 7:07 pm Post subject: |
|
|
Do exactly this:
1. Compile snd-hda-intel in to your kernel. [*] instead of [M]
2. Reboot off this new kernel if necessary.
3. Edit /etc/modules.d/alsa and change
alias snd-card-0 snd-**********
to
alias snd-card-0 snd-hda-intel
4. Start alsasoudn with /etc/init.d/alsasound start
5. Run alsamixer, or aplay -l to see if the sound card is working
6. Report any errors you might encounter
snd-hda-intel is definitely the proper driver. If this doesn't work then I've no clue what to do. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Jun 19, 2008 9:19 pm Post subject: |
|
|
If that doesn't work, compile it as M.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
SnowCrashv5 n00b
Joined: 25 Jan 2008 Posts: 27
|
Posted: Thu Jun 19, 2008 10:03 pm Post subject: |
|
|
Hmm.. mpg123 isn't kicking error messages any longer aplay -l gives the following:
Code: |
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0 |
Code: |
# /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ... [ ok ]
* Killing processes using ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Loading: snd-card-0 ...
FATAL: Module snd_hda_intel not found. [ ok ]
* Restoring Mixer Levels ... [ ok ] |
Still not finding the on-board card though.
Just in case here's my alsa module
Quote: | # Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-hda-intel
## alias snd-card-1 snd-hda-intell
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# 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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
|
|
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Fri Jun 20, 2008 12:26 am Post subject: |
|
|
SnowCrashv5 wrote: | Hmm.. mpg123 isn't kicking error messages any longer aplay -l gives the following:
Code: |
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0 |
Code: |
# /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ... [ ok ]
* Killing processes using ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Loading: snd-card-0 ...
FATAL: Module snd_hda_intel not found. [ ok ]
* Restoring Mixer Levels ... [ ok ] |
|
Okay, compile snd-hda-intel as [M], sorry for the oversight.
Quote: |
Still not finding the on-board card though.
|
You have two cards in your system? Add your other card to /etc/modules.d/alsa as snd-card-1 in the same way you added snd-card-0. |
|
Back to top |
|
|
SnowCrashv5 n00b
Joined: 25 Jan 2008 Posts: 27
|
Posted: Fri Jun 20, 2008 1:19 am Post subject: |
|
|
^
gracias that did it thank you tons! |
|
Back to top |
|
|
|