Date: Tue, 8 Feb 2000 02:34:42 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Christopher Johnson <cjohnson@wcug.wwu.edu> Cc: Walter Brameld <brameld@twave.net>, freebsd-questions@freebsd.org Subject: Re: Vibra16/sound problems Message-ID: <20000208023441.G3126@marder-1> In-Reply-To: <Pine.LNX.3.96.1000207182122.25042B-100000@sloth> References: <20000207111528.B1906@marder-1> <Pine.LNX.3.96.1000207182122.25042B-100000@sloth>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 07, 2000 at 06:22:18PM -0800, Christopher Johnson wrote: > I do have a PCI SBLive! card that I use under Windows, but it's not an > option under FreeBSD. > Do you mean that the Vibra *and* this card are both installed in the computer? This maybe the problem, the driver is getting confused. As I said before, you have ``device pcm0....'' in your config file but the probe is finding pcm1, which means a PCI card. If so then does the Vibra work if you remove the SBLive!? > On Mon, 7 Feb 2000, Mark Ovens wrote: > > > On Sun, Feb 06, 2000 at 11:11:20PM -0500, Walter Brameld wrote: > > > > > 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. > > > > > > > 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. > > > > 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. > > > > Originally I had an ISA Yamaha OPL3 card, ``device pcm0...'' in my > > kernel and the card was indeed found as pcm0. > > > > 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: > > > > 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 > > > > [snip] > > > > es1: <AudioPCI ES1371> rev 0x06 int a irq 11 on pci0.11.0 > > pcm1: using I/O space register mapping at 0x6800 > > > > [snip] > > > > pcm0 not found > > > > The first time I booted with the new card all I had to do was: > > > > # cd /dev > > # ./MAKEDEV snd1 > > > > This symlinks the sound devices to <device>1 instead of <device>0: > > > > # cd /dev > > # ls -lrt > > > > [snip] > > > > 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 > > > > 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''. > > > > 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? > > > > The only other reason I can think of is that there is built-in sound > > on the motherboard that is causing a conflict. > > > > HTH > > > > > 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. > > > > > > > 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, but > > > > not xmms or aumix, and the volume is stuck at one level. (The 'controller > > > > pnp0' line was already in there.) > > > > > > > > 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, since > > > > dmesg reports: > > > > /kernel: pcm0 not probed due to drq conflict with pcm1 at 1 > > > > > > > > OK, this is the strange bit. > > > > > > Also /var/log/err has: > > > > /kernel: cmd xmms pid 18252 tried to use non-present sched_getscheduler > > > > and: > > > > /kernel: pcm0: unit not configured, perhaps you want pcm1 ? > > > > > > > > I'm running 3.4-STABLE on a PII/350 w/256 MB of ram. > > > > > > > > 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 page, > > > > the handbook, and the FreeBSD diary, and I'm just not sure what I'm doing > > > > wrong. sh -x /dev/mixer reports that there is no such device name, and > > > > although sh -x /dev/snd0 and snd1 seem to work, I think it's the reason I > > > > have about 20-25 dsp** entries in /dev. (I did the /dev/snd0 a few times, > > > > because the pcm man page suggested recreating the symlinks) > > > > > > > > Thanks in advance! > > > > > > > > Chris Johnson > > > > cjohnson@wcug.wwu.edu > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-questions" in the body of the message > > > -- > > > Walter > > > > > > in?tel?lec?tu?al > > > n. Someone who has been educated past his/her level of intelligence. > > > P.S. The answer is 42. > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > > Microsoft: Where do you want to go today? > > Linux: Where do you want to go tomorrow? > > BSD: Are you guys coming, or what? > > -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 > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > Chris Johnson > cjohnson@wcug.wwu.edu > -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? -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 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?20000208023441.G3126>