From owner-freebsd-questions Tue Jul 11 8:46:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 7A9E637B57F for ; Tue, 11 Jul 2000 08:46:28 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.88.177]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000711154626.CRPZ26680.mta01-svc.ntlworld.com@parish.my.domain>; Tue, 11 Jul 2000 16:46:26 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id QAA01284; Tue, 11 Jul 2000 16:46:21 +0100 (BST) (envelope-from mark) Date: Tue, 11 Jul 2000 16:46:20 +0100 From: Mark Ovens To: "David J. Kanter" Cc: FreeBSD questions Subject: Re: Which /dev for "device pcm" in kernel? Message-ID: <20000711164620.A237@parish> References: <20000710180337.A39923@localhost.localdomain> <20000711002554.L237@parish> <20000710231700.A418@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000710231700.A418@localhost.localdomain>; from djkanter@northwestern.edu on Mon, Jul 10, 2000 at 11:17:00PM -0500 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jul 10, 2000 at 11:17:00PM -0500, David J. Kanter wrote: > On Tue, Jul 11, 2000 at 12:25:54AM +0100, Mark Ovens wrote: > > Since your card is found as pcm0 you need snd0 > > > > # cd /dev && ./MAKEDEV snd0 > ---end quoted text--- > > Thanks. Things are now working but, unfortunately, I have now idea why or > how! Perhaps you can help answer these questions. > > Basically, I started by installing xmms to test whether I could get sound. > > I then did the MAKEDEV snd0 as you said. I got a /dev/sndstat, > /dev/sndstat is a text file containing details of your installed devices: % cat /dev/sndstat FreeBSD Audio Driver (newpcm) May 6 2000 20:04:45 Installed devices: pcm0: at io 0x6800 irq 11 (1p/1r channels duplex) % > but was I > supposed to get a /dev/snd0 as well? I didn't. Yes, but don't forget that /dev is not in your $PATH (unless you added it) so you must do ``./MAKEDEV'' > OK, so I rebooted and restarted xmms. > > The esound driver seems to work without any adjustments. The OSS output > driver has a device section. Should this be set this to /dev/sndstat? > Mine is set to /dev/dsp, and it works fine. > Basically, my confusion is I was expecting a /dev/snd0 but got a > /dev/sndstat and don't understand what's going on. I can only think that you mistyped. This is what you should have: % ls -l snd* audio* midi* sequen* mix* pss* dsp* music* lrwxrwxrwx 1 root wheel 6 4 Mar 21:34 audio -> audio0 crw-rw-rw- 1 root wheel 30, 4 21 Jun 19:42 audio0 lrwxrwxrwx 1 root wheel 4 4 Mar 21:34 dsp -> dsp0 crw-rw-rw- 1 root wheel 30, 3 9 Jul 15:36 dsp0 lrwxrwxrwx 1 root wheel 5 4 Mar 21:34 dspW -> dspW0 crw-rw-rw- 1 root wheel 30, 5 4 Mar 21:34 dspW0 crw-rw-rw- 1 root wheel 30, 2 4 Mar 21:34 midi0 lrwxrwxrwx 1 root wheel 6 4 Mar 21:34 mixer -> mixer0 crw-rw-rw- 1 root wheel 30, 0 4 Mar 21:34 mixer0 lrwxrwxrwx 1 root wheel 6 4 Mar 21:34 music -> music0 crw-rw-rw- 1 root wheel 30, 8 4 Mar 21:34 music0 lrwxrwxrwx 1 root wheel 4 4 Mar 21:34 pss -> pss0 crw-rw-rw- 1 root wheel 30, 9 4 Mar 21:34 pss0 lrwxrwxrwx 1 root wheel 10 4 Mar 21:34 sequencer -> sequencer0 crw-rw-rw- 1 root wheel 30, 1 4 Mar 21:34 sequencer0 -rw-r--r-- 1 root wheel 4698 24 Jan 21:52 snd -rw-r--r-- 1 root wheel 135876 23 Mar 21:32 snd0 crw-rw-rw- 1 root wheel 30, 6 4 Mar 21:34 sndstat % > -- > David Kanter > djkanter@northwestern.edu > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message