Date: Wed, 22 Dec 1999 12:50:20 -0700 (MST) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/15632: mss driver fails to recognize CS4239 on Thinkpad 770X Message-ID: <199912221950.MAA00517@caspian.plutotech.com>
index | next in thread | raw e-mail
>Number: 15632
>Category: kern
>Synopsis: mss driver fails to recognize CS4239 on Thinkpad 770X
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 22 12:00:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Justin T. Gibbs
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:
Thinkpad 770X with CS4610 PCI accellarator CS4239 sound configuraiton.
I believe the TP660 has the same setup.
>Description:
Until we can get the PCI CS driver to handle non AC-97 codecs,
we should attach directly to the CS4239 and run in ISA
compatibiliy mode. Unfortunately, all of the CS resources
on the board have a slightly different logical ID than the
normal ones. They use CSC01XX instead of CS00XX. Perhaps
this is to indicate that there is a PCI accelerator attached?
>How-To-Repeat:
Add the pcm driver to your kernel config and boot that kernel.
>Fix:
==== //depot/FreeBSD-current/src/sys/dev/sound/isa/mss.c#6 - /usr/src/sys/dev/sound/isa/mss.c ====
*** /tmp/tmp.315.32 Wed Dec 22 12:43:21 1999
--- /usr/src/sys/dev/sound/isa/mss.c Wed Dec 22 12:37:45 1999
***************
*** 1325,1330 ****
--- 1329,1335 ----
}
static struct isa_pnp_id pnpmss_ids[] = {
+ {0x0001630e, "CS423x"}, /* CSC0000 */
{0x0000630e, "CS423x"}, /* CSC0000 */
{0x01000000, "CMI8330"}, /* @@@0001 */
{0x2100a865, "Yamaha OPL-SAx"}, /* YMH0021 */
***************
*** 1360,1365 ****
--- 1365,1371 ----
mss->drq2_rid = 1;
switch (isa_get_logicalid(dev)) {
+ case 0x0001630e: /* CSC0000 */
case 0x0000630e: /* CSC0000 */
mss->bd_flags |= BD_F_MSS_OFFSET;
mss->bd_id = MD_CS42XX;
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912221950.MAA00517>
