From owner-freebsd-current Fri Dec 10 7:34:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 46A0615235 for ; Fri, 10 Dec 1999 07:34:34 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 377871CA0; Fri, 10 Dec 1999 23:34:31 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: joeo@cracktown.com Cc: current@freebsd.org Subject: Re: PNPBIOS vs cs423B codec In-Reply-To: Message from of "Thu, 09 Dec 1999 18:13:02 EST." Date: Fri, 10 Dec 1999 23:34:31 +0800 From: Peter Wemm Message-Id: <19991210153431.377871CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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: at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq > 1,0 on isa0 Hmm.. My CS4236B chip reports as "CSC0000" pcm0: 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