Date: Thu, 8 Apr 1999 19:12:08 +0100 (BST) From: Steve Roome <steve@snuggly.demon.co.uk> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: multimedia@FreeBSD.ORG Subject: Re: YMF719 - configuration hell! Message-ID: <Pine.BSF.4.05.9904081808180.6910-100000@localhost> In-Reply-To: <199904080531.HAA28056@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Apr 1999, Luigi Rizzo wrote: > could be that rplayd is trying to use /dev/mixer0... I was using the package, I've just installed the port, and it's using /dev/mixer, even setting this to be /dev/mixer1 doesn't help. it's actually trying to do this : if (!(mxdevmask & SOUND_MIXER_PCM)) { report (REPORT_ERROR, "rplay_audio_get_volume: pcm mixer device not installed\n"); close (mx); return (-1); } so by adding a lot of lines like so : if (mxdevmask & SOUND_MIXER_XXX) printf("mixer supports SOUND_MIXER_XXX\n"); I now know that my sound card does the following (here's the output): rplayd/rplayd: host_read: cannot open /usr/local/etc/rplay.hosts mixer supports SOUND_MIXER_CD mixer supports SOUND_MIXER_IMIX mixer supports SOUND_MIXER_ALTPCM mixer supports SOUND_MIXER_RECLEV mixer supports SOUND_MIXER_IGAIN mixer supports SOUND_MIXER_OGAIN rplayd/rplayd: rplay_audio_get_volume: pcm mixer device not installed So, the question now is, why does it support ALT_PCM but not PCM, and what exactly does that mean to me ? (Can I (and should I want to) reroute things in the driver somehow so that PCM is actually ALTPCM, or am I jumping ahead a bit much there!) > > Which seem okay. > > > > Also, as this machine is a dual boot to Windows I can tell you that > > no matter what one does to the card in FreeBSD it only ever gets out > > about 50% the volume that the Windows driver manages on plain audio. > > kind of known problem -- the yamaha has some extra registers for > overall volume setting which are not handled by the driver. In fact there > is some code which deals with such registers on the YMF711/715 (i think > -- i am using them on the libretto) but just sets them to max volume. Aha, but it doesn't seem to actually set it to max, something more like 50% I think.. I'm not too sure about this though. > > 1) How on earth can I get the mixer to work properly ? > > see above -- the mixer works as you see, it is rplayd which needs to be > taught to use it. > > 2) How can I get the Voxware driver to work for this chipset, I think > > it's probably possible, but using pnp at the same time makes it somewhat > > harder to get anywhere. > > you mean the commercial one ? The old one that used to be the default in /usr/src/sys/i386/isa/sound, or perhaps a newer version, this appears to be VoxWare 2.9 on 3.0-Release. [I thought we had 3.5-alpha integrated ? Didn't know they made it commercial though, unless that's another product.] > > 3) Has anyone got a similar card to use soundblaster mode at all ? > > some might, but MSS mode is the one which works best. Tried that with the old driver, but I always end up getting a lot of things like this : /kernel: How strange... mss_intr with no reason! and not much in the way of working sound, well, it works, sometimes, but then other times it stops halfway through playing a sound, or loops, or goes all crackly, I think I've even been lucky enough to cause a panic, after some really bad screwups! =) > > 4) Anyone got a datasheet on this chipset... > > not that i know of. I've emailed the guy who maintains the documentation at yamaha to see if I can get one. Could be handy, although I'd not rate my chances of getting it to work even with the datasheet very highly either though =) Unless I know how to run the probe routines at any other time than boot, otherwise testing is such a monumental pain! Thanks, Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904081808180.6910-100000>