From: Michal Hocko <mhocko@suse.cz>
To: Takashi Iwai <tiwai@suse.de>
Cc: LKML <linux-kernel@vger.kernel.org>, alsa-devel@alsa-project.org
Subject: Re: [alsa-devel] Headphone output doesn't work with 3.0.0-rc* anymore
Date: Thu, 9 Jun 2011 13:14:01 +0200 [thread overview]
Message-ID: <20110609111401.GA3994@tiehlicka.suse.cz> (raw)
In-Reply-To: <s5haadrxrsm.wl%tiwai@suse.de>
On Thu 09-06-11 11:44:41, Takashi Iwai wrote:
> At Thu, 9 Jun 2011 11:28:26 +0200,
> Michal Hocko wrote:
> >
> > [1 <text/plain; us-ascii (7bit)>]
> > On Thu 09-06-11 11:20:04, Takashi Iwai wrote:
> > > At Thu, 9 Jun 2011 11:06:07 +0200,
> > > Michal Hocko wrote:
> > > >
> > > > On Thu 09-06-11 10:56:16, Michal Hocko wrote:
> > > > > On Thu 09-06-11 08:09:18, Takashi Iwai wrote:
> > > > > > At Wed, 8 Jun 2011 19:48:55 +0200,
> > > > [...]
> > > > > > Thanks, that's helpful.
> > > > > > As a quirk solution, could you try to pass model=auto option to
> > > > > > snd-hda-intel module?
> > > > >
> > > > > Headphones work now but speakers are quite... I have tried to play
> > > > > with Headphone and Speaker controls in alsamixer but no changes.
> > > > >
> > > > > Here is what I get in logs when the module is loaded:
> > > > > [ 5320.360277] HDA Intel 0000:00:1b.0: PCI INT A disabled
> > > > > [ 5326.920247] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
> > > > > [ 5326.920262] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
> > > > > [ 5326.920279] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> > > > > [ 5326.920375] HDA Intel 0000:00:1b.0: irq 42 for MSI/MSI-X
> > > > > [ 5326.920405] HDA Intel 0000:00:1b.0: setting latency timer to 64
> > > > > [ 5326.981085] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
> > > > > [ 5326.981262] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
> > > > > [ 5326.987934] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20
> > > > >
> > > > > [maybe not important but input numbers are increasing for every new load]
> > > > >
> > > > > There is another strange thing. After I stop mplayer and wait for some
> > > > > time (~1min) I can hear a "click" sound and then there is no sound at
> > > > > all... If I start mplayer in the meantime it just works...
> > > > > If I try to remove the module and load it again then things work and stop
> > > > > working after first playback again.
> > > >
> > > > And I have just found out that I do not have to start any playback to
> > > > see this. It is sufficient to load the module and wait a minute and
> > > > there is no sound at all (both from speakers or headphones).
> > >
> > > OK, could you give alsa-info.sh outputs at both working and
> > > non-working states?
> >
> > Sure. Attached. The only change seems to be:
> > Node 0x02 [Audio Output] wcaps 0x11: Stereo
> > Device: name="ALC262 Analog", type="Audio", device=0
> > - Converter: stream=5, channel=0
> > + Converter: stream=0, channel=0
>
> This is OK. It shows that the converter was assigned once to this
> stream when you played back a sound before power-save.
>
> As long as the codec registers show the same value, it's not obviously
> what went wrong. The symptom sounds like a resume issue. If so,
> S3/S4 might show the same problem.
>
> BTW, does my patch fix the problem when you load without model=auto?
I have just booted to the rc2 with the patch (https://lkml.org/lkml/2011/6/9/25)
and it looks it didn't solve the problem. Playback works only from
speakers when headphones are not plugged in - no sound if plugged in.
See alsa-info.txt-fresh-boot. Same thing happens if I
modprobe -r snd-hda-intel and then load it again (without any parameters).
> If yes, does the problem appear with it? I.e. is the silence problem
> specific to model=auto or not?
If I try to modproble with model=auto I get headphones working but not
output from speakers. Have a look at alsa-info.txt-modprobe_auto.
--
Michal Hocko
SUSE Labs
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
next prev parent reply other threads:[~2011-06-09 11:14 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-07 18:05 Headphone output doesn't work with 3.0.0-rc* anymore Michal Hocko
2011-06-08 16:03 ` Takashi Iwai
2011-06-08 17:48 ` [alsa-devel] " Michal Hocko
2011-06-09 6:09 ` Takashi Iwai
2011-06-09 6:17 ` Takashi Iwai
2011-06-09 8:56 ` [alsa-devel] " Michal Hocko
2011-06-09 9:06 ` Michal Hocko
2011-06-09 9:20 ` Takashi Iwai
2011-06-09 9:28 ` Michal Hocko
2011-06-09 9:44 ` Takashi Iwai
2011-06-09 11:14 ` Michal Hocko [this message]
2011-06-09 11:39 ` [alsa-devel] " Michal Hocko
2011-06-10 6:53 ` Takashi Iwai
2011-06-10 7:56 ` [alsa-devel] " Michal Hocko
2011-06-10 7:57 ` Michal Hocko
2011-06-10 8:14 ` Takashi Iwai
2011-06-10 8:51 ` [alsa-devel] " Michal Hocko
2011-06-10 9:18 ` Takashi Iwai
2011-06-10 9:30 ` Michal Hocko
2011-06-10 10:08 ` Takashi Iwai
2011-06-10 12:42 ` [alsa-devel] " Michal Hocko
2011-06-10 12:43 ` Takashi Iwai
2011-06-10 13:20 ` [alsa-devel] " Michal Hocko
2011-06-10 13:27 ` Takashi Iwai
2011-06-10 8:17 ` Takashi Iwai
2011-06-10 8:39 ` Powersave doesn't work for snd_hda_intel with 3.0.0-rc2 Michal Hocko
2011-06-10 8:57 ` Takashi Iwai
2011-06-15 6:08 ` Pavel Machek
2011-06-15 6:22 ` Takashi Iwai
2011-06-09 9:19 ` Headphone output doesn't work with 3.0.0-rc* anymore Takashi Iwai
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=20110609111401.GA3994@tiehlicka.suse.cz \
--to=mhocko@suse.cz \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox