From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 8 21:18:04 2008 Return-Path: <owner-freebsd-multimedia@FreeBSD.ORG> Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3DB71065674 for <freebsd-multimedia@freebsd.org>; Mon, 8 Sep 2008 21:18:04 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.187]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBCA8FC18 for <freebsd-multimedia@freebsd.org>; Mon, 8 Sep 2008 21:18:04 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so314143gve.39 for <freebsd-multimedia@freebsd.org>; Mon, 08 Sep 2008 14:18:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:sender; bh=62JDu+D/NXuEwixjqy6cbraIoskscB7xvPY8XOGybd8=; b=H7wBX9fTW0+YRW63tBx35hPWv8aFYG/8vU8BknvL6aMhli3wONR8VX6odyzxj5T4DY IDKXW1i6CfJfQmuverqBwLjqPU+TPHmxdv+WTynGjkvbbU+/WRcb3O/PKNkfIgJegHBf c7hjFX0maMEJKa64nGaK4zYtWDU49mKiDTezc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=reZQ9xM+0LA6axhvDE5N2UX39EKhLg9uvPi1HkEXcpbrTEdr1h+Bg8xlRfqpX/MbXh 6LgqHEL8nRo5Jt8VRnvwU6YUAKWXUT7xswnDdzjLcSew4m1mv+UmKDsVzAL29oOr93UV 6rmR4GkxG7Za0YANrGPRylmICxSQnnBlqin0M= Received: by 10.210.80.2 with SMTP id d2mr8585016ebb.191.1220908682963; Mon, 08 Sep 2008 14:18:02 -0700 (PDT) Received: from alpha.local ( [83.144.140.92]) by mx.google.com with ESMTPS id j8sm9148967gvb.1.2008.09.08.14.18.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Sep 2008 14:18:02 -0700 (PDT) Received: by alpha.local (Postfix, from userid 1001) id ADDA910243; Mon, 8 Sep 2008 22:17:15 +0100 (WEST) Date: Mon, 8 Sep 2008 22:17:15 +0100 From: Rui Paulo <rpaulo@FreeBSD.org> To: Alexander Motin <mav@FreeBSD.org> Message-ID: <20080908211715.GH89070@alpha.local> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C5952F.5040805@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Rui Paulo <rpaulo@gmail.com> Cc: freebsd-multimedia@FreeBSD.org, Rui Paulo <rpaulo@FreeBSD.org> Subject: Re: snd_hda suspend/resume support X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions <freebsd-multimedia.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia>, <mailto:freebsd-multimedia-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-multimedia> List-Post: <mailto:freebsd-multimedia@freebsd.org> List-Help: <mailto:freebsd-multimedia-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia>, <mailto:freebsd-multimedia-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 08 Sep 2008 21:18:04 -0000 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