View previous topic :: View next topic |
Author |
Message |
rivitir Tux's lil' helper
Joined: 04 Oct 2005 Posts: 105
|
Posted: Wed Jan 07, 2009 2:04 am Post subject: Upgraded Kernel, now no sound |
|
|
Everything is working great on my system, but I upgraded from linux-2.6.25-gentoo-r7 to linux-2.6.27-gentoo-r7 I lost my sound. Absolutly nothing is coming out of my speakers.
Here is my .config:
Quote: |
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VMASTER=y
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
CONFIG_SND_PCI=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_ATIHDMI=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_INTEL8X0=y
CONFIG_SND_USB=y
CONFIG_SND_SOC=y
CONFIG_AC97_BUS=y
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
CONFIG_HIDRAW=y
|
And my lspci:
Quote: |
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
|
The above config worked for my 2.6.25 but it's not working for my new kernel.
I am part of the audio group and the /dev/mixer does have audio listed as rw.
Thanks for your help. _________________ http://rivitir.com |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Wed Jan 07, 2009 2:22 am Post subject: |
|
|
First off, check that it isn't a hardware issue (are your speakers/headphones (on and) plugged in?)
Secondly, using the most simple possible output (no digital, no multi-channel), plug your output device in, set your mixer levels to good levels (and unmuted), then run speaker-test with the options your would like. _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
rivitir Tux's lil' helper
Joined: 04 Oct 2005 Posts: 105
|
Posted: Wed Jan 07, 2009 3:43 am Post subject: |
|
|
Thank you for the quick response Poly_poly-man.
Yes, speakers are plugged in and turned on. Also all channels in alsamixer are unmuted and turned up. Those are the first things I checked. I also hooked up another set of speakers just to be sure, same problem, no sound.
I did run speaker-test as you suggested and still no sound.
As far as I can tell everything is setup correctly.
Quote: |
$ cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
4: [ 0- 0]: hardware dependent
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
33: : timer
$ cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe020000 irq 20
|
Any idea's? _________________ http://rivitir.com |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Jan 07, 2009 5:49 am Post subject: |
|
|
Are you really running all those devices? If so, perhaps you might want to start by running lspci and finding out the exact sound device you are using, and use only it. Once that's done, take a look at the Gentoo ALSA guide. And before you tell me you did, I'll just say, the presence of all those "y"s in your .config tells me different.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
rivitir Tux's lil' helper
Joined: 04 Oct 2005 Posts: 105
|
Posted: Thu Jan 08, 2009 2:23 am Post subject: |
|
|
Pappy in answer to your first question, no, I only have one device as you can see from my previous post when I showed my lspci output. And I did go through the Gentoo alsa guide back when I initially set up my system a couple months ago. Yes I know I have several y's, and I'm sure most of them are not needed. However, the reason I have all those y's was because when I initially setup my sound those selections worked, after that I left it alone.
Now after I upgraded my kernel I figured I would try to find a way to trim it down and cut out some of the fluff. I actually based it off of one of your seeds that you did for me from a previous issue you helped me with. In it you had the following selected:
Quote: |
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_ATIHDMI=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
|
Under the 2.6.25 kernel your config worked, but it's not working under the 2.6.27, thats when I went back to my initial config (with all the y's) in an attempt to get the device to work. Either way, so far I still have no sound.
Since I lost my sound a couple days ago I have been looking through the alsa guide and unforunately I have not found a solution but after working on this tonight and trying different things I found what I think is the actual problem. I don't think I have a problem with my kernel config, it's something else, I just don't know what. When I fire up Audacious I noticed that it trys to play the music at multiple second intervals. What I mean by this is if I watch the progress bar instead of it going 1, 2, 3, 4... seconds it's going 12, 25, 32, 59...
Another thing I tried tonight was I reran speaker-test and it sounded like static. I did try unmerging then re-emerging audacious but I still have the problem with it skipping seconds.
Am I supposed to hear nothing but static when speaker-test runs? I asumming I'm supposted to hear something since when I read through the man page it was talking about playing wav files in /usr/share/sounds/alsa.
I'm going to go back though the Alsa guide to make sure I'm not missing anything. If anyone has any idea's I would really appreciate the help.
--------------- UPDATE -----------------
I got my sound working! After messing around and going back through the alsa guide I decided to try playing something through mplayer, it worked like a charm. Why I didn't think of that before I don't know. Anyway, I went back to audacious and checked out the plugin it was using. For some reason it was set to use the filewriter plugin instead of alsa, as soon as I changed that it worked. It's always the little things that get ya.
Thanks again for all your help. _________________ http://rivitir.com
Last edited by rivitir on Thu Jan 08, 2009 2:52 am; edited 1 time in total |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Thu Jan 08, 2009 2:42 am Post subject: |
|
|
make sure all sound stuff is modules... alsa tends not to like otherwise. _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Jan 08, 2009 5:37 am Post subject: |
|
|
Having all those extra devices can be problematic. In cases where you have extra modules just taking up space, they are benign. But when you install devices directly into the kernel, they mess with things.
I'm glad you sorted it all out and got your sound back.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|