snd_hda suspend/resume support

Rui Paulo rpaulo at FreeBSD.org
Wed Sep 10 10:49:46 UTC 2008


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


More information about the freebsd-multimedia mailing list