# Sound card problems (Yamaha xg)

0 views

### Matt Johnson

Oct 10, 1999, 3:00:00 AM10/10/99
to
I've just recently installed FreeBSD on the K6-2 machine, and I
everything in it works fine except the sound card. Checking the box it
came in was not much help..for what it's worth, the card is an
"IDEMA 3D Sound Card". It is a PCI card. When I briefly had OpenBSD on
this box, I remembered the dmesg saying something about audio so on a
hunch I dd'ed up myself an OpenBSD bootdisk and booted off it, escaped
to a shell and copied the dmesg over to a FreeBSD partiton. Here is the

part mentioning the card:

pchb1 at pci0 dev 7 function 3 "VIA Technologies VT82C586 (Apollo VP)
Power Management" rev 0x10
vendor "Yamaha", unknown product 0xd (class multimedia, subclass audio,
rev 0x03) at pci0 dev 17 function 0 not configured

This and consulting efnet #freebsd leads me to believe this card is
a Yamaha xg based PCI sound card.
I'm not sure if the pchb line above that has anything to do with the
sound card, but it is unorthodox OpenBSD dmesg policy to just say vendor

"foo", product bar rev 0x00, its usually foo0 at bar0 blah blah...
So anywho, I checked my kernel conf file, and there was no sound stuff
in my kernel, so I put the pcm driver in it, but dmesg just said
"pcm0: not found" I have yet to try pcm1, but pnpinfo lists no PnP
cards. pciconf -l lists xl0 (network card), vga0 (video card) and
these: none0, none1 chip0 chip1 chip2 chip3. Specific card drivers list

only ISA devices. It would really suck if it didn't work. Any ideas?
Help would be GREATLY appreciated!

Also, here is my uname output:
[matt@europa ~]% uname -a
FreeBSD europa.damnsw.net 3.3-RELEASE FreeBSD 3.3-RELEASE #2: Mon Sep 27

22:34:38 EDT 1999 ma...@europa.damnsw.net:/usr/src/sys/compile/EUROPA
i386

- Matt
(mailto:ma...@maine.rr.com) not back to the list, as I'm not subscribed
to it. Thanks.

To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message

### Mike Smith

Oct 10, 1999, 3:00:00 AM10/10/99
to
> vendor "Yamaha", unknown product 0xd (class multimedia, subclass audio,
> rev 0x03) at pci0 dev 17 function 0 not configured
>
> This and consulting efnet #freebsd leads me to believe this card is
> a Yamaha xg based PCI sound card.

Sounds like a YMF724 or similar; supported by OSS (www.opensound.com).

--
\\ Give a man a fish, and you feed him for a day. \\ Mike Smith
\\ Tell him he should learn how to fish himself, \\ msm...@freebsd.org
\\ and he'll hate you for a lifetime. \\ msm...@cdrom.com

### Reinier Bezuidenhout

Oct 11, 1999, 3:00:00 AM10/11/99
to
Hi ...

I am running 4.0-CURRENT with an onboard YMF724C as far as I gather. I tried
the OSS approach and found that after a few minutes my system would either
freeze or panic ... I susspect they have a nice bug in their kld. (I used
their 4.0 oss version). I mailed them about the problem and they just said,
sorry ... but if that is what is happening it would take some time to fix,
and it didn't seem like it would be soon.

:(

So I used my old ESS sound card instead.

Reinier

### Mike Smith

Oct 11, 1999, 3:00:00 AM10/11/99
to
> Hi ...
>
> I am running 4.0-CURRENT with an onboard YMF724C as far as I gather. I tried
> the OSS approach and found that after a few minutes my system would either
> freeze or panic ... I susspect they have a nice bug in their kld. (I used
> their 4.0 oss version). I mailed them about the problem and they just said,
> sorry ... but if that is what is happening it would take some time to fix,
> and it didn't seem like it would be soon.

Given the speed at which -current is changing, I wouldn't be accusing
their KLD of being buggy so much as just not absolutely up to date.

Their 724 driver is actually pretty stable; I've run it for days at a
time under -stable with no problems.

### Reinier Bezuidenhout

Oct 11, 1999, 3:00:00 AM10/11/99
to

> > sorry ... but if that is what is happening it would take some time to fix,
> > and it didn't seem like it would be soon.
>
> Given the speed at which -current is changing, I wouldn't be accusing
> their KLD of being buggy so much as just not absolutely up to date.
>
> Their 724 driver is actually pretty stable; I've run it for days at a
> time under -stable with no problems.
>

We tried it on a 3.2-STABLE machine too, with the same effects ...
(although it was a different Yamaha 701 PCI card)

Maybe we did something wrong :/

Did you do anything special ??

Reinier

### Mike Smith

Oct 11, 1999, 3:00:00 AM10/11/99
to
> > Their 724 driver is actually pretty stable; I've run it for days at a
> > time under -stable with no problems.
>
> We tried it on a 3.2-STABLE machine too, with the same effects ...
> (although it was a different Yamaha 701 PCI card)
>
> Maybe we did something wrong :/
>
> Did you do anything special ??

--
\\ Give a man a fish, and you feed him for a day. \\ Mike Smith
\\ Tell him he should learn how to fish himself, \\ msm...@freebsd.org
\\ and he'll hate you for a lifetime. \\ msm...@cdrom.com

### jack

Oct 11, 1999, 3:00:00 AM10/11/99
to
Today Reinier Bezuidenhout wrote:

> We tried it on a 3.2-STABLE machine too, with the same effects ...
> (although it was a different Yamaha 701 PCI card)
>
> Maybe we did something wrong :/
>
> Did you do anything special ??

I use it for my AWE64 and have found that loading it as early as
possible greatly improves stability. (Possibly because it's such
a memory hog???) I load it from /etc/rc just before inetd is

--------------------------------------------------------------------------
Jack O'Neill Systems Administrator / Systems Analyst
ja...@germanium.xtalwind.net Crystal Wind Communications, Inc.
Finger ja...@germanium.xtalwind.net for my PGP key.
PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD
enriched, vcard, HTML messages > /dev/null
--------------------------------------------------------------------------

### Reinier Bezuidenhout

Oct 11, 1999, 3:00:00 AM10/11/99
to
> Today Reinier Bezuidenhout wrote:
>
> > We tried it on a 3.2-STABLE machine too, with the same effects ...
> > (although it was a different Yamaha 701 PCI card)
> >
> > Maybe we did something wrong :/
> >
> > Did you do anything special ??
>
> I use it for my AWE64 and have found that loading it as early as
> possible greatly improves stability. (Possibly because it's such
> a memory hog???) I load it from /etc/rc just before inetd is
> loaded and have had it run for weeks with no problems.
>

Ah .. thanx ... I'll try that !!

Reinier

### Matt Johnson

Oct 11, 1999, 3:00:00 AM10/11/99
to
ok, thanks for the help. OSS sort of works (although it seems to be
unstable and crash, and I'm not sure I want to pay for that if it's so
unstable). But what I'd really like is an internal FreeBSD driver for it,
rather than resorting to 3rd party (and commercial, yeck) software. When
OSS is loaded, I do cat /dev/sndstat and it says:

Kernel: FreeBSD 3.3-RELEASE #2: Mon Sep 27 22:34:38 EDT 1999
ma...@europa.damnsw.net:/usr/src/sys/compile/EUROPA

Card config:
Yamaha YMF724 at 0xe6820000 irq 10

Audio devices:
0: Yamaha DS-XG (YMF724F) (DUPLEX)

so is there any support for this in -current or -stable? (as you see, I'm
still running -release)

[and also, the sound seems to be higher treble and less bass then sound on
the same headphones coming out of the Mac, is this just a matter of the
software that I'm using to play it or what?]

Thanks, Matt

### Mike Smith

Oct 11, 1999, 3:00:00 AM10/11/99
to
> ok, thanks for the help. OSS sort of works (although it seems to be
> unstable and crash, and I'm not sure I want to pay for that if it's so
> unstable). But what I'd really like is an internal FreeBSD driver for it,
> rather than resorting to 3rd party (and commercial, yeck) software. When
> OSS is loaded, I do cat /dev/sndstat and it says:

Yamaha don't have any documentation available for this device apart
from the SB Pro emulation, so not much chance of any support in the
forseeable future.

--
\\ Give a man a fish, and you feed him for a day. \\ Mike Smith
\\ Tell him he should learn how to fish himself, \\ msm...@freebsd.org
\\ and he'll hate you for a lifetime. \\ msm...@cdrom.com