LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   New 2.6.24.4 kernel, sound gone (https://www.linuxquestions.org/questions/slackware-14/new-2-6-24-4-kernel-sound-gone-632469/)

TL_CLD 04-02-2008 10:15 AM

New 2.6.24.4 kernel, sound gone
 
Hey all,

I've successfully compiled a new kernel for Slackware 12, and now my sound in KDE is gone.

I've used the same config as I did for the 2.6.23.13 kernel, except for minor changes to the File System part of the config file.

Alsaconf reports finding an hda-intel 82801H sound card, and configuration completes without any errors. But when I run alsamixer, I get this:

alsamixer: function snd_ctl_open failed for default: No such device

What am I doing wrong? Any and all suggestions are more than welcome!

:)
Thomas

Rupa 04-02-2008 10:30 AM

This seems to be a known problem, google reveals many workarounds and patches. As I'm not affected myself and you didn't mention any detail I'm not able to suggest a specific one of them. I'm quite sure that this will be fixed in linux itself anyway, so it might be a good idea to test the latest git-Kernel 2.6.25-rc7. I'm running 2.6.25-rc6 without any problems (because of some wifi related issues).

psychicist 04-02-2008 11:16 AM

Another thing that you may have to do is upgrading the alsa-lib, alsa-oss and alsa-utils packages to 1.0.16+ since the in kernel alsa driver version is likely to be higher than 1.0.16 (probably cvs) too. APIs and ABIs change and you can't always expect to upgrade kernel components without upgrading their user mode counterparts as well.

TL_CLD 04-02-2008 12:16 PM

Fixed it by recompiling the kernel, saying yes to these config settings:

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

Apparently they werent there in my previous 2.6.23.1 kernel.

Now my sound works again. All is well.

:)
Thomas

pdw_hu 04-02-2008 01:11 PM

Do "cat /proc/asound/card0/codec#0 | grep Codec" to see what codec you have so you won't have to compile everyone in the kernel.


All times are GMT -5. The time now is 07:31 AM.