lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5haadqvybo.wl%tiwai@suse.de>
Date:	Fri, 10 Jun 2011 11:18:51 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Michal Hocko <mhocko@...e.cz>
Cc:	LKML <linux-kernel@...r.kernel.org>, alsa-devel@...a-project.org
Subject: Re: [alsa-devel] Headphone output doesn't work with 3.0.0-rc* anymore

At Fri, 10 Jun 2011 10:51:17 +0200,
Michal Hocko wrote:
> 
> On Fri 10-06-11 10:14:13, Takashi Iwai wrote:
> > At Fri, 10 Jun 2011 09:56:40 +0200,
> > Michal Hocko wrote:
> > > 
> > > On Fri 10-06-11 08:53:01, Takashi Iwai wrote:
> > > > At Thu, 9 Jun 2011 13:14:01 +0200,
> > > > Michal Hocko wrote:
> > > > > 
> > > > > On Thu 09-06-11 11:44:41, Takashi Iwai wrote:
> > > > > > At Thu, 9 Jun 2011 11:28:26 +0200,
> > > [...]
> > > > > > 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.
> > > > 
> > > > So, the auto-mute now works but now the headphone doesn't work.
> > > > Weird...  Maybe the same reason the speaker doesn't work with
> > > > auto-mode.  I saw that the only one converter keeps the stream in your
> > > > alsa-info.sh output although multiple converters (0x02, 0x03, 0x06)
> > > > should be used simultaneously.
> > > > 
> > > > > 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.
> > > > 
> > > > For testing, just copy 2.6.39/sound/pci/*.[ch] into 3.0 tree and
> > > > rebuild.  
> > > 
> > > OK, I git checkout v2.6.39 -- sound/pci/*.[ch] (see the patch bellow for
> > > reference). I have kept the earlier patch.
> > 
> > Gah, sorry, a wrong path.  It must be sound/pci/hda/*.[ch].
> > Also, please remove my previous patch.  It's irrelevant with 2.6.39
> > although it should be harmless.
> 
> OK, I have reverted the whole hda directory to 2.6.39 which means AFAIU
> that the driver is at the same state as it was in that kernel. And the
> sound really works. Both outputs are active whem they should be.

Thanks, it's really good to know that we have a good working-base.

Now, can you switch back to 3.0rc2 with my fix patch and retest?
Please get alsa-info.sh output at the same state, i.e. mplayer
running, so that we can compare directly two states.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ