From owner-freebsd-questions Wed Nov 25 14:01:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15564 for freebsd-questions-outgoing; Wed, 25 Nov 1998 14:01:40 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15551 for ; Wed, 25 Nov 1998 14:01:31 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.053 #1) id 0zimzm-0007j2-00 for questions@freebsd.org; Wed, 25 Nov 1998 22:01:11 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id WAA00902 for ; Wed, 25 Nov 1998 22:00:19 GMT Received: from uk.radan.com (rasnt-1) by beavis.uk.radan.com (4.1/SMI-4.1) id AA15691; Wed, 25 Nov 98 22:00:16 GMT Message-Id: <365C7C31.12873134@uk.radan.com> Date: Wed, 25 Nov 1998 21:52:49 +0000 From: Mark Ovens X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) Mime-Version: 1.0 To: questions@FreeBSD.ORG Subject: Re: [Fwd: Yamaha OPL card] References: <365C1AAD.51A9C56C@uk.radan.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Jim Barker wrote: > > > > I will investigate the pcm driver that you are referring to, I appreciate > > the insight, thanks. If you could provide some detail's, that would > > be great as well, thank you. > > OK, here's the sound stuff from my kernel config file: # Sound card support stuff # Controls all sound devices # controller snd0 # SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB) # device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr # SoundBlaster 16 DSP driver - for SB16 - requires sb0 device # device sbxvi0 at isa? drq 5 # SoundBlaster 16 MIDI - for SB16 - requires sb0 device # device sbmidi0 at isa? port 0x330 # MS Sound System (AD1848 Based Boards) # device mss0 at isa? port 0x530 irq 11 drq 3 vector adintr # Yamaha OPL-2/OPL-3 FM - for SB, SB Pro, SB16, PAS # device opl0 at isa? port 0x388 # Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!). # You may also wish to enable the pnp controller with this, for pnp # sound cards. device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr Notice that _all_ ``sb*'' entries _and_ ``snd0'' are #'d out, only ``pcm0'' is enabled. Also you may need to use Plug 'n' Pray. If so, make sure this is in your config file: controller pnp0 This is from dmesg (I booted with ``-v''). Note that I had to ``boot -c'' and modify the pnp settings for _my_ sound card (Pine MegaWave Gold) CSN 1 Vendor ID: YMH0801 [0x0108a865] Serial 0xffffffff PnP: override config for CSN 1 LDN 0 vend_id 0x0108a865 pnp1:0 port 0x0220 0x0530 0x0388 0x0330 irq 5:0 drq 0:1 en 1 fl 0x0 ...... mss_probe: no address supplied, try default 0x530 mss_detect - chip revision 0x0a mss_detect() - Detected CS4231 pcm0 at 0x530 irq 10 drq 1 flags 0xa200 on isa mss_attach 0 at 0x530 irq 10 dma 1:1 flags 0xa200 All the documention for the pcm0 driver can be found in /usr/src/sys/i386/snd/README (additional info is in the file CARDS in the same dir). Note that the install instructions in README describe patching source files and copying soundcard.h. This is not necessary, the notes were obviously written when this was only a patch and have not been updated. All the source files are installed correctly already. HTH > > -- > > Jim Barker > > UNIX/NT Administrator > > GTE Internetworking > > Suite 1200 > > 1300 N. 17th Street > > Arlington, VA 22209 > > > > Phone: (703) 284-4798 > > Fax: (703) 284-4777 > > -- > Trust the computer industry to shorten Year 2000 to Y2K. It > was this thinking that caused the problem in the first place. > > Mark Ovens, CNC Applications Engineer, Radan Computational Ltd. > Bath, Avon, England. Sheet Metal CAD/CAM Solutions > mailto:marko@uk.radan.com http://www.radan.com -- When everything's coming your way, you're in the wrong lane. Mark Ovens, CNC Applications Engineer, Radan Computational Ltd Sheet Metal CAD/CAM Solutions mailto:marko@uk.radan.com http://www.uk.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message