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



The following reply was made to PR kern/45701; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: Taylor R Campbell <campbell+netbsd%mumble.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost,
 kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/45701: hdaudio stops working after suspend/resume and then 
detach/reattach
Date: Sat, 10 Dec 2011 19:08:19 -0500

 Try getting rid of the "w_enable =3D=3D false" check in hdafg_resume, =
 iow change to:
 
   if (w =3D=3D NULL || w->w_type !=3D 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>
 >=20
 >   Does this patch help?
 >=20
 > It makes the extra mixerctl knobs go away, but still no sound comes
 > out after suspend/resume and then detach/reattach.
 >=20
 > When I first loaded hdaudio.kmod and hdafg.kmod, it printed the
 > following console messages:
 >=20
 > 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
 >=20
 > When I reloaded hdaudio.kmod and hdafg.kmod after suspending and
 > resuming, it printed the following console messages:
 >=20
 > 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
 >=20
 > 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