From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 4 12:11:20 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6642116A420 for ; Wed, 4 Jan 2006 12:11:20 +0000 (GMT) (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 D9AD643D5E; Wed, 4 Jan 2006 12:11:19 +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 k04CBEY3013640; Wed, 4 Jan 2006 12:11:17 GMT (envelope-from ariff@FreeBSD.org) Date: Wed, 4 Jan 2006 20:11:05 +0800 From: Ariff Abdullah To: Zahemszky =?ISO-8859-1?Q?G=E1bor?= Message-Id: <20060104201105.3af401a9.ariff@FreeBSD.org> In-Reply-To: <43BB0835.3070508@Zahemszky.HU> References: <43BB0835.3070508@Zahemszky.HU> 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=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_mss problem 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: Wed, 04 Jan 2006 12:11:20 -0000 --Signature=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 04 Jan 2006 00:26:45 +0100 Zahemszky G=E1bor wrote: > Hi! >=20 > I've got a problem with FreeBSD6's sound system. In my machine, > there is a working CMI8738-card - it's pcm0, and a builtin > soundchip. In 5-STABLE, it's recognised by the snd-mss module. If I > kldload it, I got: >=20 Can you replace (and recompile) /usr/src/sys/dev/sound/isa/mss.c with this one: http://people.freebsd.org/~ariff/test/mss.c > pcm1: at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq > 0,1 on isa0 >=20 > with verbose mode, the next few lines, too: >=20 > ioapic0: routing intpin 5 (ISA IRQ 5) to cluster 0 > pcm1: [GIANT-LOCKED] > pcm1: sndbuf_setmap ff1000,1000; 0xda77c000 -> ff1000 > pcm1: sndbuf_setmap ff1000,1000; 0xda77d000 -> ff0000 >=20 > But on FreeBSD6, the builtin chip "locks" the machine. If I kldload=20 > snd_mss (with verbose mode), I got the following lines: >=20 > pcm1: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq > 1,0 on isa0 >=20 > AD_WAIT_INIT_FAILED 201000 0xff > AD_WAIT_INIT_FAILED 1002000 0xff > AD_WAIT_INIT_FAILED 203000 0xff > AD_WAIT_INIT_FAILED 1002000 0xff > AD_WAIT_INIT_FAILED 1000000 0xff > AD_WAIT_INIT_FAILED 1000000 0xff > mss: Auto calibration timed out (1) > AD_WAIT_INIT_FAILED 201000 0xff >=20 > And the last line repeats forever. The machine doesn't recognise any >=20 > keypress - neither the Caps/Scrool/Num - Lock keys, nor the=20 > Goto-Debugger key. >=20 > I doesn't know, is it OK, that in FBSD5, in the port line there is > port 0x534, but in FBSD6, it's 0x600. And in FBSD5, drq 0,1 but in > FBSD6, it's drq 1,0 (they are the same DRQ lines, so maybe doesn't > matter). >=20 > So my trivial question is: are there any possibilities, to use my=20 > machine's builtin soundchip in FreeBSD6? (The machine is a Dell=20 > Precision WS210, 2x P-III-550.) >=20 > Bye, > Gabor Zahemszky < Gabor at Zahemszky dot HU > >=20 > PS: this lockup is in both the new - and the old - sound driver (my=20 > system is 6-stable from Jan 2.) >=20 -- Ariff Abdullah FreeBSD --Signature=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDu7tdlr+deMUwTNoRAlz6AJ0Svv1sFakiCSs4OldU6uz+C1TD/wCgkbXa 0jZykXPn+tRcd+9MtuZ4tL0= =4sho -----END PGP SIGNATURE----- --Signature=_Wed__4_Jan_2006_20_11_05_+0800_MvGCfcReDgs=3O_m--