LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 11-30-2011, 10:53 AM   #1
NKidOBlock
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
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!
 
Old 11-30-2011, 06:20 PM   #2
turfreijer
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 12-01-2011, 05:40 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 12-01-2011, 06:32 AM   #4
NKidOBlock
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-01-2011, 07:54 AM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 12-01-2011, 12:39 PM   #6
NKidOBlock
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 12-01-2011, 01:30 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 12-01-2011, 05:22 PM   #8
NKidOBlock
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 12-01-2011, 06:39 PM   #9
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware 14, Debian 7, FreeBSD, OpenBSD
Posts: 179

Rep: Reputation: 35
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?
 
Old 12-02-2011, 06:12 AM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 12-03-2011, 09:30 AM   #11
NKidOBlock
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Original Poster
Rep: Reputation: 0
@ 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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NO sound with INTEL HDA (IDT codec) on HP DV4t-1000 TJ13820 Linux - Hardware 12 05-22-2009 05:53 AM
support for Realtek ALC262 HDA Audio Codec under linux-2.6.24 barunparichha Linux - Hardware 9 08-14-2008 06:38 AM
NForce sound card found & snd-hda-intel driver loaded, no sound Rod Butcher Linux - Hardware 8 03-05-2008 08:30 AM
ATI HDA Audio ALC861 codec and alsa on slackware ulukaj Linux - Laptop and Netbook 0 01-04-2008 04:17 AM


All times are GMT -5. The time now is 06:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration