From owner-freebsd-questions Mon Jul 24 15: 9:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rkvws05.wcomnet.com (rkvws05.wcomnet.com [166.41.255.129]) by hub.freebsd.org (Postfix) with ESMTP id F3B6937BD30 for ; Mon, 24 Jul 2000 15:09:02 -0700 (PDT) (envelope-from andy.gervase@wcom.com) Received: from wcom.com (IDENT:root@localhost [127.0.0.1]) by rkvws05.wcomnet.com (8.9.3/8.9.3) with ESMTP id SAA15105 for ; Mon, 24 Jul 2000 18:08:51 -0400 Message-ID: <397CBE72.62326623@wcom.com> Date: Mon, 24 Jul 2000 18:08:50 -0400 From: Andy Gervase Reply-To: andy.gervase@wcom.com Organization: MCI Worldcom X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: CS4236 Sound card Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have on a Dell Optiplex Gx1 with what Windows reports as a Crystal CS423x onboard chip.  I'm a bit confused as to what entries to place in the kernel file.  Currently I have this:

device          sn0     at isa? port 0x300 irq 10
device         pcm0            # Sound card support
options                PNPBIOS
device         css0    at isa? port 0x534 irq 5 drq 1 flags 0x08
device          uart0   at isa? port 0x330 irq 5
device          csa

I've tried several combinations of the above, but one common message I get while compiling it is:

<some output ommited>
midi_synth.o: In function `midi_synth_send_sysex':
/usr/src/sys/compile/SMUT/../../i386/isa/sound/midi_synth.c(.text+0xb23): undefined reference to `synth_devs'
/usr/src/sys/compile/SMUT/../../i386/isa/sound/midi_synth.c(.text+0xbc9): undefined reference to `midi_devs'
/usr/src/sys/compile/SMUT/../../i386/isa/sound/midi_synth.c(.text+0xc12): undefined reference to `midi_devs'
*** Error code 1

Stop in /usr/src/sys/compile/SMUT.

I did, at one time, add: device sbmidi0 at isa? port 0x330, however I still got these errors.  Which  combination do I need?  Am I missing something in the above configuration?  Is there to much in the above configuration?  The only devices that exist are, /dev/pcaudio, /dev/pcaudioctl that even remotely relate the sound controller.  Here's what I get with dmesg from a previous boot:  (All I had in it was the pcm0 entry at that point)

<some output ommited>
unknown: <PNP0c01> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown0: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown: <PNP0000> can't assign resources
unknown1: <PNP0100> at port 0x40-0x5f irq 0 on isa0
unknown2: <PNP0200> at port 0x80-0x9f,0-0x1f,0xc0-0xdf drq 4 on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0800> can't assign resources
unknown3: <PNP0b00> at port 0x70-0x7f irq 8 on isa0
unknown4: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0
unknown5: <Game> at port 0x3a0-0x3a7 on isa0
unknown6: <Ctrl> at port 0xf00-0xf07 on isa0
unknown7: <MPU> at port 0x330-0x331 on isa0
<more output omitted>

I love this FreeBSD and really hope to lose the Linux and move onto FreeBSD.  I think it's fast and built tough!  Thanks in advance.

Andy
 

-- 
Andrew Gervase
Electronic Data Systems
Rockville Midrange Operations
Vnet- 231-6813
Tel - 301-284-6813

EDS:  To be "......the recognized global leader in ensuring clients achieve
superior value in the Digital Economy"
  To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message