LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   hda-intel no codec found (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/hda-intel-no-codec-found-916382/)

NKidOBlock 11-30-2011 09:53 AM

hda-intel no codec found
 
Hey all,

Hope everyone is well! I am in a bit of a puzzle. My laptop which has been running linux and has had sound for three years now has suddenly gone mute.

After a bit of reading I still am unable to figure out the answer and google is dried up.

The error message i get which I believe everything to be linked to is

Code:


dmesg | grep hda
[    8.878521] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[    8.878530] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[    8.878551] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    8.878618] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
[    8.878656] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[    8.903392] hda-intel: no codecs found!
[    8.903547] snd_hda_intel 0000:00:1b.0: PCI INT A disabled


Now lspci | grep audio

Code:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
But sudo alsaconf finds the cards but fails to set-up

Code:


loading driver...
:: Saving ALSA Levels[BUSY]
/usr/sbin/alsactl: save_state:1519: No soundcards found...[FAIL]
:: Restoring ALSA Levels[BUSY]
/usr/sbin/alsactl: load_state:1625: No soundcards found...[FAIL]
Setting default volumes...
amixer: Mixer attach default error: No such file or directory

Plus alsamixer doesn't work and aplay -l gives --no soundcard--

I really am at the end of the stick any help would be greatly appreciated. Thanks!

turfreijer 11-30-2011 05:20 PM

What distro are you using? Might be a conflict between alsa and pulseaudio?
Did this happen after an update or just like that?

Greetz,
Dave

H_TeXMeX_H 12-01-2011 04:40 AM

It is very important to know what you did right before this that might have caused this. It is rare for it to just suddenly stop working ... unless the card died. Still the audio controller is seen, so it probably hasn't died.

NKidOBlock 12-01-2011 05:32 AM

Thanks for your replies


@turfreijer The errors above are taken out of arch linux but I run Fedora 15 32bit(Matlab from the uni doesn't like arch) as well and it has the same error.

Code:


dmesg | grep hda
[  26.521941] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[  26.521951] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[  26.521971] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[  26.522070] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
[  26.522110] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[  26.530038] ALSA sound/pci/hda/hda_intel.c:2695 no codecs found!
[  26.530187] snd_hda_intel 0000:00:1b.0: PCI INT A disabled

I uninstalled pulse from Arch because it isn't required and that doesn't fix the alsa problem though.

@H_TeXMeX_H

The only thing that might have caused it was chrooting from Arch 64bit into Fedora to try and cheat matlab.

That is the only time i touched both /dev and /proc. Not to sure if that is the cause though as both have all other devices populated.

Still no luck with finding anything on the net. Most posts are resolved by adding the user to the audio group which mine is in both cases.

H_TeXMeX_H 12-01-2011 06:54 AM

So it suddenly stopped working in 2 different distros. That suggests possible hardware failure somewhere.

What did you do when you chrooted into Fedora, just run matlab ? If so, that would not explain this. It doesn't matter what you do to /dev and /proc, these are regenerated on reboot. The only thing that might affect it is changing alsa settings in /etc.

NKidOBlock 12-01-2011 11:39 AM

I hadn't had a chance to try out a live-cd but normally lspci doesn't resolve a specific name for broken hardware. From my experience it is listed as unknown or not listed at all. Any way of checking speaker and sound card separately? At least would narrow done the problem.

And yes I have fedora 15 only for matlab. I only get the 32 bit version for free :)

H_TeXMeX_H 12-01-2011 12:30 PM

On a laptop I would think the only other way to test the sound card is via the headphone jack, unless there are other outputs.

NKidOBlock 12-01-2011 04:22 PM

Problem with that is there is no way to output as the card is not there after boot-up. Alsamixer only shows the dummy pulseaudio output. Any other ideas? Thanks

padeen 12-01-2011 05:39 PM

Can you clarify the chroot? I gather you run arch64, then chroot into a Fedora 32bit environment. But that means you are still running a 64 bit kernel (Arch). Is that causing any problems with config files in Fedora being set up for a 32 bit environment but the kernel being 64 bit?

H_TeXMeX_H 12-02-2011 05:12 AM

Did you change anything in the BIOS settings, do check them and see if the card is enabled.

Try a live CD and see if it works there.

NKidOBlock 12-03-2011 08:30 AM

@ padeen Basically it is to do with tricking matlab into thinking it is running on 32 bit whilst running on a 64bit environment. So basically it is using the arch kernel with multilib-java support to run on the 64bit. Main reason for Fedora was that the uni only supported fedora/scientific linux as operating system for them to install it to next to the big M$ and OS$.

@Bios settings are still the same. I reckon it is a hardware issue. Borrowed a usb soundcard and that worked perfectly. Oh well looks like it is time to get a new laptop if the repair costs are too steep.

Cheers guys for all the help!


All times are GMT -5. The time now is 12:55 AM.