snd_hda suspend/resume support

Rui Paulo rpaulo at FreeBSD.org
Mon Sep 8 21:18:04 UTC 2008


On Tue, Sep 09, 2008 at 12:12:15AM +0300, Alexander Motin wrote:
> Rui Paulo wrote:
> > Great work! This works fine! I just wish I didn't had to stop my media
> > player before resume. That probably needs more work on the sound layer.
> 
> When I am calling suspend and resume myself on alive system for several 
> seconds playback restores fine. Whats happening if you don't stop media 
> player?

No sound is output after resume. I can't play anything after resume and
only a reboot fixes it (kldunload/kldload doesn't do the job).

Here's my card:
hdac0: <Intel 82801F High Definition Audio Controller> mem
0xf7eb8000-0xf7ebbfff irq 5 at device 27.0 on pci0
hdac0: <HDA Driver Revision: 20080907_0108>
hdac0: [ITHREAD]
hdac0: <HDA Codec #0: Realtek (Unknown)>
hdac0: 
pcm0: <HDA codec #0 Realtek (Unknown) PCM #0> on hdac0

This may be a special card because, with the older driver, suspending with the
module loaded made the card non-functional after resume (again, doing
the kld load/unload dance didn't fix it).

Regards,
-- 
Rui Paulo


More information about the freebsd-multimedia mailing list