From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 30 20:12:11 2010 Return-Path: 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 1F36B1065694; Tue, 30 Nov 2010 20:12:11 +0000 (UTC) (envelope-from stefan@freebsd.org) Received: from mail.hamcom.de (mail.hamcom.de [212.37.37.211]) by mx1.freebsd.org (Postfix) with ESMTP id CD15E8FC2B; Tue, 30 Nov 2010 20:12:10 +0000 (UTC) Received: from adsl-dyn-88-208-149-211.heliweb.de ([88.208.149.211] helo=birne.dunkelkammer.void) by mail.hamcom.de with esmtpa (Exim 4.71) (envelope-from ) id 1PNWYb-0000RI-7Y; Tue, 30 Nov 2010 21:12:09 +0100 Received: by birne.dunkelkammer.void (Postfix, from userid 1002) id B6B4111443; Tue, 30 Nov 2010 21:12:08 +0100 (CET) X-HeLi-id: cfcd208495d565ef66e7dff9f98764da Date: Tue, 30 Nov 2010 21:12:08 +0100 From: Stefan Walter To: freebsd-stable@freebsd.org, freebsd-multimedia@freebsd.org Message-ID: <20101130201208.GA1472@birne.dunkelkammer.void> Mail-Followup-To: freebsd-stable@freebsd.org, freebsd-multimedia@freebsd.org, Ariff Abdullah , Alexander Motin , "Stephane E. Potvin" References: <20101115093709.GA1452@birne.dunkelkammer.void> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20101115093709.GA1452@birne.dunkelkammer.void> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Alexander Motin , Ariff Abdullah Subject: Re: 8.1-RELEASE: snd_hda works as module only, suspend/resume leaves display off X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2010 20:12:11 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Stefan Walter, 15.11.10, 10:37h CET: > Audio with snd_hda(4) works, but only if loaded as a module AND only if I > load the module AFTER booting. If I compile it into the kernel or add > snd_hda_load=3D"YES" to /boot/loader.conf, dmesg shows the following: >=20 > hdac0: HDA Codec #0: ATI RS690/780 HDMI > pcm0: at cad 0 nid 1 on hdac0 > hdac1: HDA Codec #0: Realtek ALC885 > pcm1: at cad 0 nid 1 on hdac1 > pcm2: at cad 0 nid 1 on hdac1 > pcm3: at cad 0 nid 1 on hdac1 >=20 > mixer(8) shows: >=20 > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 >=20 > There is no audio in that case. Unloading and reloading the module (or > just loading the module manually after the boot process) logs: >=20 > hdac0: mem 0xfe024000-0xfe02= 7fff irq 16 at device 20.2 on pci0 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > hdac0: HDA Codec #0: Realtek ALC885 > hdac1: mem 0xfdffc000-0x= fdffffff irq 19 at device 5.1 on pci1 > hdac1: HDA Driver Revision: 20100226_0142 > hdac1: [ITHREAD] > hdac1: HDA Codec #0: ATI RS690/780 HDMI > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > pcm2: at cad 0 nid 1 on hdac0 > pcm3: at cad 0 nid 1 on hdac1 >=20 > mixer then shows: >=20 > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 > Mixer speaker is currently set to 75:75 > Mixer line is currently set to 75:75 > Mixer mic is currently set to 0:0 > Mixer mix is currently set to 0:0 > Mixer rec is currently set to 75:75 > Mixer igain is currently set to 0:0 >=20 > Audio then seems to work fine. (Plugging earphones into the computer's > case's front plugs doesn't do anything, though - audio still comes from > the speakers attached to the plug at the back of the case. Any ideas about > that?) Loading snd_hda from a startup script would probably work, but I > guess that's not the way it was meant to work. Unfortunately, the recent update to 8-STABLE didn't change anything with these problems - any ideas, anyone? Regards, Stefan --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQGVAwUBTPVamFaRERsSueCzAQLr6Av/fDpUu5jbItomdNB1bfMxJ5Giz5SrZpXK pEihAkpz96GwXJ8k/FvWBt5TmXG1eQ4OAfb4bhx7qiyhNI9dViu2eI9/CumN6gJo FHrP9Z03XLsva1dv3Qndjl8Z7gs2bCEPzST5dyMEmWbAB/DvpM8R+O6y1KkD7Ck+ Z+g1D+Nhfx/f346SF2RdMAtRMCPn43rfC8O8ECtv5/HOh49gRqy6vwvUA7LG3HnS LnYlRFq1h1HcT1MZaZT1LjmmkkjE9Mf2p5ttka0jQdlXquNsgindzNsYp+gfboNW 4aMthHTklv6TO3J16QOy0FlD/KjihmiR0su9zmX8qj1i3zBM+FT0/JMUeR42jAOM xqbJCBuxvLur3wCl7t2tS14jm/7Hvua6rLM1jUcrBrtp+WRi+BNj+0mNMQqoLPRC PtqQFx7osIz1SZ2cWuDGtoNLbOZhjOkd4i3F9iuZQxINNNaNerc+Z+27JunAYHYI XSAqkJd9y/taq3Jz8rnCiWWZV+jQqJ4J =rUkU -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--