Date: Mon, 24 Jan 2000 21:59:31 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: R Joseph Wright <rjoseph@nwlink.com> Cc: freebsd-questions@freebsd.org Subject: Re: pcm0 Message-ID: <20000124215931.A409@marder-1> In-Reply-To: <388BEBD0.6D72D60F@nwlink.com> References: <200001240250.DAA64581@dorifer.heim3.tu-clausthal.de> <388BEBD0.6D72D60F@nwlink.com>
index | next in thread | previous in thread | raw e-mail
On Sun, Jan 23, 2000 at 10:06:08PM -0800, R Joseph Wright wrote:
> Oliver Fromme wrote:
>
> > R Joseph Wright <rjoseph@nwlink.com> wrote in list.freebsd-questions:
> > > device pcm0 at isa? port ? tty irq 11 drq 1 flags 0x07
> > > ...although that may be completely wrong, I was sort of guessing on
> > > things. I've heard of people having success based on only adding the
> > > line "device pcm0" to the kernel config.
> >
> > That's true -- it's a PCI device, so all you need is:
> > device pcm0
> >
> > > Dmesg shows that my card is there:
> > > es1: <AudioPCI ES1371> rev 0x07 int a irq 11 on pci0.11.0
> > > pcm1: using I/O space register mapping at 0x6c00
> > > es1371: codec vendor revision 0
> > > es1371: codec features Bass & Treble
> > > es1371: stereo enhancement: no 3D stereo enhancement
> > > ...there is also the line:
> > > pcm0 not found
> >
You say that your card is a SB PCI 128? I added a SB PCI 128 Value
(not sure what the difference "Value" makes). My kernel config has:
device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0
and dmesg shows:
es1: <AudioPCI ES1371> rev 0x06 int a irq 11 on pci0.11.0
pcm1: using I/O space register mapping at 0x6800
es1371: codec vendor CRY revision 19
es1371: codec features Bass & Treble Headphone out 20bit DAC 18bit ADC
es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement
which is slightly different to yours. I also get:
pcm0 not found
> > That's perfectly OK.
> >
> > > After compiling I did ./MAKEDEV snd1, like I've read you're supposed to
> > > do.
So did I, here's what things look like in /dev:
crw-rw-rw- 1 root wheel 30, 16 Jan 17 17:37 mixer1
crw-rw-rw- 1 root wheel 30, 17 Jan 17 17:37 sequencer1
lrwxrwxrwx 1 root wheel 6 Jan 17 17:37 audio -> audio1
lrwxrwxrwx 1 root wheel 6 Jan 17 17:37 mixer -> mixer1
lrwxrwxrwx 1 root wheel 10 Jan 17 17:37 sequencer -> sequencer1
lrwxrwxrwx 1 root wheel 4 Jan 17 17:37 dsp -> dsp1
lrwxrwxrwx 1 root wheel 5 Jan 17 17:37 dspW -> dspW1
lrwxrwxrwx 1 root wheel 6 Jan 17 17:37 music -> music1
lrwxrwxrwx 1 root wheel 4 Jan 17 17:37 pss -> pss1
crw-rw-rw- 1 root wheel 30, 6 Jan 17 17:37 sndstat
crw-rw-rw- 1 root wheel 30, 20 Jan 17 17:37 audio1
crw-rw-rw- 1 root wheel 30, 18 Jan 17 17:37 midi1
crw-rw-rw- 1 root wheel 30, 21 Jan 17 17:37 dspW1
crw-rw-rw- 1 root wheel 30, 24 Jan 17 17:37 music1
crw-rw-rw- 1 root wheel 30, 25 Jan 17 17:37 pss1
> > > It didn't make any pcm* devices.
> >
> > That's OK, too.
> >
> > > I tried making links from
> > > /dev/audio and /dev/audio1 to /dev/pcm0 and /dev/pcm1, also I tried
> > > making links to /dev/dsp with no luck.
> >
Note that /dev/audio should be linked to /dev/audio1. Also, have you
got /dev/music linked to /dev/music1 (this could be the culprit, since
the CD player is not outputting any sound.)
Once you have /dev/audio linked to /dev/audio1 try just cat(1)'ing a
.au file to /dev/audio (if you've got python installed, try
/usr/local/lib/python1.5/test/audiotest.au):
# cat audiotest.au > /dev/audio
> > There are no device entries /dev/pcm*. Don't try to create
> > them.
> >
> > > The mixer is set on 100% every time I've checked it, so that isn't it.
> > > I figure I'm pretty close to getting it to work if it's showing up in
> > > dmesg. Can someone point me in the right direction?
> >
> > What is the problem, actually? What you described so far
> > sounds like everything is alright.. So what's wrong, exactly?
>
> Well, I would say not having any sound is wrong.
>
Well mine just worked after MAKEDEV'ing snd1 and since you seem to be
so close I'd suggest that it's just your symlinks in /dev that are the
cause of the problem(s).
HTH
> >
> > Are there any error messages? What happens if you try to,
> > say, play an mp3 file with mpg123?
>
> There have been no error messages. I haven't tried any mp3's, but the kde cd
> player, which worked find under oss, does not work. It behaves as if it's
> playing the cd, counting down the songs, but no sound comes from the speakers.
>
>
>
> >
> >
> > Regards
> > Oliver
> >
> > --
> > Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
> > (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)
> >
> > "In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
> > (Terry Pratchett)
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> --
> R Joseph Wright
>
> *I merely took the energy it takes to pout
> and wrote some blues --Duke Ellington*
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
"there's a long-standing bug relating to the x86 architecture
that allows you to install Windows too"
-Matthew D. Fuller
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000124215931.A409>
