From owner-freebsd-questions Sun Dec 30 12: 4:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail4.cableone.net (mail4.cableone.net [24.116.0.62]) by hub.freebsd.org (Postfix) with ESMTP id B48FC37B41A for ; Sun, 30 Dec 2001 12:04:27 -0800 (PST) Received: from cableone.net ([24.116.49.212]) by mail4.cableone.net with Microsoft SMTPSVC(5.5.1877.447.44); Sun, 30 Dec 2001 13:03:19 -0700 Message-ID: <3C2F730C.12113622@cableone.net> Date: Sun, 30 Dec 2001 14:03:24 -0600 From: Dennis White X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dennis White Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Yamaha opl sound References: <20011230132246.X70028-200000@serv1.wallnet.com> <3C2F7299.23936FC@cableone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dennis White wrote: > > Did you try, as root, typing kldload (loadable kernel module) > to load the sound modules? Then you type cd /dev type > sh MAKEDEV snd0 > If the modules work, sound will be enabled &, if it is, add > the line snd_load="YES" to the /boot/loader.conf to load > the kernel sound modules on boot. > If the above doesn't work, you may have to do what I did on > my Toshiba 4015CDT. If you copied the kernel source when > you installed, good. Do cd /usr/src/sys/i386/conf then copy > the file there, GENERIC, to a new name & open it in vi, pico, > whatever. Maybe one of the old timers around here will see > this & correct me if I'm wrong, but I put it under pccard for > want of a better spot just to find easy. You hopefully know, > maybe from a previous ms bloatstall, what port & irq your > sound card uses. Hope so. Here's the line I used: > device pcm0 at isa? irq 5 drq1 flags 0x0 > Then save & exit. From /usr/src/sys/i386/conf, where you > did your editing, do config NEWKERN (or whatever you > named it. When it finishes, do cd ../../compile/NEWKERN > and do make depend. When it finishes, so make & when > it's done, make install. After, do /sbin/reboot or maybe > shutdown -r now & after you finish rebooting, do > dmesg | grep pcm > If it found your card, you'll see something like > pcm0: on sbc0 > Then su if not root already, & if dmesg showed pcm > ending with 0, do > cd /dev > sh MAKEDEV snd0 > If dmesg shows sound devices ending with 1, you do: > cd /dev > sh MAKEDEV snd1 > Nothing is created in /dev starting with snd -- what's > created are device nodes ending with 0 or 1 and > symbolic links (with the same names but without a > number) as follows: > /dev/audio > /dev/dsp > /dev/dspW > /dev/midi > /dev/mixer > /dev/music > /dev/sequencer > /dev/pss > Got all of this from Annelise Anderson's book: > FreeBSD: An Open-Source Operating System for > Your Personal Computer > Best $22 I ever spent, being the newbie I am. :-) > 2nd edition's out now too with 4.4 cd. Shameless > plugging, but the lady's helped me a lot thru the > mailing list & regular email. Besides dmesg, you > can do cat /dev/sndstat & see the configured devices. > Hope this helps. > > Tim Kellers wrote: > > > > After doing battle with a Toshiba 4010CDS --now it dual boots into Win98 > > and 4.5 Pre-Release, I'm at a loss to make the sound work in KDE2.2 > > > > The sound card is recognized (see attached dmesg -a). > > > > I just read through the "stable" archives on Freebsd.org and I saw where > > some folks were having problems with Yamaha sound on laptops, but I didn't > > see any resolution. > > > > Since this is a new install of 4.5 Pre, i figured I'd ask here, first. > > > > TIA, > > > > Tim Kellers > > CPE/NJIT > > > > ------------------------------------------------------------------------ > > Name: zing > > zing Type: Plain Text (TEXT/PLAIN) > > Encoding: BASE64 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message