2007-11-07 23:07:40

by Gerhard Mack

[permalink] [raw]
Subject: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio

hello,

This worked fine in 2.6.23 but now the kernel no longer sees my audio
controller.

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
a2)
00:10.1 0403: 10de:026c (rev a2)

Let me know if I can provide more info or test patches.

Gerhard

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.


2007-11-07 23:21:58

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio

> On Wed, 7 Nov 2007 17:39:41 -0500 (EST) Gerhard Mack <[email protected]> wrote:
> hello,
>
> This worked fine in 2.6.23 but now the kernel no longer sees my audio
> controller.
>
> 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
> a2)
> 00:10.1 0403: 10de:026c (rev a2)
>
> Let me know if I can provide more info or test patches.
>

Please provide the output of `dmesg -s 1000000' for both 2.6.23
and 2.6.24-rc3, thanks.

Are you sure that the driver is suitably configured? Sometimes
we like to fiddle config options so that a `make oldconfig' will go and
unconfigure drivers which you need.

2007-11-08 00:07:28

by Gerhard Mack

[permalink] [raw]
Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio

On Wed, 7 Nov 2007, Andrew Morton wrote:

> Date: Wed, 7 Nov 2007 15:21:27 -0800
> From: Andrew Morton <[email protected]>
> To: Gerhard Mack <[email protected]>
> Cc: [email protected], Jaroslav Kysela <[email protected]>,
> Takashi Iwai <[email protected]>, Rafael J. Wysocki <[email protected]>
> Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio
>
> > On Wed, 7 Nov 2007 17:39:41 -0500 (EST) Gerhard Mack <[email protected]> wrote:
> > hello,
> >
> > This worked fine in 2.6.23 but now the kernel no longer sees my audio
> > controller.
> >
> > 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
> > a2)
> > 00:10.1 0403: 10de:026c (rev a2)
> >
> > Let me know if I can provide more info or test patches.
> >
>
> Please provide the output of `dmesg -s 1000000' for both 2.6.23
> and 2.6.24-rc3, thanks.
>
> Are you sure that the driver is suitably configured? Sometimes
> we like to fiddle config options so that a `make oldconfig' will go and
> unconfigure drivers which you need.

Found an option for generic HD audio and enabled that with only marginally
better results. Now instead of not detecting my card it's showing a
single volume control in the mixer and not providing any sound at all.

2.6.23:
Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20
09:12:58 2007 UTC).
ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
-> IRQ 22
PCI: Setting latency timer of device 0000:00:10.1 to 64
ALSA device list:
#0: HDA NVidia at 0xfe024000 irq 22
GACT probability on

2.6.24-rc2:
Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23
06:09:18 2007 UTC).
ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
-> IRQ 22
PCI: Setting latency timer of device 0000:00:10.1 to 64
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d8000101f761]
ALSA device list:
#0: HDA NVidia at 0xfe024000 irq 22
GACT probability on



--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.


Attachments:
v2.6.23.dmesg (20.57 kB)
v2.6.24-rc2.dmesg (20.75 kB)
Download all attachments

2007-11-08 06:52:15

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio

At Wed, 7 Nov 2007 19:07:07 -0500 (EST),
Gerhard Mack wrote:
>
> On Wed, 7 Nov 2007, Andrew Morton wrote:
>
> > Date: Wed, 7 Nov 2007 15:21:27 -0800
> > From: Andrew Morton <[email protected]>
> > To: Gerhard Mack <[email protected]>
> > Cc: [email protected], Jaroslav Kysela <[email protected]>,
> > Takashi Iwai <[email protected]>, Rafael J. Wysocki <[email protected]>
> > Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio
> >
> > > On Wed, 7 Nov 2007 17:39:41 -0500 (EST) Gerhard Mack <[email protected]> wrote:
> > > hello,
> > >
> > > This worked fine in 2.6.23 but now the kernel no longer sees my audio
> > > controller.
> > >
> > > 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
> > > a2)
> > > 00:10.1 0403: 10de:026c (rev a2)
> > >
> > > Let me know if I can provide more info or test patches.
> > >
> >
> > Please provide the output of `dmesg -s 1000000' for both 2.6.23
> > and 2.6.24-rc3, thanks.
> >
> > Are you sure that the driver is suitably configured? Sometimes
> > we like to fiddle config options so that a `make oldconfig' will go and
> > unconfigure drivers which you need.
>
> Found an option for generic HD audio and enabled that with only marginally
> better results. Now instead of not detecting my card it's showing a
> single volume control in the mixer and not providing any sound at all.
>
> 2.6.23:
> Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20
> 09:12:58 2007 UTC).
> ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> -> IRQ 22
> PCI: Setting latency timer of device 0000:00:10.1 to 64
> ALSA device list:
> #0: HDA NVidia at 0xfe024000 irq 22
> GACT probability on
>
> 2.6.24-rc2:
> Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23
> 06:09:18 2007 UTC).
> ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> -> IRQ 22
> PCI: Setting latency timer of device 0000:00:10.1 to 64
> ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d8000101f761]
> ALSA device list:
> #0: HDA NVidia at 0xfe024000 irq 22
> GACT probability on

Both look OK.

Please show your kernel config and /proc/asound/card0/codec#*
contents. Did you choose CONFIG_SND_HDA_CODEC_* properly?

Also, please be more specific about your hardware. The implementation
of HD-audio stuff is deifferent greatly among products. It's very
important to know what kind of machine (h/w vendor, product name,
model, etc) to identify whether the configuration is known or not
(i.e. it was really supported or it worked just casually).


Takashi

2007-11-08 13:38:40

by Gerhard Mack

[permalink] [raw]
Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio

On Thu, 8 Nov 2007, Takashi Iwai wrote:

> At Wed, 7 Nov 2007 19:07:07 -0500 (EST),
> Gerhard Mack wrote:
> >
> > On Wed, 7 Nov 2007, Andrew Morton wrote:
> >
> > > Date: Wed, 7 Nov 2007 15:21:27 -0800
> > > From: Andrew Morton <[email protected]>
> > > To: Gerhard Mack <[email protected]>
> > > Cc: [email protected], Jaroslav Kysela <[email protected]>,
> > > Takashi Iwai <[email protected]>, Rafael J. Wysocki <[email protected]>
> > > Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio
> > >
> > > > On Wed, 7 Nov 2007 17:39:41 -0500 (EST) Gerhard Mack <[email protected]> wrote:
> > > > hello,
> > > >
> > > > This worked fine in 2.6.23 but now the kernel no longer sees my audio
> > > > controller.
> > > >
> > > > 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
> > > > a2)
> > > > 00:10.1 0403: 10de:026c (rev a2)
> > > >
> > > > Let me know if I can provide more info or test patches.
> > > >
> > >
> > > Please provide the output of `dmesg -s 1000000' for both 2.6.23
> > > and 2.6.24-rc3, thanks.
> > >
> > > Are you sure that the driver is suitably configured? Sometimes
> > > we like to fiddle config options so that a `make oldconfig' will go and
> > > unconfigure drivers which you need.
> >
> > Found an option for generic HD audio and enabled that with only marginally
> > better results. Now instead of not detecting my card it's showing a
> > single volume control in the mixer and not providing any sound at all.
> >
> > 2.6.23:
> > Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20
> > 09:12:58 2007 UTC).
> > ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> > ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> > -> IRQ 22
> > PCI: Setting latency timer of device 0000:00:10.1 to 64
> > ALSA device list:
> > #0: HDA NVidia at 0xfe024000 irq 22
> > GACT probability on
> >
> > 2.6.24-rc2:
> > Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23
> > 06:09:18 2007 UTC).
> > ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> > ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> > -> IRQ 22
> > PCI: Setting latency timer of device 0000:00:10.1 to 64
> > ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d8000101f761]
> > ALSA device list:
> > #0: HDA NVidia at 0xfe024000 irq 22
> > GACT probability on
>
> Both look OK.
>
> Please show your kernel config and /proc/asound/card0/codec#*
> contents. Did you choose CONFIG_SND_HDA_CODEC_* properly?
>
> Also, please be more specific about your hardware. The implementation
> of HD-audio stuff is deifferent greatly among products. It's very
> important to know what kind of machine (h/w vendor, product name,
> model, etc) to identify whether the configuration is known or not
> (i.e. it was really supported or it worked just casually).

The machine is an Asus M2NPV-VM motherboard with an Nforce MCP51 chpset.
and there is not an CONFIG_SND_HDA_CODEC_ option for NVIDIA so I selected
generic instead.

Pci info:
00:10.1 Audio device: nVidia Corporation MCP51 High Definition
Audio (rev a2)
00:10.1 0403: 10de:026c (rev a2)

Gerhard

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.


Attachments:
config (49.49 kB)

2007-11-08 18:56:01

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio

At Thu, 8 Nov 2007 08:38:18 -0500 (EST),
Gerhard Mack wrote:
>
> On Thu, 8 Nov 2007, Takashi Iwai wrote:
>
> > At Wed, 7 Nov 2007 19:07:07 -0500 (EST),
> > Gerhard Mack wrote:
> > >
> > > On Wed, 7 Nov 2007, Andrew Morton wrote:
> > >
> > > > Date: Wed, 7 Nov 2007 15:21:27 -0800
> > > > From: Andrew Morton <[email protected]>
> > > > To: Gerhard Mack <[email protected]>
> > > > Cc: [email protected], Jaroslav Kysela <[email protected]>,
> > > > Takashi Iwai <[email protected]>, Rafael J. Wysocki <[email protected]>
> > > > Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio
> > > >
> > > > > On Wed, 7 Nov 2007 17:39:41 -0500 (EST) Gerhard Mack <[email protected]> wrote:
> > > > > hello,
> > > > >
> > > > > This worked fine in 2.6.23 but now the kernel no longer sees my audio
> > > > > controller.
> > > > >
> > > > > 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
> > > > > a2)
> > > > > 00:10.1 0403: 10de:026c (rev a2)
> > > > >
> > > > > Let me know if I can provide more info or test patches.
> > > > >
> > > >
> > > > Please provide the output of `dmesg -s 1000000' for both 2.6.23
> > > > and 2.6.24-rc3, thanks.
> > > >
> > > > Are you sure that the driver is suitably configured? Sometimes
> > > > we like to fiddle config options so that a `make oldconfig' will go and
> > > > unconfigure drivers which you need.
> > >
> > > Found an option for generic HD audio and enabled that with only marginally
> > > better results. Now instead of not detecting my card it's showing a
> > > single volume control in the mixer and not providing any sound at all.
> > >
> > > 2.6.23:
> > > Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20
> > > 09:12:58 2007 UTC).
> > > ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> > > ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> > > -> IRQ 22
> > > PCI: Setting latency timer of device 0000:00:10.1 to 64
> > > ALSA device list:
> > > #0: HDA NVidia at 0xfe024000 irq 22
> > > GACT probability on
> > >
> > > 2.6.24-rc2:
> > > Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23
> > > 06:09:18 2007 UTC).
> > > ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> > > ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> > > -> IRQ 22
> > > PCI: Setting latency timer of device 0000:00:10.1 to 64
> > > ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d8000101f761]
> > > ALSA device list:
> > > #0: HDA NVidia at 0xfe024000 irq 22
> > > GACT probability on
> >
> > Both look OK.
> >
> > Please show your kernel config and /proc/asound/card0/codec#*
> > contents. Did you choose CONFIG_SND_HDA_CODEC_* properly?
> >
> > Also, please be more specific about your hardware. The implementation
> > of HD-audio stuff is deifferent greatly among products. It's very
> > important to know what kind of machine (h/w vendor, product name,
> > model, etc) to identify whether the configuration is known or not
> > (i.e. it was really supported or it worked just casually).
>
> The machine is an Asus M2NPV-VM motherboard with an Nforce MCP51 chpset.
> and there is not an CONFIG_SND_HDA_CODEC_ option for NVIDIA so I selected
> generic instead.

That's the problem. MCP51 is the controller chip, not a codec chip.
It's always supported by snd-hda-intel driver. CONFIG_SND_HDA_CODEC_*
are configs to choose codec chips.

Simply select all CONFIG_SND_HDA_CODEC_*=y if you are not sure (as
they are default=y). I guess CONFIG_SND_HDA_CODEC_ANALOG=y should
suffice but selecting others won't hurt except for a small memory
footprint.


Takashi

2007-11-08 19:51:27

by Gerhard Mack

[permalink] [raw]
Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio

On Thu, 8 Nov 2007, Takashi Iwai wrote:

> At Thu, 8 Nov 2007 08:38:18 -0500 (EST),
> Gerhard Mack wrote:
> >
> > On Thu, 8 Nov 2007, Takashi Iwai wrote:
> >
> > > At Wed, 7 Nov 2007 19:07:07 -0500 (EST),
> > > Gerhard Mack wrote:
> > > >
> > > > On Wed, 7 Nov 2007, Andrew Morton wrote:
> > > >
> > > > > Date: Wed, 7 Nov 2007 15:21:27 -0800
> > > > > From: Andrew Morton <[email protected]>
> > > > > To: Gerhard Mack <[email protected]>
> > > > > Cc: [email protected], Jaroslav Kysela <[email protected]>,
> > > > > Takashi Iwai <[email protected]>, Rafael J. Wysocki <[email protected]>
> > > > > Subject: Re: 2.6.24-rc2 breaks nVidia MCP51 High Definition Audio
> > > > >
> > > > > > On Wed, 7 Nov 2007 17:39:41 -0500 (EST) Gerhard Mack <[email protected]> wrote:
> > > > > > hello,
> > > > > >
> > > > > > This worked fine in 2.6.23 but now the kernel no longer sees my audio
> > > > > > controller.
> > > > > >
> > > > > > 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
> > > > > > a2)
> > > > > > 00:10.1 0403: 10de:026c (rev a2)
> > > > > >
> > > > > > Let me know if I can provide more info or test patches.
> > > > > >
> > > > >
> > > > > Please provide the output of `dmesg -s 1000000' for both 2.6.23
> > > > > and 2.6.24-rc3, thanks.
> > > > >
> > > > > Are you sure that the driver is suitably configured? Sometimes
> > > > > we like to fiddle config options so that a `make oldconfig' will go and
> > > > > unconfigure drivers which you need.
> > > >
> > > > Found an option for generic HD audio and enabled that with only marginally
> > > > better results. Now instead of not detecting my card it's showing a
> > > > single volume control in the mixer and not providing any sound at all.
> > > >
> > > > 2.6.23:
> > > > Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20
> > > > 09:12:58 2007 UTC).
> > > > ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> > > > ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> > > > -> IRQ 22
> > > > PCI: Setting latency timer of device 0000:00:10.1 to 64
> > > > ALSA device list:
> > > > #0: HDA NVidia at 0xfe024000 irq 22
> > > > GACT probability on
> > > >
> > > > 2.6.24-rc2:
> > > > Advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 23
> > > > 06:09:18 2007 UTC).
> > > > ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
> > > > ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low)
> > > > -> IRQ 22
> > > > PCI: Setting latency timer of device 0000:00:10.1 to 64
> > > > ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011d8000101f761]
> > > > ALSA device list:
> > > > #0: HDA NVidia at 0xfe024000 irq 22
> > > > GACT probability on
> > >
> > > Both look OK.
> > >
> > > Please show your kernel config and /proc/asound/card0/codec#*
> > > contents. Did you choose CONFIG_SND_HDA_CODEC_* properly?
> > >
> > > Also, please be more specific about your hardware. The implementation
> > > of HD-audio stuff is deifferent greatly among products. It's very
> > > important to know what kind of machine (h/w vendor, product name,
> > > model, etc) to identify whether the configuration is known or not
> > > (i.e. it was really supported or it worked just casually).
> >
> > The machine is an Asus M2NPV-VM motherboard with an Nforce MCP51 chpset.
> > and there is not an CONFIG_SND_HDA_CODEC_ option for NVIDIA so I selected
> > generic instead.
>
> That's the problem. MCP51 is the controller chip, not a codec chip.
> It's always supported by snd-hda-intel driver. CONFIG_SND_HDA_CODEC_*
> are configs to choose codec chips.
>
> Simply select all CONFIG_SND_HDA_CODEC_*=y if you are not sure (as
> they are default=y). I guess CONFIG_SND_HDA_CODEC_ANALOG=y should
> suffice but selecting others won't hurt except for a small memory
> footprint.
>
Codec: Analog Devices AD1986A
Address: 0
Vendor Id: 0x11d41986
Subsystem Id: 0x104381b3
Revision Id: 0x100500

Works like a charm now,

thanks.

Gerhard

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.