From owner-freebsd-mobile Tue Mar 7 10:40:36 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from barmetta.barmetta.com (cm-24-142-60-178.cableco-op.ispchannel.com [24.142.60.178]) by hub.freebsd.org (Postfix) with ESMTP id 25FC737C0DB for ; Tue, 7 Mar 2000 10:40:28 -0800 (PST) (envelope-from bryan@barmetta.barmetta.com) Received: (from bryan@localhost) by barmetta.barmetta.com (8.9.3/8.9.3) id KAA74284; Tue, 7 Mar 2000 10:40:10 -0800 (PST) (envelope-from bryan) Date: Tue, 7 Mar 2000 10:40:09 -0800 From: "bryan d. o'connor" To: freebsd-mobile@freebsd.org Subject: yamaha ds-xg and 4.0-CURRENT Message-ID: <20000307104009.A74270@barmetta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-X: super karate monkey death car Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. ...bryan ---snip--- Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #13: Mon Mar 6 20:40:25 PST 2000 root@fegmania.barmetta.com:/usr/src/sys/compile/FEGMANIA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon (496.31-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 268369920 (262080K bytes) avail memory = 257101824 (251076K bytes) Preloaded elf kernel "kernel" at 0xc031c000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 9 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfc90-0xfc9f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: port 0xfca0-0xfcbf irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: port 0x1040-0x104f at device 7.3 on pci0 pci0: (vendor=0x104d, dev=0x8039) at 8.0 irq 9 pci0: (vendor=0x1073, dev=0x0010) at 9.0 irq 9 pci0: (vendor=0x14f1, dev=0x2443) at 10.0 irq 9 fxp0: port 0xfc40-0xfc7f mem 0xfec00000-0xfecfffff,0xfedf6000-0xfedf6fff irq 9 at device 11.0 on pci0 fxp0: Ethernet address 08:00:46:05:dd:b1 pcic-pci0: at device 12.0 on pci0 pci0: (vendor=0x104d, dev=0x808a) at 13.0 irq 9 fdc0: direction bit not set fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic: management irq 10 pcic0: at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pccard0: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 pcm0: on sbc0 unknown0: at port 0x398-0x399,0x4d0-0x4d1,0x8000-0x804f,0x1040-0x104f,0x10-0x18,0x1f,0x24-0x25,0x28-0x29,0x2c-0x2d,0x30-0x31,0x34-0x35,0x38-0x39,0x3c-0x3d,0x50-0x52,0x72-0x77,0x80,0x90-0x9f,0xa4-0xa5,0xa8-0xa9,0xac-0xad,0xb0-0xbd iomem 0xfff80000-0xffffffff,0xfff7f600-0xfff7ffff on isa0 unknown1: at iomem 0-0x9ffff,0xe8000-0xfffff,0x100000-0xfffffff on isa0 unknown2: at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0 unknown: can't assign resources unknown3: at port 0x40-0x43 irq 0 on isa0 unknown4: at port 0x70-0x71 irq 8 on isa0 unknown: can't assign resources unknown5: at port 0xf0-0xff irq 13 on isa0 unknown: can't assign resources unknown6: at port 0xcf8-0xcff on isa0 unknown7: at iomem 0xdc000-0xdffff on isa0 unknown8: on isa0 unknown9: at port 0x3e0-0x3e1 on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources ad0: 11513MB [23392/16/63] at ata0-master using UDMA33 Mounting root from ufs:/dev/ad0s2a pccard: card inserted, slot 0 sio2 at port 0x3e8-0x3ef irq 10 slot 0 on pccard0 sio2: type 16550A To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message