Date: Tue, 11 Jul 2000 16:46:20 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: "David J. Kanter" <djkanter@northwestern.edu> Cc: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: Which /dev for "device pcm" in kernel? Message-ID: <20000711164620.A237@parish> In-Reply-To: <20000710231700.A418@localhost.localdomain>; from djkanter@northwestern.edu on Mon, Jul 10, 2000 at 11:17:00PM -0500 References: <20000710180337.A39923@localhost.localdomain> <20000711002554.L237@parish> <20000710231700.A418@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <AudioPCI ES1371> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000711164620.A237>
