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

Manolo Díaz diaz.manolo at gmail.com
Wed Jan 16 13:39:52 CET 2013


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]
   Converter: stream=8, channel=0
   Power states:  D0 D3
   Power: setting=D0, actual=D0
@@ -146,7 +146,7 @@
   Control: name="LFE Playback Volume", index=0, device=0
     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
   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
@@ -154,7 +154,7 @@
   Control: name="Surround Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   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
@@ -192,7 +192,7 @@
   Control: name="Side Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   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
@@ -248,7 +248,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Front Headphone Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
     Vref caps: HIZ 50 GRD 80 100
   Pin Default 0x02214030: [Jack] HP Out at Ext Front
@@ -263,7 +263,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Line Out Front Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense
     Vref caps: HIZ 50 GRD 80 100
   Pin Default 0x01014010: [Jack] Line Out at Ext Rear
@@ -315,7 +315,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Line Out Surround Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x00000037: IN OUT Detect Trigger ImpSense
   Pin Default 0x01011012: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Black
@@ -362,7 +362,7 @@
 Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
   Control: name="SPDIF Phantom Jack", index=0, device=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
-  Amp-Out vals:  [0x27 0x27]
+  Amp-Out vals:  [0xa7 0xa7]
   Pincap 0x00000010: OUT
   Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear
     Conn = Optical, Color = Other
@@ -383,7 +383,7 @@
 Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out
   Control: name="HDMI Phantom Jack", index=1, device=0
   Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1
-  Amp-Out vals:  [0x27 0x27]
+  Amp-Out vals:  [0xa7 0xa7]
   Pincap 0x00000010: OUT
   Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI
     Conn = Digital, Color = Other
@@ -410,7 +410,7 @@
      0x20
 Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x37 0x21
 Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono
@@ -423,7 +423,7 @@
     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
   Control: name="Line Out CLFE Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x00000037: IN OUT Detect Trigger ImpSense
   Pin Default 0x01016011: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Orange
@@ -437,7 +437,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Control: name="Line Out Side Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x00000037: IN OUT Detect Trigger ImpSense
   Pin Default 0x01012014: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Grey
@@ -453,22 +453,22 @@
      0x32 0x21
 Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x05 0x21
 Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x0a 0x21
 Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x04 0x21
 Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals:  [0x00 0x00] [0x80 0x80]
+  Amp-In vals:  [0x80 0x80] [0x80 0x80]
   Connection: 2
      0x06 0x21
 Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In
@@ -1140,7 +1140,7 @@
 	control.31 {
 		iface CARD
 		name 'Line Out Front Jack'
-		value true
+		value false
 		comment {
 			access read
 			type BOOLEAN
@@ -1461,5 +1461,9 @@
 [    2.225160]   #0: HDA ATI SB at 0xfe8f4000 irq 16
 [    2.227341]   #1: HDA ATI HDMI at 0xfe9ec000 irq 42
 [    2.230063] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
+--
+[  170.949719] PM: early resume of devices complete after 0.107 msecs
+[  170.950031] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X
+[  170.950098] pcieport 0000:00:06.0: System wakeup disabled by ACPI
 

-- 
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/647616f4/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/647616f4/attachment-0003.txt>


More information about the Alsa-devel mailing list