Date: 14 Mar 2000 22:02:58 GMT From: news-list.freebsd.mobile@innominate.de (Thomas Graichen) To: mobile@FreeBSD.org Subject: Re: yamaha ds-xg and 4.0-CURRENT Message-ID: <news2mail-8amcui$kpo$1@mate.bln.innominate.de> References: <20000307104009.A74270@barmetta.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"bryan d. o'connor" <ml@barmetta.com> wrote:
> i'm trying to get sound working on a sony vaio z505hs.
> (newer vaios use yamaha ds-xg chips whereas the previous
> version used the neomagic 256av)
> running 4.0-current
> i've had the best luck with:
> device pcm
> device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15
> causes:
> sbc0: <Soundblaster Pro> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
> pcm0: <SB DSP 3.01> on sbc0
> but when i play audio, it just hangs.
> according to windows, the device is:
> yamaha ds-xg pci audio codem (wdm)
> irq 09
> mem 80008000-8000ffff
> io 1400-143f
> io 1058-105b
> i tried changing the port/irq etc, but have had no luck.
> port 0x220/irq 9 - device found, pcm doesn't attach.
> (resource not allocated error, sbc returns 6)
> port 0x1040/irq 5|9 - device not found.
> (adding iomem 0x80008000 to any of the above made no difference.)
> how should the settings that windows uses correspond to
> what i set in the kernel config?
> should i even be using sbc0? i didn't think i would need it because
> i thought the ds-xg was a pci chip. i initially had tried just
> "device pcm0" and fiddling with PNPBIOS (and PNP OS in the bios) etc..
> but no go. i'm pretty sure this is the device as reported by the
> pci probe:
> pci0: <unknown card> (vendor=0x1073, dev=0x0010) at 9.0 irq 9
> full dmesg output is below.
> thanks for any help you can offer.
for me it helped (on a n505x) to force the card into vibra 16x mode
via setting:
f |= BD_F_SB16X;
after the end of the case clause around line 350 of sbc.c (something
like:
switch (logical_id) {
case 0x43008c0e: /* CTL0043 */
f |= BD_F_SB16X;
break;
}
f |= BD_F_SB16X;
then) - maybe this works for me - this at least gives me 16 bit
sound on my vaio - good luck
t
--
graichen@innominate.de
innominate AG
networking people
fon: +49.30.308806-13 fax: -77 web: http://innominate.de pgp: /pgp/tg
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?news2mail-8amcui$kpo$1>
