Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2000 18:22:18 -0800 (PST)
From:      Christopher Johnson <cjohnson@wcug.wwu.edu>
To:        Mark Ovens <mark@ukug.uk.freebsd.org>
Cc:        Walter Brameld <brameld@twave.net>, freebsd-questions@freebsd.org
Subject:   Re: Vibra16/sound problems
Message-ID:  <Pine.LNX.3.96.1000207182122.25042B-100000@sloth>
In-Reply-To: <20000207111528.B1906@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
I do have a PCI SBLive! card that I use under Windows, but it's not an
option under FreeBSD.

On Mon, 7 Feb 2000, Mark Ovens wrote:

> On Sun, Feb 06, 2000 at 11:11:20PM -0500, Walter Brameld wrote:
>=20
> > Your /dev/sndstat is indicating that your card appears on pcm1
> > instead of pcm0. Try recompiling your kernel with pcm1. After
> > rebooting, cd to /dev and type "./MAKEDEV snd1". See if that helps.
> >=20
>=20
> Yes, but Christopher says the card is ISA and he has ``device
> pcm0....'' in the kernel, so the card should be found as pcm0, unless
> it is, in fact, a PCI card.
>=20
> This is based on something I read (which I can't now find; maybe it
> was a thread here on -questions) and my own experience.
>=20
> Originally I had an ISA Yamaha OPL3 card, ``device pcm0...'' in my
> kernel and the card was indeed found as pcm0.
>=20
> Recently I replaced the Yamaha with a SoundBlaster PCI128, a PCI card.
> Now FreeBSD, using the *same* kernel, finds the SB as pcm1 and says
> pcm0 not found:
>=20
> marder-1:/usr/mark{52}% dmesg
> Copyright (c) 1992-1999 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California. All rights reserved.
> FreeBSD 3.4-STABLE #1: Sat Feb  5 13:38:58 GMT 2000
>     mark@marder-1:/usr/src/sys/compile/MARDER-1
>=20
> [snip]
>=20
> es1: <AudioPCI ES1371> rev 0x06 int a irq 11 on pci0.11.0
> pcm1: using I/O space register mapping at 0x6800
>=20
> [snip]
>=20
> pcm0 not found
>=20
> The first time I booted with the new card all I had to do was:
>=20
>     # cd /dev
>     # ./MAKEDEV snd1
>=20
> This symlinks the sound devices to <device>1 instead of <device>0:
>=20
>      # cd /dev
>      # ls -lrt
>=20
>      [snip]
>=20
>      lrwxrwxrwx  1 root  wheel   6 Feb  5 13:53 mixer -> mixer1
>      lrwxrwxrwx  1 root  wheel  10 Feb  5 13:53 sequencer -> sequencer1
>      lrwxrwxrwx  1 root  wheel   4 Feb  5 13:53 dsp -> dsp1
>      lrwxrwxrwx  1 root  wheel   6 Feb  5 13:53 audio -> audio1
>      lrwxrwxrwx  1 root  wheel   5 Feb  5 13:53 dspW -> dspW1
>      lrwxrwxrwx  1 root  wheel   6 Feb  5 13:53 music -> music1
>      lrwxrwxrwx  1 root  wheel   4 Feb  5 13:53 pss -> pss1
>=20
> I don't think that changing the kernel config file to ``device
> pcm1...' will help, I tried that in an attempt to get rid of the
> ``pcm0 not found'' boot message, but all that happened was that the SB
> was found as pcm2 and the error changed to ``pcm1 not found''.
>=20
> So, the immediate fix here is probably to run ``./MAKEDEV snd1'' in
> /dev as Walter suggests. That should get sound working, but I'm still
> curious as to why the card is found as pcm1. Are you sure it's an
> ISA card?
>=20
> The only other reason I can think of is that there is built-in sound
> on the motherboard that is causing a conflict.
>=20
> HTH
>=20
> > On Sun, 06 Feb 2000, in a never-ending search for enlightenment,
> > Christopher Johnson wrote:
> >
> > > I've been able to get some sound to work with my ISA Soundblaster
> > > Vibra16 card, but it's still having problems. I'll try to include
> > > as much relevant information as possible, so bear with me.
> >=20
> > > After adding:
> > > device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0
> > > and recompiling/installing the kernel, it will work fine with fxtv, b=
ut
> > > not xmms or aumix, and the volume is stuck at one level. (The 'contro=
ller
> > > pnp0' line was already in there.)
> > >=20
> > > I also have:
> > > bash-2.03# cat /dev/sndstat
> > > FreeBSD Audio Driver (981002) Feb  6 2000 18:28:23
> > > Installed devices:
> > > pcm1: <SoundBlaster 16 4.16> at 0x220 irq 10 dma 1:3
> > > So I presume that the driver is working okay, but it might not be, si=
nce
> > > dmesg reports:
> > > /kernel: pcm0 not probed due to drq conflict with pcm1 at 1
> > >=20
>=20
> OK, this is the strange bit.=20
>=20
> > > Also /var/log/err has:
> > > /kernel: cmd xmms pid 18252 tried to use non-present sched_getschedul=
er
> > > and:
> > > /kernel: pcm0: unit not configured, perhaps you want pcm1 ?
> > >=20
> > > I'm running 3.4-STABLE on a PII/350 w/256 MB of ram.
> > >=20
> > > I think I just have something misconfigured, but being new to FreeBSD=
, I
> > > don't know where to start.  I read the pcm man page, the mixer man pa=
ge,
> > > the handbook, and the FreeBSD diary, and I'm just not sure what I'm d=
oing
> > > wrong.  sh -x /dev/mixer reports that there is no such device name, a=
nd
> > > although sh -x /dev/snd0 and snd1 seem to work, I think it's the reas=
on I
> > > have about 20-25 dsp** entries in /dev. (I did the /dev/snd0 a few ti=
mes,
> > > because the pcm man page suggested recreating the symlinks)
> > >=20
> > > Thanks in advance!
> > >=20
> > > Chris Johnson
> > > cjohnson@wcug.wwu.edu
> > >=20
> > >=20
> > >=20
> > >=20
> > >=20
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > --=20
> > Walter
> >=20
> > in=B7tel=B7lec=B7tu=B7al
> > n. Someone who has been educated past his/her level of intelligence.
> > P.S. The answer is 42.
> >=20
> >=20
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>=20
> --=20
> =09Microsoft: Where do you want to go today?
> =09Linux:     Where do you want to go tomorrow?
> =09BSD:       Are you guys coming, or what?
> =09=09=09              -Poster at LinuxWorld 2000
> ________________________________________________________________
>       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
>=20
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>=20

Chris Johnson
cjohnson@wcug.wwu.edu



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?Pine.LNX.3.96.1000207182122.25042B-100000>