NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/45701: hdaudio stops working after suspend/resume and then detach/reattach



Try getting rid of the "w_enable == false" check in hdafg_resume, iow change to:

  if (w == NULL || w->w_type != COP_AWCAP_TYPE_PIN_COMPLEX)
    continue;


On 2011-12-10, at 6:51 PM, Taylor R Campbell wrote:

>   Date: Sat, 10 Dec 2011 15:30:06 +0000 (UTC)
>   From: Jared McNeill <jmcneill%invisible.ca@localhost>
> 
>   Does this patch help?
> 
> It makes the extra mixerctl knobs go away, but still no sound comes
> out after suspend/resume and then detach/reattach.
> 
> When I first loaded hdaudio.kmod and hdafg.kmod, it printed the
> following console messages:
> 
> hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
> hdaudio0: interrupting at ioapic0 pin 22
> hdafg at hdaudio0 not configured
> hdafg0 at hdaudio0: Sigmatel STAC9221 A1
> hdafg0: ADC00 2ch: Mic In [Built-In]
> hdafg0: DAC01 6ch: Speaker [Jack] [Built-In], SPDIF Out [Jack]
> hdafg0: 6ch/2ch 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
> audio0 at hdafg0: full duplex, playback, capture, independent
> 
> When I reloaded hdaudio.kmod and hdafg.kmod after suspending and
> resuming, it printed the following console messages:
> 
> hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
> hdaudio0: interrupting at ioapic0 pin 22
> hdafg at hdaudio0 not configured
> hdafg0 at hdaudio0: Sigmatel STAC9221 A1
> hdafg0: duplicate pin in association
> hdafg0: pin 0F has wrong direction for 01
> hdafg0: DAC01 6ch: Speaker [Jack] [Built-In], SPDIF Out [Jack]
> hdafg0: DIG02 2ch: Digital Out [Built-In]
> hdafg0: ADC03 2ch: CD [Built-In], Line In [Jack], Mic In [Jack]
> hdafg0: DIG-In04 2ch: SPDIF In [Jack]
> hdafg0: 6ch/2ch 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
> audio0 at hdafg0: full duplex, playback, capture, independent
> 
> I don't think I've ever seen the `duplicate pin in association / pin
> 0F has wrong direction for 01' messages before.



Home | Main Index | Thread Index | Old Index