From owner-freebsd-mobile Tue Mar 14 14: 3:15 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from hermes.mixx.net (hermes.mixx.net [212.84.196.2]) by hub.freebsd.org (Postfix) with ESMTP id 0D38737B742 for ; Tue, 14 Mar 2000 14:03:09 -0800 (PST) (envelope-from news-list.freebsd.mobile@innominate.de) Received: from mate.bln.innominate.de (gatekeeper.innominate.de [212.5.16.129]) by hermes.mixx.net (Postfix) with ESMTP id 96FC259827 for ; Tue, 14 Mar 2000 23:03:02 +0100 (CET) Received: by mate.bln.innominate.de (Postfix, from userid 9) id BF3172CA6D; Tue, 14 Mar 2000 23:02:59 +0100 (CET) From: news-list.freebsd.mobile@innominate.de (Thomas Graichen) Reply-To: Thomas Graichen X-Newsgroups: innominate.bln.list.freebsd.mobile Subject: Re: yamaha ds-xg and 4.0-CURRENT Date: 14 Mar 2000 22:02:58 GMT Organization: innominate AG, Berlin, Germany Lines: 72 Message-ID: References: <20000307104009.A74270@barmetta.com> Reply-To: graichen@innominate.de X-Trace: mate.bln.innominate.de 953071378 21304 10.0.0.213 (14 Mar 2000 22:02:58 GMT) X-Complaints-To: news@innominate.de User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/4.0-RELEASE (i386)) To: mobile@FreeBSD.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "bryan d. o'connor" 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: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 > pcm0: 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: (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