From: Wang Lei <f3d27b@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: linux-kernel@vger.kernel.org, Jaroslav Kysela <perex@perex.cz>
Subject: Re: [SOUND] SBx00 sound card using snd_hda_codec_analog auto mutes
Date: Fri, 11 Feb 2011 20:58:49 +0800 [thread overview]
Message-ID: <4d5532aa.0ae9640a.3773.316b@mx.google.com> (raw)
In-Reply-To: <s5hlj1mburb.wl%tiwai@suse.de> (Takashi Iwai's message of "Fri, 11 Feb 2011 13:50:16 +0100")
Takashi Iwai <tiwai@suse.de> writes:
> At Fri, 11 Feb 2011 20:23:21 +0800,
> Wang Lei wrote:
>>
>> Thanks for your reply!
>>
>> Takashi Iwai <tiwai@suse.de> writes:
>>
>> > At Thu, 10 Feb 2011 20:49:51 +0800,
>> > Wang Lei wrote:
>> >>
>> >> On my laptop, the sound card auto mutes some seconds after i enable it.
>> >> And play a audio file can't make sound. This is not a powersave feature,
>> >> because i haven't enable it. I guess it's a driver problem. It occurs
>> >> since 2.6.36.X. Please help.
>> >
>> > Then a possible cause would be the badly working interrupts.
>> > Or, I remember vaguely some reports mentioning conflicts with radeon
>> > driver.
>> >
>> > Anyway, try to reproduce without the graphic interface first.
>> >
>>
>> I have reproduced it without the graphic interface.
>>
>> > Also, try to pass enable_msi=0 or 1. AMD controllers tend to unstable
>> > regarding MSI.
>> >
>>
>> And pass enable_msi=0 or 1 to snd_hda_intel, or even add boot parameter
>> pci=nomsi (i actually don't know whether this is reasonable), the
>> problem occurs.
>>
>> I have forgot to mention this, when passing apci=off to the boot kernel,
>> there is no this problem.
>
> Then check whether the interrupt is properly generated during PCM
> playback by watching /proc/interrupts. If not, it's likely an ACPI or
> BIOS problem.
>
I hope i did the right thing. I `cat /proc/interrupts > 1', then use
alsamixer increase the PCM channel, then `cat /proc/interrupts >2'.
This is the diff output:
--------------------
[~]$ diff -u 1 2
--- 1 2011-02-11 20:54:29.205759305 +0800
+++ 2 2011-02-11 20:54:35.912611712 +0800
@@ -1,21 +1,21 @@
CPU0 CPU1
- 0: 11355 9074412 IO-APIC-edge timer
- 1: 28 7111 IO-APIC-edge i8042
+ 0: 11355 9081104 IO-APIC-edge timer
+ 1: 28 7141 IO-APIC-edge i8042
7: 1 0 IO-APIC-edge
8: 0 0 IO-APIC-edge rtc0
9: 1 49 IO-APIC-fasteoi acpi
12: 4193 1186548 IO-APIC-edge i8042
14: 1 52 IO-APIC-edge pata_atiixp
15: 0 0 IO-APIC-edge pata_atiixp
- 16: 760 271833 IO-APIC-fasteoi ahci, hda_intel
+ 16: 760 271846 IO-APIC-fasteoi ahci, hda_intel
17: 344 84956 IO-APIC-fasteoi ohci_hcd:usb3, ohci_hcd:usb4, ohci_hcd:usb5, ohci_hcd:usb6
23: 1 7 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2
NMI: 0 0 Non-maskable interrupts
-LOC: 9074392 11170 Local timer interrupts
+LOC: 9081084 11170 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
-RES: 833684 997760 Rescheduling interrupts
+RES: 834075 998023 Rescheduling interrupts
CAL: 16 6 Function call interrupts
TLB: 21213 18762 TLB shootdowns
THR: 0 0 Threshold APIC interrupts
[~]$
--------------------
>
> Takashi
next prev parent reply other threads:[~2011-02-11 12:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87k4h9qpk8.fsf@f3d27b@gmail.com>
2011-02-10 12:49 ` [SOUND] SBx00 sound card using snd_hda_codec_analog auto mutes Wang Lei
2011-02-10 14:44 ` Takashi Iwai
2011-02-11 12:23 ` Wang Lei
2011-02-11 12:50 ` Takashi Iwai
2011-02-11 12:58 ` Wang Lei [this message]
2011-02-11 13:25 ` Takashi Iwai
2011-02-11 13:54 ` Wang Lei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4d5532aa.0ae9640a.3773.316b@mx.google.com \
--to=f3d27b@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.