14.1 Sound doesn't work
Hello!
So here's the situation; on Slackware 14.1, 3.10.17 generic, I can't seem to get any audio to work and I'm wondering if it's because my hardware isn't getting bound correctly to ALSA. I have:
output of "lsmod | grep snd" Code:
snd_hda_codec_hdmi 29622 1 output of "lspci -k | grep -i -A 7 audio" Code:
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition Audio Controller (rev 05) PS. Sorry for the terrible title. I thought I might have the chance to modify it after posting. |
Are you talking just regular sound, or HDMI, or?
What's the output of aplay -l? In alsamixer, what's the chipset? (F6 to select it.) My pre-caffeinated guess is that alsamixer is set to the NVIDIA one, not the sound card you think you're using. (I've got that issue as well.) Editing your .asoundrc in your home directory to point to the correct device will fix that. Check http://www.alsa-project.org/main/index.php/Main_Page for specifics about your sound card. |
Its near bedtime here where I'm so I'll have to check tomorrow but I'm hoping to get audio through the sound card; (to headphones) when i bring up alsamixer its default is to bring up the pc speaker but i didnt assume that was important (the order of what comes up first) The hdmi is totally blank and not possible to manipulate actually. F6 gives me the choice between my pc speaker, webcam, Realtek card and hdmi but pumping up the audio doesnt do anything. I forgot to mention that I installed the Realtek drivers from their site as an attempt to resolve the problem to no avail. I'll have the outputs when I get up.
|
Bit more caffeinated, but another thing to make sure is that the right kernel module is loaded. I can't count the number of times I've had trouble getting something working, tried a lot of things...and didn't bother to load the correct module.
A quick google search for that chip finds a bunch of problems: http://forums.opensuse.org/showthrea...driver-problem But since you've gotten it working under a few others, it sounds more like a configuration issue. (In my experience, 9 times out of 10 if something doesn't work under Slackware, it's a configuration issue.) Dumb question, but you're in the audio group, yeah? (/etc/group) |
output of "aplay -l"
Code:
sudo aplay -l Code:
[Thu Jul 10, 08:25 AM | ~] |
Dude, Garpu, you were right. Stupid configuration. Check this out:
output of "cat /proc/asound/cards" Code:
0 [pcsp ]: PC-Speaker - pcsp Code:
pcm.!default { Ok; so let's change it to 2, where our sound card is sitting, based on our cat command above, and...voila! Let there be sound. Perhaps newer kernels can better recognize this and / or other distros might supply an autoconf for asound.conf pointing to the 'supposedly' right card? Who knows. Who cares. What I like about Slackware is that changes like this are often easier than in other distros, just as an aside. Thanks again Garpu! Let me know where I can send some coffee... |
Awesome! Glad you got it working.
I suspect the issue is partially that the HDA Nvidia module gets loaded before your sound card's module, so it "defaults'" to the video card. My setup's a bit more complicated, but so long as the asoundrc points to the right device, it should work. You should be able to blacklist the Nvidia sound module, so it doesn't load. So if you reboot and don't have any sound, double check aplay -l for the correct device. That having been said, every time I update/reinstall Slackware, I wind up forgetting to add myself to the audio group. :) |
Why isn't it default? I guess the point of Slackware (of which I'm a newbie) is to focus on providing vanilla results and allow the user to provide the configurations themselves. I think blacklisting the HDMI module would be tricky as it's the same module the PCH card is using! Most of the sound is working across the board, but I haven't had time to check if a reboot will enable the sound in chrome (from youtube and the like...) I'm hoping it does. If I find an issue + resolution I'll post it here.
|
Yeah, in that case you may have to change your .asoundrc if you reboot. Not a big deal. I only need to reboot every month or so, and that's usually because the power went out. ;)
|
All times are GMT -5. The time now is 03:19 PM. |