Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2006 20:11:05 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Zahemszky =?ISO-8859-1?Q?G=E1bor?= <Gabor@Zahemszky.HU>
Cc:        freebsd-multimedia@FreeBSD.org
Subject:   Re: snd_mss problem
Message-ID:  <20060104201105.3af401a9.ariff@FreeBSD.org>
In-Reply-To: <43BB0835.3070508@Zahemszky.HU>
References:  <43BB0835.3070508@Zahemszky.HU>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <Gabor@Zahemszky.HU> 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: <CS423x> 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: <CS423x> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060104201105.3af401a9.ariff>