Date: Mon, 21 Sep 1998 08:53:21 +0000 From: Jay Sachs <sachs@bull.cs.williams.edu> To: questions@FreeBSD.ORG Subject: Yamaha SA2 audio & luigi's drivers Message-ID: <rz84su1979a.fsf@hamburger.cs.williams.edu>
next in thread | raw e-mail | index | archive | help
I'm trying to play sounds using the pcm driver on a PnP Yamaha SA2. I do get sound using e.g. rplay, but I also get console messages like tsleep returns 4 tsleep returns 4 tsleep returns 4 tsleep returns 4 tsleep returns 4 tsleep returns 4 How strange... mss_intr with no reason! and timeout flushing dbuf_out.chan, cnt 0x1abe flags 0x00000041 If I attempt to get sounds to work in xemacs20, the xemacs session ends up hanging, responding only to kill -9. This is running on 2.2-stable (world rebuilt about a week ago). Extract from kernel config: device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr (I also tried device pcm0 at isa? port ? tty irq ? drq ? flags 0x0 vector pcmintr but no difference) pnpinfo gives: Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID YMH0020 (0x2000a865), Serial Number 0xffffffff PnP Version 1.0, Vendor Version 0 Device Description: OPL3-SAX Sound Board Logical Device ID: YMH0021 0x2100a865 #0 Vendor register funcs 00 TAG Start DF Good Configuration I/O Range 0x220 .. 0x220, alignment 0x10, len 0x10 [16-bit addr] I/O Range 0x530 .. 0x530, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x4, len 0x4 [16-bit addr] I/O Range 0x330 .. 0x330, alignment 0x2, len 0x2 [16-bit addr] I/O Range 0x370 .. 0x370, alignment 0x2, len 0x2 [16-bit addr] IRQ: 5 IRQ: High true edge sensitive DMA: channel(s) 0 8-bit, not a bus master, count by byte, , Type F DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Type F TAG Start DF Acceptable Configuration I/O Range 0x240 .. 0x240, alignment 0x10, len 0x10 [16-bit addr] I/O Range 0xe80 .. 0xe80, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x8, len 0x4 [16-bit addr] I/O Range 0x300 .. 0x300, alignment 0x2, len 0x2 [16-bit addr] I/O Range 0x100 .. 0xffe, alignment 0x2, len 0x2 [16-bit addr] IRQ: 5 7 9 10 11 IRQ: High true edge sensitive DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F TAG Start DF Sub-optimal Configuration I/O Range 0x220 .. 0x280, alignment 0x10, len 0x10 [16-bit addr] I/O Range 0x530 .. 0xf48, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x388 .. 0x3f8, alignment 0x8, len 0x4 [16-bit addr] I/O Range 0x300 .. 0x334, alignment 0x2, len 0x2 [16-bit addr] I/O Range 0x100 .. 0xffe, alignment 0x2, len 0x2 [16-bit addr] IRQ: 3 5 7 9 10 11 IRQ: High true edge sensitive DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Type F TAG End DF Logical Device ID: YMH0022 0x2200a865 #1 Vendor register funcs 00 Compatible Device ID: PNPb02f (2fb0d041) TAG Start DF Good Configuration I/O Range 0x201 .. 0x201, alignment 0x1, len 0x1 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x202 .. 0x202, alignment 0x1, len 0x1 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x203 .. 0x203, alignment 0x1, len 0x1 [16-bit addr] TAG Start DF Sub-optimal Configuration I/O Range 0x204 .. 0x20f, alignment 0x1, len 0x1 [16-bit addr] TAG End DF End Tag Successfully got 42 resources, 2 logical fdevs -- card select # 0x0001 CSN YMH0020 (0x2000a865), Serial Number 0xffffffff Logical device #0 IO: 0x0240 0x0e80 0x0388 0x0300 0x0ffe 0x0000 0x0000 0x0000 IRQ 11 0 DMA 1 0 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0201 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 0 0 IO range check 0x00 activate 0x01 cat /dev/sndstat: FreeBSD Audio Driver (980215) Sep 20 1998 17:46:55 Installed devices: pcm1: <Yamaha SA2> at 0xe80 irq 11 dma 1:0 sequencer1: <???> at 0xe80 (not functional) dmesg: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.7-STABLE #0: Sun Sep 20 17:47:06 GMT 1998 sachs@hamburger.cs.williams.edu:/base/src/sys/compile/HAMBURGER CPU: Pentium II (299.94-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping=4 Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX> real memory = 67108864 (65536K bytes) avail memory = 63434752 (61948K bytes) Probing for devices on PCI bus 0: chip0 <generic PCI bridge (vendor=8086 device=7180 subclass=0)> rev 3 on pci0:0:0 chip1 <generic PCI bridge (vendor=8086 device=7181 subclass=4)> rev 3 on pci0:1:0 chip2 <Intel 82371AB PCI-ISA bridge> rev 1 on pci0:7:0 chip3 <Intel 82371AB IDE interface> rev 1 on pci0:7:1 chip4 <Intel 82371AB USB interface> rev 1 int d irq 5 on pci0:7:2 chip5 <Intel 82371AB Power management controller> rev 1 on pci0:7:3 xl0 <3Com 3c905B Fast Etherlink XL 10/100BaseTX> rev 36 int a irq 10 on pci0:16:0 xl0: Ethernet address: 00:10:4b:d2:a9:56 xl0: autoneg complete, link status good (half-duplex, 10Mbps) Probing for devices on PCI bus 1: vga0 <VGA-compatible display device> rev 3 int a irq 9 on pci1:0:0 Probing for PnP devices: CSN 1 Vendor ID: YMH0020 [0x2000a865] Serial 0xffffffff mss_attach <Yamaha SA2>1 at 0xe80 irq 11 dma 1:0 flags 0x10 pcm1 (CS423x/Yamaha <Yamaha SA2> sn 0xffffffff) at 0xe80 irq 11 drq 1 flags 0x10 id 14 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 pcm0 not found at 0xffffffff fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): <Maxtor 84320D4> wd0: 4028MB (8249472 sectors), 8184 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): <CD-524EA/1.0A>, removable, accel, ovlap, dma, iordis wcd0: 4134Kb/sec, 128Kb cache, audio play, 16 volume levels, ejectable tray wcd0: no disc inside, unlocked wdc1: unit 1 (atapi): <IOMEGA ZIP 100 ATAPI/23.D>, removable, intr, iordis npx0 flags 0x1 on motherboard npx0: INT 16 interface Any ideas or pointers to what I may be doing wrong? -Jay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rz84su1979a.fsf>