mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
@ 2010-10-26 14:54 Jaswinder Singh
  2010-10-26 15:19 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Jaswinder Singh @ 2010-10-26 14:54 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela, Linux Kernel Mailing List

Hello,

Audio is not working with new Intel WX58BP Motherboard :

[    4.843163] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
Mode:1 Active:1)
[    4.843168] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
low) -> IRQ 22
[    4.861627] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[    4.861645] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    4.866678] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!
[    4.876300] HDA Intel 0000:00:1b.0: PCI INT A disabled
[    4.885826] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
low) -> IRQ 17
[    4.905269] HDA Intel 0000:02:00.1: irq 47 for MSI/MSI-X
[    4.905282] HDA Intel 0000:02:00.1: setting latency timer to 64
[    4.909136] ALSA device list:
[    4.918895]   #0: HDA ATI HDMI at 0xd0110000 irq 47

dmesg : http://userweb.kernel.org/~jaswinder/Corei7/dmesg_b18cae4224b.txt
config : http://userweb.kernel.org/~jaswinder/Corei7/configs_b18cae4224b.txt

$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
Audio Controller
02:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon
HD 34xx Series]

lspci : http://userweb.kernel.org/~jaswinder/Corei7/lspci.txt

If more information is needed, please let me know.

Thanks,
--
Jaswinder Singh.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-26 14:54 ALSA sound/pci/hda/hda_intel.c:2624: no codecs found Jaswinder Singh
@ 2010-10-26 15:19 ` Takashi Iwai
  2010-10-27  4:35   ` Jaswinder Singh
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2010-10-26 15:19 UTC (permalink / raw)
  To: Jaswinder Singh; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

At Tue, 26 Oct 2010 20:24:23 +0530,
Jaswinder Singh wrote:
> 
> Hello,
> 
> Audio is not working with new Intel WX58BP Motherboard :
> 
> [    4.843163] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
> Mode:1 Active:1)
> [    4.843168] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
> low) -> IRQ 22
> [    4.861627] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
> [    4.861645] HDA Intel 0000:00:1b.0: setting latency timer to 64
> [    4.866678] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!
> [    4.876300] HDA Intel 0000:00:1b.0: PCI INT A disabled
> [    4.885826] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
> low) -> IRQ 17
> [    4.905269] HDA Intel 0000:02:00.1: irq 47 for MSI/MSI-X
> [    4.905282] HDA Intel 0000:02:00.1: setting latency timer to 64
> [    4.909136] ALSA device list:
> [    4.918895]   #0: HDA ATI HDMI at 0xd0110000 irq 47
> 
> dmesg : http://userweb.kernel.org/~jaswinder/Corei7/dmesg_b18cae4224b.txt
> config : http://userweb.kernel.org/~jaswinder/Corei7/configs_b18cae4224b.txt
> 
> $ lspci | grep Audio
> 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
> Audio Controller
> 02:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon
> HD 34xx Series]
> 
> lspci : http://userweb.kernel.org/~jaswinder/Corei7/lspci.txt

I don't see anything wrong.
Are you sure that the analog on-board audio is enabled in BIOS?


Takashi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-26 15:19 ` Takashi Iwai
@ 2010-10-27  4:35   ` Jaswinder Singh
  2010-10-27  5:48     ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Jaswinder Singh @ 2010-10-27  4:35 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

Hello,

On Tue, Oct 26, 2010 at 8:49 PM, Takashi Iwai <tiwai@suse.de> wrote:
> At Tue, 26 Oct 2010 20:24:23 +0530,
> Jaswinder Singh wrote:
>>
>> Hello,
>>
>> Audio is not working with new Intel WX58BP Motherboard :
>>
>> [    4.843163] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
>> Mode:1 Active:1)
>> [    4.843168] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
>> low) -> IRQ 22
>> [    4.861627] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
>> [    4.861645] HDA Intel 0000:00:1b.0: setting latency timer to 64
>> [    4.866678] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!
>> [    4.876300] HDA Intel 0000:00:1b.0: PCI INT A disabled
>> [    4.885826] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
>> low) -> IRQ 17
>> [    4.905269] HDA Intel 0000:02:00.1: irq 47 for MSI/MSI-X
>> [    4.905282] HDA Intel 0000:02:00.1: setting latency timer to 64
>> [    4.909136] ALSA device list:
>> [    4.918895]   #0: HDA ATI HDMI at 0xd0110000 irq 47
>>
>> dmesg : http://userweb.kernel.org/~jaswinder/Corei7/dmesg_b18cae4224b.txt
>> config : http://userweb.kernel.org/~jaswinder/Corei7/configs_b18cae4224b.txt
>>
>> $ lspci | grep Audio
>> 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
>> Audio Controller
>> 02:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon
>> HD 34xx Series]
>>
>> lspci : http://userweb.kernel.org/~jaswinder/Corei7/lspci.txt
>
> I don't see anything wrong.
> Are you sure that the analog on-board audio is enabled in BIOS?
>

Yes, audio is enabled in BIOS.

But Audio is not working and on-board Intel audio device is not
visible in Sound Preferences only RV620 Audio device [Radeon HD 34xx
Series] Digital Stereo (HDMI) Output device is available which I can
not use as Radeon HD 3450 is a graphics card.

Why I am getting "[    4.866678] ALSA sound/pci/hda/hda_intel.c:2624:
no codecs found!"

In my old WX58BP motherboard audio was working and I was not getting
codecs error and shows on-board Intel device is ALSA device list with
irq 31 :
[    3.439490] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
low) -> IRQ 22
[    3.439526] HDA Intel 0000:00:1b.0: irq 31 for MSI/MSI-X
[    3.439548] HDA Intel 0000:00:1b.0: setting latency timer to 64
..
[    3.746498] input: HDA Digital PCBeep as
/devices/pci0000:00/0000:00:1b.0/input/input3
[    3.749532] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
low) -> IRQ 17
[    3.749573] HDA Intel 0000:02:00.1: irq 32 for MSI/MSI-X
[    3.749597] HDA Intel 0000:02:00.1: setting latency timer to 64
[    3.753833] ALSA device list:
[    3.753837]   #0: HDA Intel at 0xf0000000 irq 31
[    3.753838]   #1: HDA ATI HDMI at 0xd0110000 irq 32

dmesg of old WX58BP Motherboard :
http://userweb.kernel.org/~jaswinder/Corei7/dmesg_apic_verbose.txt

If more information is needed or need to run some tests, please let me know.

Thanks,
--
Jaswinder Singh.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-27  4:35   ` Jaswinder Singh
@ 2010-10-27  5:48     ` Takashi Iwai
  2010-10-27  7:27       ` Jaswinder Singh
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2010-10-27  5:48 UTC (permalink / raw)
  To: Jaswinder Singh; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

At Wed, 27 Oct 2010 10:05:06 +0530,
Jaswinder Singh wrote:
> 
> Hello,
> 
> On Tue, Oct 26, 2010 at 8:49 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 26 Oct 2010 20:24:23 +0530,
> > Jaswinder Singh wrote:
> >>
> >> Hello,
> >>
> >> Audio is not working with new Intel WX58BP Motherboard :
> >>
> >> [    4.843163] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
> >> Mode:1 Active:1)
> >> [    4.843168] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
> >> low) -> IRQ 22
> >> [    4.861627] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
> >> [    4.861645] HDA Intel 0000:00:1b.0: setting latency timer to 64
> >> [    4.866678] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!
> >> [    4.876300] HDA Intel 0000:00:1b.0: PCI INT A disabled
> >> [    4.885826] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
> >> low) -> IRQ 17
> >> [    4.905269] HDA Intel 0000:02:00.1: irq 47 for MSI/MSI-X
> >> [    4.905282] HDA Intel 0000:02:00.1: setting latency timer to 64
> >> [    4.909136] ALSA device list:
> >> [    4.918895]   #0: HDA ATI HDMI at 0xd0110000 irq 47
> >>
> >> dmesg : http://userweb.kernel.org/~jaswinder/Corei7/dmesg_b18cae4224b.txt
> >> config : http://userweb.kernel.org/~jaswinder/Corei7/configs_b18cae4224b.txt
> >>
> >> $ lspci | grep Audio
> >> 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
> >> Audio Controller
> >> 02:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon
> >> HD 34xx Series]
> >>
> >> lspci : http://userweb.kernel.org/~jaswinder/Corei7/lspci.txt
> >
> > I don't see anything wrong.
> > Are you sure that the analog on-board audio is enabled in BIOS?
> >
> 
> Yes, audio is enabled in BIOS.

OK, and does it work with other kernel versions or other OS?

> But Audio is not working and on-board Intel audio device is not
> visible in Sound Preferences only RV620 Audio device [Radeon HD 34xx
> Series] Digital Stereo (HDMI) Output device is available which I can
> not use as Radeon HD 3450 is a graphics card.
> 
> Why I am getting "[    4.866678] ALSA sound/pci/hda/hda_intel.c:2624:
> no codecs found!"

This is about the Intel HD-audio codec controller.
Your machine have two controllers, and the second one is fine, used
for ATI HDMI.

> In my old WX58BP motherboard audio was working and I was not getting
> codecs error and shows on-board Intel device is ALSA device list with
> irq 31 :
> [    3.439490] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
> low) -> IRQ 22
> [    3.439526] HDA Intel 0000:00:1b.0: irq 31 for MSI/MSI-X
> [    3.439548] HDA Intel 0000:00:1b.0: setting latency timer to 64
> ..
> [    3.746498] input: HDA Digital PCBeep as
> /devices/pci0000:00/0000:00:1b.0/input/input3
> [    3.749532] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
> low) -> IRQ 17
> [    3.749573] HDA Intel 0000:02:00.1: irq 32 for MSI/MSI-X
> [    3.749597] HDA Intel 0000:02:00.1: setting latency timer to 64
> [    3.753833] ALSA device list:
> [    3.753837]   #0: HDA Intel at 0xf0000000 irq 31
> [    3.753838]   #1: HDA ATI HDMI at 0xd0110000 irq 32
> 
> dmesg of old WX58BP Motherboard :
> http://userweb.kernel.org/~jaswinder/Corei7/dmesg_apic_verbose.txt
> 
> If more information is needed or need to run some tests, please let me know.

Try probing as a module.  It makes easier to debug.
Other than that, I have no idea.  The probing works nowadays fairly
stably...


Takashi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-27  5:48     ` Takashi Iwai
@ 2010-10-27  7:27       ` Jaswinder Singh
  2010-10-27  7:44         ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Jaswinder Singh @ 2010-10-27  7:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

On Wed, Oct 27, 2010 at 11:18 AM, Takashi Iwai <tiwai@suse.de> wrote:
> At Wed, 27 Oct 2010 10:05:06 +0530,
> Jaswinder Singh wrote:
>>
>
> OK, and does it work with other kernel versions or other OS?
>

Yes, I also tried with older kernel version but no success.

Only Linux OS is installed on this machine.

>>
>> If more information is needed or need to run some tests, please let me know.
>
> Try probing as a module.  It makes easier to debug.

I loaded it as module with debugging :

$ lsmod
Module                  Size  Used by
snd_hda_codec_hdmi     23156  1
snd_hda_intel          24921  0
snd_hda_codec          83458  2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               5916  1 snd_hda_codec

[    7.854510] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
Mode:1 Active:1)
[    7.854515] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
low) -> IRQ 22
[    7.854569] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[    7.854589] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    7.854593] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
capabilities = 0x4401
[    7.859681] ALSA sound/pci/hda/hda_intel.c:913: codec_mask = 0x0
[    7.859687] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!
[    7.859727] HDA Intel 0000:00:1b.0: PCI INT A disabled
[    7.859748] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
low) -> IRQ 17
[    7.859787] HDA Intel 0000:02:00.1: irq 47 for MSI/MSI-X
[    7.859801] HDA Intel 0000:02:00.1: setting latency timer to 64
[    7.859804] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
capabilities = 0x1001
[    7.863672] ALSA sound/pci/hda/hda_intel.c:913: codec_mask = 0x1
[    7.863711] ALSA sound/pci/hda/hda_intel.c:1351: codec #0 probed OK
..
[   19.359243] [drm] Setting GART location based on new memory map
[   19.359463] [drm] Loading RV620 CP Microcode
[   19.453202] [drm] Resetting GPU
[   19.453261] [drm] writeback test succeeded in 1 usecs
[   24.314141] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x4b00, format=0x11
[   24.314150] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   24.315942] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x4b00, format=0x11
[   24.315949] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   24.316604] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[   24.316631] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[   24.318073] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x10000, format=0x11
[   24.318082] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   24.318100] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x10000, format=0x11
[   24.318106] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   24.350300] hda-intel: IRQ timing workaround is activated for card
#0. Suggest a bigger bdl_pos_adj.
[   27.634907] eth1: no IPv6 routers present
[   29.044300] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[   29.044332] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[   31.347000] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x4b00, format=0x11
[   31.347009] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   31.347028] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x4b00, format=0x11
[   31.347035] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   31.347712] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[   31.347742] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[   31.363221] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x10000, format=0x11
[   31.363229] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   31.363245] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x10000, format=0x11
[   31.363252] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[   36.564753] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[   36.564798] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2

Thanks,
--
Jaswinder Singh.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-27  7:27       ` Jaswinder Singh
@ 2010-10-27  7:44         ` Takashi Iwai
  2010-10-27 12:23           ` Jaswinder Singh
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2010-10-27  7:44 UTC (permalink / raw)
  To: Jaswinder Singh; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

At Wed, 27 Oct 2010 12:57:35 +0530,
Jaswinder Singh wrote:
> 
> On Wed, Oct 27, 2010 at 11:18 AM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Wed, 27 Oct 2010 10:05:06 +0530,
> > Jaswinder Singh wrote:
> >>
> >
> > OK, and does it work with other kernel versions or other OS?
> >
> 
> Yes, I also tried with older kernel version but no success.
> 
> Only Linux OS is installed on this machine.
> 
> >>
> >> If more information is needed or need to run some tests, please let me know.
> >
> > Try probing as a module.  It makes easier to debug.
> 
> I loaded it as module with debugging :
> 
> $ lsmod
> Module                  Size  Used by
> snd_hda_codec_hdmi     23156  1
> snd_hda_intel          24921  0
> snd_hda_codec          83458  2 snd_hda_codec_hdmi,snd_hda_intel
> snd_hwdep               5916  1 snd_hda_codec
> 
> [    7.854510] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
> Mode:1 Active:1)
> [    7.854515] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
> low) -> IRQ 22
> [    7.854569] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
> [    7.854589] HDA Intel 0000:00:1b.0: setting latency timer to 64
> [    7.854593] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
> capabilities = 0x4401
> [    7.859681] ALSA sound/pci/hda/hda_intel.c:913: codec_mask = 0x0
> [    7.859687] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!

So, the hardware (BIOS) tells no codec is connected to this bus.

As a last resort, you can try to load with probe_mask=0x10f.  This
will probe the codec chips forcibly no matter whether it's present or
not.


Takashi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-27  7:44         ` Takashi Iwai
@ 2010-10-27 12:23           ` Jaswinder Singh
  2010-10-27 13:05             ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Jaswinder Singh @ 2010-10-27 12:23 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

On Wed, Oct 27, 2010 at 1:14 PM, Takashi Iwai <tiwai@suse.de> wrote:
> At Wed, 27 Oct 2010 12:57:35 +0530,
> Jaswinder Singh wrote:
>>
>>
>> [    7.854510] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
>> Mode:1 Active:1)
>> [    7.854515] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
>> low) -> IRQ 22
>> [    7.854569] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
>> [    7.854589] HDA Intel 0000:00:1b.0: setting latency timer to 64
>> [    7.854593] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
>> capabilities = 0x4401
>> [    7.859681] ALSA sound/pci/hda/hda_intel.c:913: codec_mask = 0x0
>> [    7.859687] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!
>
> So, the hardware (BIOS) tells no codec is connected to this bus.
>

Hmm, very strange, but In BIOS sound is enable. How is this possible.

> As a last resort, you can try to load with probe_mask=0x10f.  This
> will probe the codec chips forcibly no matter whether it's present or
> not.
>

# /sbin/insmod sound/pci/hda/snd-hda-intel.ko probe_mask=0x10f

[  536.851846] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
low) -> IRQ 22
[  536.851849] hda_intel: codec_mask forced to 0xf
[  536.851908] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[  536.851927] HDA Intel 0000:00:1b.0: setting latency timer to 64
[  536.851932] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
capabilities = 0x4401
[  537.857929] ALSA sound/pci/hda/hda_intel.c:706: azx_get_response
timeout, polling the codec once: last cmd=0x000f0000
[  538.856516] ALSA sound/pci/hda/hda_intel.c:706: azx_get_response
timeout, polling the codec once: last cmd=0x000f0000
[  539.855096] ALSA sound/pci/hda/hda_intel.c:716: azx_get_response
timeout, switching to polling mode: last cmd=0x000f0000
[  540.853681] ALSA sound/pci/hda/hda_intel.c:724: No response from
codec, disabling MSI: last cmd=0x000f0000
[  541.852269] ALSA sound/pci/hda/hda_intel.c:1429: Codec #0 probe
error; disabling it...
[  542.858837] ALSA sound/pci/hda/hda_intel.c:1429: Codec #1 probe
error; disabling it...
[  543.865396] ALSA sound/pci/hda/hda_intel.c:1429: Codec #2 probe
error; disabling it...
[  544.871963] ALSA sound/pci/hda/hda_intel.c:1429: Codec #3 probe
error; disabling it...
[  544.879942] ALSA sound/pci/hda/hda_intel.c:913: codec_mask = 0x0
[  544.879949] ALSA sound/pci/hda/hda_intel.c:1456: no codecs initialized
[  544.880011] HDA Intel 0000:00:1b.0: PCI INT A disabled
[  544.880037] HDA Intel 0000:02:00.1: PCI INT B -> GSI 17 (level,
low) -> IRQ 17
[  544.880039] hda_intel: codec_mask forced to 0xf
[  544.880086] HDA Intel 0000:02:00.1: irq 47 for MSI/MSI-X
[  544.880102] HDA Intel 0000:02:00.1: setting latency timer to 64
[  544.880105] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
capabilities = 0x1001
[  544.883989] ALSA sound/pci/hda/hda_intel.c:1351: codec #0 probed OK
[  545.882519] ALSA sound/pci/hda/hda_intel.c:706: azx_get_response
timeout, polling the codec once: last cmd=0x100f0000
[  546.881107] ALSA sound/pci/hda/hda_intel.c:706: azx_get_response
timeout, polling the codec once: last cmd=0x100f0000
[  547.879688] ALSA sound/pci/hda/hda_intel.c:716: azx_get_response
timeout, switching to polling mode: last cmd=0x100f0000
[  548.878273] ALSA sound/pci/hda/hda_intel.c:724: No response from
codec, disabling MSI: last cmd=0x100f0000
[  549.876863] ALSA sound/pci/hda/hda_intel.c:1429: Codec #1 probe
error; disabling it...
[  550.879431] ALSA sound/pci/hda/hda_intel.c:1429: Codec #2 probe
error; disabling it...
[  551.882009] ALSA sound/pci/hda/hda_intel.c:1429: Codec #3 probe
error; disabling it...
[  551.908789] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x4b00, format=0x11
[  551.908800] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[  551.908847] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x4b00, format=0x11
[  551.908855] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[  551.910077] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[  551.910111] ALSA sound/pci/hda/hda_codec.c:1290:
hda_codec_cleanup_stream: NID=0x2
[  551.912482] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x10000, format=0x11
[  551.912492] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[  551.912515] ALSA sound/pci/hda/hda_intel.c:1675: azx_pcm_prepare:
bufsize=0x10000, format=0x11
[  551.912524] ALSA sound/pci/hda/hda_codec.c:1227:
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x11
[  551.945208] hda-intel: IRQ timing workaround is activated for card
#0. Suggest a bigger bdl_pos_adj.


Thanks,
--
Jaswinder Singh.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-27 12:23           ` Jaswinder Singh
@ 2010-10-27 13:05             ` Takashi Iwai
  2010-10-27 13:11               ` Jaswinder Singh
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2010-10-27 13:05 UTC (permalink / raw)
  To: Jaswinder Singh; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

At Wed, 27 Oct 2010 17:53:52 +0530,
Jaswinder Singh wrote:
> 
> On Wed, Oct 27, 2010 at 1:14 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Wed, 27 Oct 2010 12:57:35 +0530,
> > Jaswinder Singh wrote:
> >>
> >>
> >> [    7.854510] IOAPIC[0]: Set routing entry (8-22 -> 0xa9 -> IRQ 22
> >> Mode:1 Active:1)
> >> [    7.854515] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
> >> low) -> IRQ 22
> >> [    7.854569] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
> >> [    7.854589] HDA Intel 0000:00:1b.0: setting latency timer to 64
> >> [    7.854593] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
> >> capabilities = 0x4401
> >> [    7.859681] ALSA sound/pci/hda/hda_intel.c:913: codec_mask = 0x0
> >> [    7.859687] ALSA sound/pci/hda/hda_intel.c:2624: no codecs found!
> >
> > So, the hardware (BIOS) tells no codec is connected to this bus.
> >
> 
> Hmm, very strange, but In BIOS sound is enable. How is this possible.

No idea.  Any jumpers?


> > As a last resort, you can try to load with probe_mask=0x10f.  This
> > will probe the codec chips forcibly no matter whether it's present or
> > not.
> >
> 
> # /sbin/insmod sound/pci/hda/snd-hda-intel.ko probe_mask=0x10f
> 
> [  536.851846] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
> low) -> IRQ 22
> [  536.851849] hda_intel: codec_mask forced to 0xf
> [  536.851908] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X
> [  536.851927] HDA Intel 0000:00:1b.0: setting latency timer to 64
> [  536.851932] ALSA sound/pci/hda/hda_intel.c:2529: chipset global
> capabilities = 0x4401
> [  537.857929] ALSA sound/pci/hda/hda_intel.c:706: azx_get_response
> timeout, polling the codec once: last cmd=0x000f0000
> [  538.856516] ALSA sound/pci/hda/hda_intel.c:706: azx_get_response
> timeout, polling the codec once: last cmd=0x000f0000
> [  539.855096] ALSA sound/pci/hda/hda_intel.c:716: azx_get_response
> timeout, switching to polling mode: last cmd=0x000f0000
> [  540.853681] ALSA sound/pci/hda/hda_intel.c:724: No response from
> codec, disabling MSI: last cmd=0x000f0000
> [  541.852269] ALSA sound/pci/hda/hda_intel.c:1429: Codec #0 probe
> error; disabling it...
> [  542.858837] ALSA sound/pci/hda/hda_intel.c:1429: Codec #1 probe
> error; disabling it...
> [  543.865396] ALSA sound/pci/hda/hda_intel.c:1429: Codec #2 probe
> error; disabling it...
> [  544.871963] ALSA sound/pci/hda/hda_intel.c:1429: Codec #3 probe
> error; disabling it...

So, the driver tries to probe all slots, but in vain.


Takashi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-27 13:05             ` Takashi Iwai
@ 2010-10-27 13:11               ` Jaswinder Singh
  2010-10-27 14:49                 ` Jaswinder Singh
  0 siblings, 1 reply; 10+ messages in thread
From: Jaswinder Singh @ 2010-10-27 13:11 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

Hello,

On Wed, Oct 27, 2010 at 6:35 PM, Takashi Iwai <tiwai@suse.de> wrote:
> At Wed, 27 Oct 2010 17:53:52 +0530,
> Jaswinder Singh wrote:
>>
>>
>> Hmm, very strange, but In BIOS sound is enable. How is this possible.
>
> No idea.  Any jumpers?
>

OK, I will check the jumpers.

Here is the link of alsa-info.txt :
http://userweb.kernel.org/~jaswinder/Corei7/alsa-info.txt

If we can run some more tests, please let me know.

Thanks,
--
Jaswinder Singh.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA sound/pci/hda/hda_intel.c:2624: no codecs found
  2010-10-27 13:11               ` Jaswinder Singh
@ 2010-10-27 14:49                 ` Jaswinder Singh
  0 siblings, 0 replies; 10+ messages in thread
From: Jaswinder Singh @ 2010-10-27 14:49 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, Linux Kernel Mailing List

Hello,

On Wed, Oct 27, 2010 at 6:41 PM, Jaswinder Singh
<jaswinderlinux@gmail.com> wrote:
>
> On Wed, Oct 27, 2010 at 6:35 PM, Takashi Iwai <tiwai@suse.de> wrote:
>> At Wed, 27 Oct 2010 17:53:52 +0530,
>> Jaswinder Singh wrote:
>>>
>>>
>>> Hmm, very strange, but In BIOS sound is enable. How is this possible.
>>
>> No idea.  Any jumpers?
>>
>
> OK, I will check the jumpers.
>

There is no such option to disable audio with jumpers as per link of
Motherboard manual :

http://www.intel.com/support/motherboards/server/wx58bp/sb/CS-030366.htm
http://download.intel.com/support/motherboards/server/wx58bp/sb/e69058001_wx58bp_productguide_001.pdf

Manual says that Audio codec will be RealTek* ALC889 codec (not sure)

lspci -n says : 8086:3a3e

8086:3a3e is supported or not.

> Here is the link of alsa-info.txt :
> http://userweb.kernel.org/~jaswinder/Corei7/alsa-info.txt
>
> If we can run some more tests, please let me know.
>

Thanks,
--
Jaswinder Singh.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-27 14:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 14:54 ALSA sound/pci/hda/hda_intel.c:2624: no codecs found Jaswinder Singh
2010-10-26 15:19 ` Takashi Iwai
2010-10-27  4:35   ` Jaswinder Singh
2010-10-27  5:48     ` Takashi Iwai
2010-10-27  7:27       ` Jaswinder Singh
2010-10-27  7:44         ` Takashi Iwai
2010-10-27 12:23           ` Jaswinder Singh
2010-10-27 13:05             ` Takashi Iwai
2010-10-27 13:11               ` Jaswinder Singh
2010-10-27 14:49                 ` Jaswinder Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®