From owner-freebsd-stable@FreeBSD.ORG Sun Jul 30 04:11:24 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F02216A4DA for ; Sun, 30 Jul 2006 04:11:24 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46AFA43D46; Sun, 30 Jul 2006 04:11:24 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k6U4BLeQ079783; Sun, 30 Jul 2006 04:11:22 GMT (envelope-from ariff@FreeBSD.org) Date: Sun, 30 Jul 2006 12:10:54 +0800 From: Ariff Abdullah To: Peter Jeremy Message-Id: <20060730121054.2ff05ea6.ariff@FreeBSD.org> In-Reply-To: <20060730034352.GA729@turion.vk2pj.dyndns.org> References: <20060730034352.GA729@turion.vk2pj.dyndns.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__30_Jul_2006_12_10_55_+0800_8.ZkA87zFEcMuv.r" Cc: freebsd-stable@FreeBSD.org Subject: Re: Sound device reported but no devices created X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 04:11:24 -0000 --Signature=_Sun__30_Jul_2006_12_10_55_+0800_8.ZkA87zFEcMuv.r Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 30 Jul 2006 13:43:52 +1000 Peter Jeremy wrote: > I've been trying to get sound working on a Compaq Armada 1580 with > a recent 6-STABLE. With devices 'sound' and 'snd_sbc' built into > the kernel and no hints, I get: >=20 > ESS0004: adding io range 0x250-0x257, size=3D0x8, align=3D0 > pnpbios: handle 16 device ID ESS0004 (04007316) > ESS1878: adding io range 0x220-0x22f, size=3D0x10, align=3D0 > ESS1878: adding io range 0x388-0x38b, size=3D0x4, align=3D0 > ESS1878: adding io range 0x330-0x331, size=3D0x2, align=3D0 > ESS1878: adding irq mask 0x20 > ESS1878: adding dma mask 0x2 > ESS1878: adding dma mask 0x20 > pnpbios: handle 17 device ID ESS1878 (78187316) > ... > unknown: failed to probe at port 0x250-0x257 on isa0 > sbc0: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 > drq 1,5 on isa0 sbc0: [GIANT-LOCKED] > unknown: failed to probe at port 0x3e0-0x3e1 on isa0 > Device configuration finished. >=20 > Note that there's no pcm reported and the only sound-related device > is /dev/sndstat. I get the same behaviour if I don't build sound > into the kernel and kldload snd_sbc.ko (which autoloads sound.ko). >=20 > laptop1# sysctl hw.snd.verbose=3D2 > hw.snd.verbose: 1 -> 2 > laptop1# sysctl hw.snd > hw.snd.targetirqrate: 32 > hw.snd.report_soft_formats: 1 > hw.snd.verbose: 2 > hw.snd.unit: 0 > hw.snd.maxautovchans: 0 > laptop1# cat /dev/sndstat=20 > FreeBSD Audio Driver (newpcm) > Installed devices: > laptop1#=20 >=20 > I have successfully used sound on a similar laptop with 4.9, where > the probes looked like: > sbc0: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 > drq 1,5 on isa0 pcm0: on sbc0 >=20 > I suspect the problem is that sbc0 is not triggering attachment of > pcm0 but I'm uncertain why. Does anyone have any suggestions? >=20 >=20 Try to disable ACPI, or edit /usr/src/sys/dev/sound/isa/sbc.c and remove acpi module dependency (line 794) -- Ariff Abdullah FreeBSD --Signature=_Sun__30_Jul_2006_12_10_55_+0800_8.ZkA87zFEcMuv.r Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEzDFclr+deMUwTNoRAvnfAKCEh174E5/M7C8WBRQ/lvDy8UNRoACcD6F5 o5IhzKRT1A5l2d/rmtDfsz4= =ruoO -----END PGP SIGNATURE----- --Signature=_Sun__30_Jul_2006_12_10_55_+0800_8.ZkA87zFEcMuv.r--