Skip to contentSkip to conversation

Regression in 2.6.19 and 2.6.20 for snd_hda_intel

DISCUSSION Larry Finger 5 participants 9 messages Dec 31, 2006 – Jan 8, 2007

lore
Share & tools
lore
#0 lore raw

I have a new laptop - an HP Pavilion dv2125nr with an AMD Turion 64 X2 Mobile CPU. With any kernel later than 2.6.18, the sound does not work. The audio interface is reported by lspci as "Audio
device: nVidia Corporation MCP51 High Definition Audio (rev a2)", and uses the snd_hda_intel module.

Using git bisect, I determined that there are two problems. If commit a7da6ce564a8092..., which is entitled "hda-codec-Add independent headphone volume control" is present, I get no sound at all. When this commit is reverted, I get sound, but playing a sound file results in about an 0.5 sec fragment being replayed over and over forever. If commit 7376d013fc6d3a45..., which is entitled "Simple patch to enable Message Signalled Interrupts for the HDA Intel audio controller" is reverted, the sound works fine.

Please tell me what other information is required.

Larry

#1 lore raw
Quoted 4 lines · Larry Finger

When this commit is reverted, I get sound, but playing a sound file results in about an 0.5 sec fragment being replayed over and over forever. If commit 7376d013fc6d3a45..., which is entitled "Simple patch to enable Message Signalled Interrupts for the HDA Intel audio controller" is reverted, the sound works fine.

MSI is now disabled by default on this driver, so I'm pretty sure you only have the first bug talking in terms of the most recent kernels.

Daniel

#2 lore raw
Quoted 11 lines · Daniel Drake
Quoted 7 lines · Larry Finger

When this commit is reverted, I get sound, but playing a sound file results in about an 0.5 sec
fragment being replayed over and over forever. If commit 7376d013fc6d3a45..., which is entitled
"Simple patch to enable Message Signalled Interrupts for the HDA Intel audio controller" is
reverted, the sound works fine.

MSI is now disabled by default on this driver, so I'm pretty sure you only have the first bug talking in terms of the most recent kernels.

You are correct. Only the "hda_codec-Add independent headphone volume control" needs to be reverted.

Thanks,

Larry

#3 lore raw
Quoted 1 line · Larry Finger

You are correct. Only the "hda_codec-Add independent headphone volume control" needs to be reverted.

The best course of action is probably to file a report here:
https://bugtrack.alsa-project.org/alsa-bug

Daniel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#4 lore raw

Which alsa patch was this? I'm not seeing anything in the hg logs for this. Or is this something from the kernel side?

Tobin

Quoted 17 lines · Daniel Drake
Quoted 1 line · Larry Finger

You are correct. Only the "hda_codec-Add independent headphone volume control" needs to be reverted.

The best course of action is probably to file a report here:
https://bugtrack.alsa-project.org/alsa-bug

Daniel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 1 line
Tobin Davis <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#5 lore raw
Quoted 2 lines · Tobin Davis

Which alsa patch was this? I'm not seeing anything in the hg logs for this. Or is this something from the kernel side?

It seems to have come from suse. The full commit message is:

commit a7da6ce564a80952d9c0b210deca5a8cd3474a31

Author: Takashi Iwai <[email protected]>
Date:   Wed Sep 6 14:03:14 2006 +0200

[ALSA] hda-codec - Add independent headphone volume control

This patch addes the support of the independent 'Headphone' volume control to the generic codec parser. Some codecs (e.g. Conexant) have separate connections to the headphone and the independent amp adjustment is needed.

:100644 100644 dedfc5b... 97e9af1... M sound/pci/hda/hda_generic.c

Larry

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#6 lore raw
Quoted 17 lines · On Sat, 30 Dec 2006 22:50:41 -0600 Larry Finger <[email protected]>…
Quoted 2 lines · Tobin Davis

Which alsa patch was this? I'm not seeing anything in the hg logs for this. Or is this something from the kernel side?

It seems to have come from suse. The full commit message is:

commit a7da6ce564a80952d9c0b210deca5a8cd3474a31

Author: Takashi Iwai <[email protected]>
Date:   Wed Sep 6 14:03:14 2006 +0200

[ALSA] hda-codec - Add independent headphone volume control

This patch addes the support of the independent 'Headphone' volume control to the generic codec parser. Some codecs (e.g. Conexant) have separate connections to the headphone and the independent amp adjustment is needed.

Quoted 8 lines

:100644 100644 dedfc5b... 97e9af1... M sound/pci/hda/hda_generic.c

Larry

Just make sure you don't break the headphone jack on some systems. The headphone jack on the Panasonic T5 didn't work until recent kernels (probably this was the thing that made it work).

Signature · 7 lines
Stephen Hemminger <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#7 lore raw

This is part of the generic code. It's main purpose is to provide basic support until full featured support is created for a system. If there are systems that need this patch to work, we should look into adding them to the main patch_* codec drivers.

For example, the Conexant codecs are now getting supported directly, as are via and atihdmi.

If you have some information on these Panasonic models, please forward it to me, thanks.

Tobin

Quoted 33 lines · Stephen Hemminger
Quoted 17 lines · On Sat, 30 Dec 2006 22:50:41 -0600 Larry Finger <[email protected]>…
Quoted 2 lines · Tobin Davis

Which alsa patch was this? I'm not seeing anything in the hg logs for this. Or is this something from the kernel side?

It seems to have come from suse. The full commit message is:

commit a7da6ce564a80952d9c0b210deca5a8cd3474a31

Author: Takashi Iwai <[email protected]>
Date:   Wed Sep 6 14:03:14 2006 +0200

[ALSA] hda-codec - Add independent headphone volume control

This patch addes the support of the independent 'Headphone' volume control to the generic codec parser. Some codecs (e.g. Conexant) have separate connections to the headphone and the independent amp adjustment is needed.

Quoted 8 lines

:100644 100644 dedfc5b... 97e9af1... M sound/pci/hda/hda_generic.c

Larry

Just make sure you don't break the headphone jack on some systems. The headphone jack on the Panasonic T5 didn't work until recent kernels (probably this was the thing that made it work).

Signature · 1 line
Tobin Davis <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#8 lore raw
In reply to Larry Finger

At Sat, 30 Dec 2006 22:50:41 -0600,

Quoted 18 lines · Larry Finger
Quoted 2 lines · Tobin Davis

Which alsa patch was this? I'm not seeing anything in the hg logs for this. Or is this something from the kernel side?

It seems to have come from suse. The full commit message is:

commit a7da6ce564a80952d9c0b210deca5a8cd3474a31

Author: Takashi Iwai <[email protected]>
Date:   Wed Sep 6 14:03:14 2006 +0200

[ALSA] hda-codec - Add independent headphone volume control

This patch addes the support of the independent 'Headphone' volume control to the generic codec parser. Some codecs (e.g. Conexant) have separate connections to the headphone and the independent amp adjustment is needed.

Quoted 4 lines

:100644 100644 dedfc5b... 97e9af1... M sound/pci/hda/hda_generic.c

Make sure that you unmuted both Master and Headphone volumes (if you have).
With this patch, you may have now two individual controls while the older version has only one.

Takashi