Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 1998 07:17:42 -0700 (MST)
From:      Atipa <freebsd@atipa.com>
To:        Arthur Alacar <art@pili.adn.edu.ph>
Cc:        questions@FreeBSD.ORG, multimedia@FreeBSD.ORG
Subject:   Re: YAMAHA OPL3-SA3 
Message-ID:  <Pine.BSF.3.91.980107071434.8106A-100000@dot.ishiboo.com>
In-Reply-To: <Pine.BSF.3.95q.980107170206.25221A-100000@pili.adn.edu.ph>

next in thread | previous in thread | raw e-mail | index | archive | help

Your kernel looks fine. Are your audio devices installed? you need to:
# cd /dev/
# sh MAKEDEV snd0
# ln -sf /dev/audio0 /dev/audio
# ln -sf /dev/audio0 /dev/dsp

It looks like you should use audio0, since the card is detected as pcm0. 
For some reason, whenever I use Luigi's driver my cards detect as pcm1, 
so my links point to /dev/audio1 (after doing sh MAKEDEV snd1).

Regards,
Kevin

On Wed, 7 Jan 1998, Arthur Alacar wrote:

> 
> Good DAY!
> 
> am running with 2.2.5 and succesfully installed the new sound driver
> package written by luigi but still can't make my sound card to work,
> am using YAMAHA OPL3-SA3, pnp support also installed. 
> 
> attached herein is my kernel configuration for sound device and 
> results for dmesg and pnpinfo that may help as reference.
> 
> any help would greatly be appreciated.
> thank you. 
> 
> 
> .a.r.t.
> 
> 
> 
> --------KERNEL CONFIGURATION-------------------------
> 
> controller	pnp0
> device pcm0 at isa ? port? tty irq 7 conflicts drq 1 vector pcmintr
> 
> # i have lpt0 with irq 7.
> 
> 
> ---------dmesg result--------------------------------
> 
> Copyright (c) 1992-1997 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 	The Regents of the University of California.  All rights reserved.
> 
> FreeBSD 2.2.5-RELEASE #0: Wed Jan  7 13:04:43 PHT 1998
>     root@itdept.adn.edu.ph:/usr/src/sys/compile/ITDEPT_KERNEL
> CPU: Pentium (133.27-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
>   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
> real memory  = 16777216 (16384K bytes)
> avail memory = 14753792 (14408K bytes)
> Probing for devices on PCI bus 0:
> chip0 <Intel 82437VX PCI cache memory controller> rev 2 on pci0:0
> chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
> chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
> pci0:7:2: Intel Corporation, device=0x7020, class=0x0c, subclass=0x03 int d irq 12 [no driver assigned]
> vga0 <VGA-compatible display device> rev 68 int a irq 12 on pci0:10
> Probing for PnP devices:
> CSN 1 Vendor ID: YMH0020 [0x2000a865] Serial 0xffffffff
> 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 16450
> sio1 at 0x2f8-0x2ff irq 3 on isa
> sio1: type 16450
> lpt0 at 0x378-0x37f irq 7 on isa
> lpt0: Interrupt-driven port
> lp0: TCP/IP capable interface
> mss_probe: no address supplied, try default 0x530
> mss_detect - chip revision 0x0a
> pcm0 at 0x530 irq 7 drq 1 flags 0xa200 on isa
> mss_attach <mss>0 at 0x530 irq 7 dma 1:1 flags 0xa200
> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
> fd0: 1.44MB 3.5in
> fd1: 1.2MB 5.25in
> wdc0 at 0x1f0-0x1f7 irq 14 on isa
> wdc0: unit 0 (wd0): <ST3660A>
> wd0: 520MB (1065456 sectors), 1057 cyls, 16 heads, 63 S/T, 512 B/S
> wdc0: unit 1 (wd1): <ST31720A>
> wd1: 1625MB (3329424 sectors), 3303 cyls, 16 heads, 63 S/T, 512 B/S
> 2 3C5x9 board(s) on ISA found at 0x300 0x210
> ep0 at 0x300-0x30f irq 10 on isa
> ep0: aui/utp[*UTP*] address 00:20:af:a7:36:83
> ep1 at 0x210-0x21f irq 11 on isa
> ep1: aui/utp/bnc[*BNC*] address 00:a0:24:86:89:b8
> npx0 on motherboard
> npx0: INT 16 interface
> 
> 
> 
> 
> ------------ pnpinfo result -----------------
> 
> 
> 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-SA3 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
> Sub-optimal Configuration
>     I/O Range 0x201 .. 0x211, alignment 0x10, len 0x1
> 	[16-bit addr]
> TAG End DF
> 
> Logical Device ID: YMH002f 0x2f00a865 #2
> 	Vendor register funcs 00
> TAG Start DF
> Good Configuration
>     I/O Range 0x100 .. 0xff8, alignment 0x8, len 0x8
> 	[16-bit addr]
> TAG End DF
> 
> Logical Device ID: YMH0024 0x2400a865 #3
> 	Vendor register funcs 00
> Compatible Device ID: PNP0600 (0006d041)
> TAG Start DF
> Good Configuration
>     IRQ: 11 IRQ: High true edge sensitive
>     I/O Range 0x1e0 .. 0x1e0, alignment 0x8, len 0x8
> 	[16-bit addr]
>     I/O Range 0x3e6 .. 0x3e6, alignment 0x1, len 0x1
> 	[16-bit addr]
> TAG Start DF
> Sub-optimal Configuration
>     IRQ: 3 5 7 9 10 11 IRQ: High true edge sensitive
>     I/O Range 0x100 .. 0x1f8, alignment 0x8, len 0x8
> 	[16-bit addr]
>     I/O Range 0x306 .. 0x3f6, alignment 0x8, len 0x1
> 	[16-bit addr]
> TAG End DF
> End Tag
> 
> Successfully got 53 resources, 4 logical fdevs
> -- card select # 0x0001
> 
> CSN YMH0020 (0x2000a865), Serial Number 0xffffffff
> 
> Logical device #0
> IO:  0x0020 0x0030 0x0088 0x0030 0x0070 0x0000 0x0000 0x0000
> IRQ 5 0
> DMA 0 1
> IO range check 0x00 activate 0x01
> 
> Logical device #1
> IO:  0x0011 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
> IRQ 0 0
> DMA 0 0
> IO range check 0x00 activate 0x01
> 
> Logical device #2
> IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
> IRQ 0 0
> DMA 0 0
> IO range check 0x00 activate 0x01
> 
> Logical device #3
> IO:  0x0008 0x0006 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
> IRQ 9 0
> DMA 0 0
> IO range check 0x00 activate 0x01
> 
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.980107071434.8106A-100000>