[alsa-devel] HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4

Manolo Díaz diaz.manolo at gmail.com
Wed Jan 16 14:55:09 CET 2013


El mié, 16 ene 2013 a las 14:16 horas
Takashi Iwai escribió:

>At Wed, 16 Jan 2013 14:04:12 +0100,
>Manolo Díaz wrote:
>> 
>> El mié, 16 ene 2013 a las 13:54 horas
>> Takashi Iwai escribió:
>> 
>> >At Wed, 16 Jan 2013 13:39:52 +0100,
>> >Manolo Díaz wrote:
>> >> 
>> >> El mié, 16 ene 2013 a las 9:54 horas
>> >> Takashi Iwai escribió:
>> >> 
>> >> >At Wed, 16 Jan 2013 09:49:41 +0100,
>> >> >Manolo Díaz wrote:
>> >> >> 
>> >> >> El mié, 16 ene 2013 a las 9:52 horas
>> >> >> Raymond Yau escribió:
>> >> >> 
>> >> >> >>
>> >> >> >> >>
>> >> >> >> >> >Yes, testing the latest code with real machines is highly
>> >> >> >> >> >appreciated.  Try sound-unstable git tree, either master or
>> >> >> >> >> >test/hda-migrate branch.
>> >> >> >> >> >  git://
>> >> >> >git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
>> >> >> >> >> >
>> >> >> >> >> >Alternatively you can build the external alsa-driver modules from
>> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
>> >> >> >> >> >
>> >> >> >> >
>> >> >> >ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
>> >> >> >> >> >
>> >> >> >> >> >Note that only the behavior of model=auto has been changed in the tree
>> >> >> >> >> >above.  The other model behaviors of AD codecs are unchanged at all.
>> >> >> >> >>
>> >> >> >> >> Mixer crashes are gone. As I wrote I have no way to test the digital
>> >> >> >> >> output.
>> >> >> >> >>
>> >> >> >> >> I haven't found a way to test multi stream playback either. After
>> >> >> >> >> choosing HP Independant enabled I can't hear nothing through the
>> >> >> >> >> headphone.
>> >> >> >> >>
>> >> >> >
>> >> >> >Did audio work with suspend and resume since my p5b-v ad1988 cannot suspend
>> >> >> >/ resume anymore after install Ubuntu 12.04 ?
>> >> >> >
>> >> >> >Audio can suspend / resume in fedora 10 for different version of alsa
>> >> >> >driver
>> >> >> >
>> >> >> >Seen many ad1988 controls are missing ?
>> >> >> >
>> >> >> >1) rear Mic, line , front Mic  playback volume and switch
>> >> >> >2) CD playback switch
>> >> >> >3) input mix in input source
>> >> >> >4) analog loopback mix volume and mute switch
>> >> >> 
>> >> >> I can confirm both: no sound after resume and missing controls.
>> >> >> Attached are captures from the mixer control list using linux stable
>> >> >> and sound unstable, both with BIOS autoprobe.
>> >> >
>> >> >Give alsa-info.sh outputs before and after suspend, instead.
>> >> >
>> >> >
>> >> >Takashi
>> >> 
>> >> Ok.
>> >> 
>> >> Outputs attached. This is the diff:
>> >> 
>> >> --- alsa-info-before-suspend.txt	2013-01-16 13:29:59.991633927 +0100
>> >> +++ alsa-info-after-resume.txt	2013-01-16 13:31:06.353096949 +0100
>> >> @@ -3,7 +3,7 @@
>> >>  !!ALSA Information Script v 0.4.61
>> >>  !!################################
>> >>  
>> >> -!!Script ran on: Wed Jan 16 12:29:57 UTC 2013
>> >> +!!Script ran on: Wed Jan 16 12:31:03 UTC 2013
>> >>  
>> >>  
>> >>  !!Linux Distribution
>> >> @@ -127,7 +127,7 @@
>> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>    Device: name="AD1989B Analog", type="Audio", device=2
>> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
>> >> -  Amp-Out vals:  [0x23 0x23]
>> >> +  Amp-Out vals:  [0x27 0x27]
>> >>    Converter: stream=8, channel=0
>> >>    Power states:  D0 D3
>> >>    Power: setting=D0, actual=D0
>> >> @@ -136,7 +136,7 @@
>> >>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >>    Device: name="AD1989B Analog", type="Audio", device=0
>> >>    Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0
>> >> -  Amp-Out vals:  [0x1e 0x1e]
>> >> +  Amp-Out vals:  [0x27 0x27]
>> >
>> >Hm, are you running the latest sound-unstable tree?
>> >
>> >There have been a few critical bugs fixed since the last time you
>> >wrote.  This might be the issue you hit.
>> >
>> >
>> >Takashi
>> 
>> 
>> #git show 
>> commit 9d7b2668e0d3ddf69a3872d2f3622b2af262ed8e
>> Merge: bcf4f30 fb85635
>> Author: Takashi Iwai <tiwai at suse.de>
>> Date:   Mon Jan 14 10:15:24 2013 +0100
>> 
>>     Merge remote-tracking branch 'stable/master'
>
>The latest master HEAD is
>
>commit 3c8a646ae30522bd041596282ab5e9e5bc7e1c6d
>Merge: 261ecc2 c0f3b21
>Author: Takashi Iwai <tiwai at suse.de>
>Date:   Wed Jan 16 11:57:22 2013 +0100
>
>    Merge branch 'test/hda-gen-parser'
>
>
>Takashi

Sorry. I'll repeat those tests.

commit 3c8a646ae30522bd041596282ab5e9e5bc7e1c6d
Merge: 261ecc2 c0f3b21
Author: Takashi Iwai <tiwai at suse.de>
Date:   Wed Jan 16 11:57:22 2013 +0100

    Merge branch 'test/hda-gen-parser'


You're right. Things seem so much better now:

-Multi stream play does work (tested front speakers and headphone)
-Sound doesn't disappear after resume

--- alsa-info-before-suspend.txt	2013-01-16 14:38:53.398515024 +0100
+++ alsa-info-after-resume.txt	2013-01-16 14:39:48.424133569 +0100
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.61
 !!################################
 
-!!Script ran on: Wed Jan 16 13:38:52 UTC 2013
+!!Script ran on: Wed Jan 16 13:39:47 UTC 2013
 
 
 !!Linux Distribution
@@ -1138,7 +1138,7 @@
 	control.31 {
 		iface CARD
 		name 'Line Out Front Jack'
-		value true
+		value false
 		comment {
 			access read
 			type BOOLEAN
@@ -1453,5 +1453,9 @@
 [    2.361493]   #0: HDA ATI SB at 0xfe8f4000 irq 16
 [    2.363720]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
 [    2.366474] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
+--
+[  200.736358] serial 00:08: activated
+[  200.736528] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
+[  200.736593] pcieport 0000:00:06.0: System wakeup disabled by ACPI


But the number of controls is smaller than in linux stable 3.7.2. I
don't know if that's a regression.


-- 
Manolo Díaz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alsa-info-after-resume.txt
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130116/91edad34/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alsa-info-before-suspend.txt
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130116/91edad34/attachment-0003.txt>


More information about the Alsa-devel mailing list