Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 11:47:10 +0100
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-multimedia@FreeBSD.org, Rui Paulo <rpaulo@FreeBSD.org>
Subject:   Re: snd_hda suspend/resume support
Message-ID:  <20080910104710.GD1988@alpha.local>
In-Reply-To: <48C701FA.8010807@FreeBSD.org>
References:  <1219692182.00003969.1219680004@10.7.7.3> <48B30A83.1030206@FreeBSD.org> <20080825204941.GA68247@alpha.local> <48C44BE0.5090500@FreeBSD.org> <20080908205502.GF89070@alpha.local> <48C5952F.5040805@FreeBSD.org> <20080908211715.GH89070@alpha.local> <48C66DDD.2010803@FreeBSD.org> <20080909124811.GA35538@alpha.local> <48C701FA.8010807@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 10, 2008 at 02:08:42AM +0300, Alexander Motin wrote:
> I have changed suspend/resume sequences a bit. Now I am doing more 
> complete codec power up on resume. On my system I am able to call 
> suspend() and then 15 seconds later resume() call successfully restores 
> the sound after complete HDA controller, bus and codecs.
> 
> If you still have a problem - try to reproduce my experiment using 
> temporal hack in a last version:
> sysctl dev.hdac.0.pindump=100  <= hdac_suspend()
> sysctl dev.hdac.0.pindump=101  <= hdac_resume()

Now, upon resuming I hear nothing.
Doesn't matter if I was playing anything. It's the same behaviour as the
old non-patched driver.

BTW, when hda starts I hear a "click" on my speakers. Maybe there's
something being done in the attach routine not being repeated in the
resume routine?

-- 
Rui Paulo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080910104710.GD1988>