Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 10:40:09 -0800
From:      "bryan d. o'connor" <ml@barmetta.com>
To:        freebsd-mobile@freebsd.org
Subject:   yamaha ds-xg and 4.0-CURRENT
Message-ID:  <20000307104009.A74270@barmetta.com>

next in thread | raw e-mail | index | archive | help
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.


                            ...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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
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: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256AV SVGA controller> at 0.0 irq 9
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfc90-0xfc9f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfca0-0xfcbf irq 9 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on pci0
pci0: <unknown card> (vendor=0x104d, dev=0x8039) at 8.0 irq 9
pci0: <unknown card> (vendor=0x1073, dev=0x0010) at 9.0 irq 9
pci0: <unknown card> (vendor=0x14f1, dev=0x2443) at 10.0 irq 9
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> 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: <Ricoh RL5C475 PCI-CardBus Bridge> at device 12.0 on pci0
pci0: <unknown card> (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: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic: management irq 10
pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sbc0: <Soundblaster Pro> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
pcm0: <SB DSP 3.01> on sbc0
unknown0: <PNP0c02> 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: <PNP0c01> at iomem 0-0x9ffff,0xe8000-0xfffff,0x100000-0xfffffff on isa0
unknown2: <PNP0200> at port 0-0xf,0x81-0x8f,0xc0-0xdf drq 4 on isa0
unknown: <PNP0000> can't assign resources
unknown3: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown4: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown5: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
unknown: <PNP0800> can't assign resources
unknown6: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown7: <PNP0c02> at iomem 0xdc000-0xdffff on isa0
unknown8: <PNP0c02> on isa0
unknown9: <PNP0e03> at port 0x3e0-0x3e1 on isa0
unknown: <PNP0501> can't assign resources
unknown: <SNY7001> can't assign resources
unknown: <PNP0f13> can't assign resources
ad0: 11513MB <TOSHIBA MK1214GAP> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000307104009.A74270>