Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 23:34:31 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        joeo@cracktown.com
Cc:        current@freebsd.org
Subject:   Re: PNPBIOS vs cs423B codec 
Message-ID:  <19991210153431.377871CA0@overcee.netplex.com.au>
In-Reply-To: Message from <joeo@cracktown.com>  of "Thu, 09 Dec 1999 18:13:02 EST." <Pine.LNX.4.04.9912091757240.13676-100000@ra.nks.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
joeo@cracktown.com wrote:
> Managed to get the sound stuff working on this thinkpad 600e, for anyone
> who cares...
> 
> Had to update to the most recent bios, and made sure "quick boot" was
> disabled (hold down F1 while powering on to get into bios).  I removed the
> "csa0" device from the kernel config, despite having a CS4610 probed
> during boot.  Also set up a pcm0 config line of the sort...
> 
> device          pcm0 at isa? port ? irq 5 drq 1 flags 0x10
> 
> % cat /dev/sndstat
> FreeBSD Audio Driver (newpcm) Dec  9 1999 17:28:08
> Installed devices:
> pcm0: <SoundBlaster Pro 3.2> at io 0x220 irq 5 drq 0:1 (1/1 channels
> duplex)
> 
> 
> the relevant PNP boot messages without pcm enabled...
> 
>  CSC0100: adding io range 0x530-0x537, size=0x8, align=0
>  CSC0100: adding io range 0x388-0x38b, size=0x4, align=0
>  CSC0100: adding io range 0x220-0x233, size=0x14, align=0x20
>  CSC0100: adding irq mask 0x20
>  CSC0100: adding dma mask 0x2
>  CSC0100: adding dma mask 0x1
>  CSC0100: start dependant
>  pnpbios: handle 14 device ID CSC0100 (0001630e)
> 
> ...
> 
> unknown6: <CSC0100> at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq
> 1,0 on isa0

Hmm.. My CS4236B chip reports as "CSC0000"

pcm0: <CS4236> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0

Vendor ID CSC0b36 (0x360b630e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 1
Device Description: CS4236  Audio

Logical Device ID: CSC0000 0x0000630e #0
Device Description: WSS/SB

You might try this patch to sys/dev/sound/isa:

Index: mss.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/sound/isa/mss.c,v
retrieving revision 1.37
diff -u -r1.37 mss.c
--- mss.c	1999/12/06 18:26:30	1.37
+++ mss.c	1999/12/10 15:31:49
@@ -1343,6 +1343,7 @@
 
     	switch (logical_id) {
     	case 0x0000630e: /* CSC0000 */
+	case 0x0001630e: /* CSC0100 */
  		if      (id == 0x3700630e) s = "CS4237";
  		else if (id == 0x2500630e) s = "CS4235";
  		else if (id == 0x3600630e) s = "CS4236";

Please try this again with 'options PNPBIOS' and *only* 'device pcm0' with
no 'at isa...' cruft.

Cheers,
-Peter




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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