From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 15 19:55:15 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 244A9106567A for ; Mon, 15 Nov 2010 19:55:15 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id B746E8FC1D for ; Mon, 15 Nov 2010 19:55:07 +0000 (UTC) Received: from 174-21-101-204.tukw.qwest.net ([174.21.101.204] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PI28D-0006mm-El; Mon, 15 Nov 2010 08:42:14 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 15 Nov 2010 08:52:04 -0800 Date: Mon, 15 Nov 2010 08:52:04 -0800 From: Chip Camden To: freebsd-stable@freebsd.org Message-ID: <20101115165204.GE95782@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-stable@freebsd.org, freebsd-multimedia@freebsd.org References: <20101115093709.GA1452@birne.dunkelkammer.void> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Epv4kl9IRBfg3rk" Content-Disposition: inline In-Reply-To: <20101115093709.GA1452@birne.dunkelkammer.void> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: freebsd-multimedia@freebsd.org 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: Mon, 15 Nov 2010 19:55:16 -0000 --4Epv4kl9IRBfg3rk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Stefan Walter on Monday, 15 November 2010: > Hi, >=20 > I've been using 8.1-RELEASE on this desktop machine for a few months > already, but only now found the time to look at a couple of problems with > snd_hda and suspend/resume it still has. Maybe someone here has hints to > fix them - I'd be grateful to hear them. >=20 > 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. >=20 I had the same problem, but a later update to 8.1-STABLE seems to have fixed it. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --4Epv4kl9IRBfg3rk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJM4WU0AAoJEIpckszW26+Rsg8H/2J7yQ8ZxdO6Ax6bOl/aGz/o CcTwFmYoiSyUblWWRQIfHEFVWePkpKWDbeBOT0XPhE1tzGHlSlgkDip0k4Gyhso8 mEHspTW/EBnOGWFVZWsqxGNOclv2Jc9YIT7oraog1oeRUZLecYgPwzCNoESdxBqb oYg7hOIsjGlgiidcM6Dh9W5BuZc0XJ/WFwnUgXc3c0g7YnJRZBAR/IBCeVITSqbv WFEXQlM86pMeoE0/b1yA6xdvNT/23lbWOP93Govm4FzESP5rk1MjUj/2hpXGuGHe /co9vpPYcyXXf6LsMNvuAi6ded5G9F/86H+RghVN9IWtpk/6Al2WYeOmqzwVRXQ= =SkBn -----END PGP SIGNATURE----- --4Epv4kl9IRBfg3rk--