alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hda-intel: Add position_fix quirk for ASUS M2V-MX SE.
@ 2010-02-08 19:42 Paul Menzel
  2010-02-22  7:53 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2010-02-08 19:42 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 1971 bytes --]

With PulseAudio and an application accessing an input device like `gnome-volume-manager` both have high CPU load as reported in [1].

Loading `snd-hda-intel` with `position_fix=1` fixes this issue. Therefore add a quirk for ASUS M2V-MX SE.

The only downside is, when now exiting for example MPlayer when it is playing an audio file a high pitched sound is outputted by the speaker.

$ lspci -vvnn | grep -A10 Audio
20:01.0 Audio device [0403]: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) [1106:3288] (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8290]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at fbffc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel

[1] http://sourceforge.net/mailarchive/forum.php?thread_name=1265550675.4642.24.camel%40mattotaupa&forum_name=alsa-user

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 sound/pci/hda/hda_intel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 051cf51..22dcdc2 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2264,6 +2264,7 @@ static struct snd_pci_quirk position_fix_list[] __devinitdata = {
 	SND_PCI_QUIRK(0x1028, 0x01cc, "Dell D820", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x1028, 0x01de, "Dell Precision 390", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x103c, 0x306d, "HP dv3", POS_FIX_LPIB),
+	SND_PCI_QUIRK(0x1106, 0x3288, "ASUS M2V-MX SE", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x1043, 0x813d, "ASUS P5AD2", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x1462, 0x1002, "MSI Wind U115", POS_FIX_LPIB),
 	{}
-- 
1.6.6.1

[-- Attachment #1.2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: [PATCH] hda-intel: Add position_fix quirk for ASUS M2V-MX SE.
  2010-02-08 19:42 [PATCH] hda-intel: Add position_fix quirk for ASUS M2V-MX SE Paul Menzel
@ 2010-02-22  7:53 ` Takashi Iwai
  2010-03-10 12:14   ` Paul Menzel
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2010-02-22  7:53 UTC (permalink / raw)
  To: Paul Menzel; +Cc: alsa-devel

At Mon, 08 Feb 2010 20:42:46 +0100,
Paul Menzel wrote:
> 
> With PulseAudio and an application accessing an input device like `gnome-volume-manager` both have high CPU load as reported in [1].
> 
> Loading `snd-hda-intel` with `position_fix=1` fixes this issue. Therefore add a quirk for ASUS M2V-MX SE.
> 
> The only downside is, when now exiting for example MPlayer when it is playing an audio file a high pitched sound is outputted by the speaker.
> 
> $ lspci -vvnn | grep -A10 Audio
> 20:01.0 Audio device [0403]: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) [1106:3288] (rev 10)
> 	Subsystem: ASUSTeK Computer Inc. Device [1043:8290]
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Latency: 0, Cache Line Size: 64 bytes
> 	Interrupt: pin A routed to IRQ 17
> 	Region 0: Memory at fbffc000 (64-bit, non-prefetchable) [size=16K]
> 	Capabilities: <access denied>
> 	Kernel driver in use: HDA Intel
> 
> [1] http://sourceforge.net/mailarchive/forum.php?thread_name=1265550675.4642.24.camel%40mattotaupa&forum_name=alsa-user
> 
> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>

Applied.  Thanks.


Takashi


> ---
>  sound/pci/hda/hda_intel.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
> index 051cf51..22dcdc2 100644
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -2264,6 +2264,7 @@ static struct snd_pci_quirk position_fix_list[] __devinitdata = {
>  	SND_PCI_QUIRK(0x1028, 0x01cc, "Dell D820", POS_FIX_LPIB),
>  	SND_PCI_QUIRK(0x1028, 0x01de, "Dell Precision 390", POS_FIX_LPIB),
>  	SND_PCI_QUIRK(0x103c, 0x306d, "HP dv3", POS_FIX_LPIB),
> +	SND_PCI_QUIRK(0x1106, 0x3288, "ASUS M2V-MX SE", POS_FIX_LPIB),
>  	SND_PCI_QUIRK(0x1043, 0x813d, "ASUS P5AD2", POS_FIX_LPIB),
>  	SND_PCI_QUIRK(0x1462, 0x1002, "MSI Wind U115", POS_FIX_LPIB),
>  	{}
> -- 
> 1.6.6.1
> [1.2 Dies ist ein digital signierter Nachrichtenteil <application/pgp-signature (7bit)>]
> 
> [2  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: [PATCH] hda-intel: Add position_fix quirk for ASUS M2V-MX SE.
  2010-02-22  7:53 ` Takashi Iwai
@ 2010-03-10 12:14   ` Paul Menzel
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Menzel @ 2010-03-10 12:14 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, gregkh, stable


[-- Attachment #1.1: Type: text/plain, Size: 2616 bytes --]

Am Montag, den 22.02.2010, 08:53 +0100 schrieb Takashi Iwai:
> At Mon, 08 Feb 2010 20:42:46 +0100,
> Paul Menzel wrote:
> > 
> > With PulseAudio and an application accessing an input device like `gnome-volume-manager` both have high CPU load as reported in [1].
> > 
> > Loading `snd-hda-intel` with `position_fix=1` fixes this issue. Therefore add a quirk for ASUS M2V-MX SE.
> > 
> > The only downside is, when now exiting for example MPlayer when it is playing an audio file a high pitched sound is outputted by the speaker.
> > 
> > $ lspci -vvnn | grep -A10 Audio
> > 20:01.0 Audio device [0403]: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) [1106:3288] (rev 10)
> > 	Subsystem: ASUSTeK Computer Inc. Device [1043:8290]
> > 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
> > 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> > 	Latency: 0, Cache Line Size: 64 bytes
> > 	Interrupt: pin A routed to IRQ 17
> > 	Region 0: Memory at fbffc000 (64-bit, non-prefetchable) [size=16K]
> > 	Capabilities: <access denied>
> > 	Kernel driver in use: HDA Intel
> > 
> > [1] http://sourceforge.net/mailarchive/forum.php?thread_name=1265550675.4642.24.camel%40mattotaupa&forum_name=alsa-user
> > 
> > Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
> 
> Applied.  Thanks.

Unfortunately I have to report that I noticed that with this change
sometimes audio just fails the following way.

I play an audio file with MPlayer and suddenly at the beginning of a new
title instead of the normal audio only tones as played from a guitar are
played. I do not know how to better describe. Anyway quitting MPlayer
stops audio entirely, but starting to play audio files again still gives
the “guitar” sounds. Playing a song with Totem works though afterward
and then MPlayer works also again.

It just happens arbitrarily once a week and I cannot reproduce this.

I do not see anything in the logs, so I do not know if it is a
PulseAudio issue or something else. :(

Regarding ALSA I only see the following in `/var/log/messages`.

        hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

I do not know how to best proceed. Maybe dequeue this patch?


Thanks,

Paul


[1] patch alsa-hda-intel-add-position_fix-quirk-for-asus-m2v-mx-se.patch added to 2.6.33-stable tree
[2] patch alsa-hda-intel-add-position_fix-quirk-for-asus-m2v-mx-se.patch added to 2.6.32-stable tree

[-- Attachment #1.2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-08 19:42 [PATCH] hda-intel: Add position_fix quirk for ASUS M2V-MX SE Paul Menzel
2010-02-22  7:53 ` Takashi Iwai
2010-03-10 12:14   ` Paul Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).