Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 1998 01:39:33 +0900 (JST)
From:      yoshiaki@kt.rim.or.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/8169: sound driver (pcm : Luigi's driver) YMF-719 probrem
Message-ID:  <199810061639.BAA00647@singer.kt.rim.or.jp>

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

>Number:         8169
>Category:       kern
>Synopsis:       probe fail PnP sound card (YMF-719 base board)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct  6 10:10:01 PDT 1998
>Last-Modified:
>Originator:     Yoshiaki Uchikawa
>Organization:
Rimnet
>Release:        FreeBSD 3.0-BETA i386
>Environment:
Mainboad
Tekram P6F40-B5 Bios revision 1.2

FreeBSD 3.0-BETA #0: Wed Oct  7 01:11:19 JST 1998
CPU: Pentium Pro (232.67-MHz 686-class CPU)
real memory  = 100663296 (98304K bytes)
avail memory = 95350784 (93116K bytes)
vga0: <VGA-compatible display device> rev 0x10 int a irq 9 on pci0.9.0
ncr0: <ncr 53c875 fast20 wide scsi> rev 0x03 int a irq 11 on pci0.11.0
bktr0: <BrookTree 848> rev 0x12 int a irq 15 on pci0.13.0
Miro TV, Temic NTSC tuner.
mss_attach <Yamaha YMF719 OPL-SA3>1 at 0x530 irq 5 dma 0:1 flags 0x11
da0: <IBM DCAS-34330 S61A> Fixed Direct Access SCSI2 device 
da1: <IBM DORS-32160 S82C> Fixed Direct Access SCSI2 device 

>Description:

I use YMF-719 base sound card. This card was failed mss_attach by PnP 
configure.

In /var/log/messages

Oct  6 07:15:36 singer /kernel: CSN 1 Vendor ID: YMH0800 [0x0008a865] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041]
Oct  6 07:15:36 singer /kernel: mss_attach <Yamaha YMF719 OPL-SA3>1 at
0x21c irq 5 dma 0:1 flags 0x11 
^^^^^
Oct  6 07:15:36 singer /kernel: pcm1 (CS423x/Yamaha <Yamaha YMF719
OPL-SA3> sn 0xffffffff) at 0x21c-0x223 irq 5 drq 0 flags 0x11 on isa
                           ^^^^^^^^^^^
>How-To-Repeat:

In UserConfig 
Config> pnp 1 0 enable bios

>Fix:
This is simple mistake. "vend_id" is law ID.
"id" was masked by  0xff00ffff .
So... it is easy to confuse.

--- ad1848.c.orig	Wed Oct  7 01:04:07 1998
+++ ad1848.c	Wed Oct  7 01:22:34 1998
@@ -1412,7 +1412,7 @@
 	s = "Yamaha SA2";
     else if ( id == 0x3000a865)
 	s = "Yamaha SA3";
-    else if (vend_id == 0x0000a865)
+    else if (vend_id == 0x0008a865)
 	s = "Yamaha YMF719 OPL-SA3";
     else if (vend_id == 0x8140d315)
 	s = "SoundscapeVIVO";
@@ -1467,7 +1467,7 @@
 
 	case 0x2000a865:	/* Yamaha SA2 */
 	case 0x3000a865:	/* Yamaha SA3 */
-	case 0x0000a865:	/* Yamaha TMF719 SA3 */
+	case 0x0000a865:	/* Yamaha YMF719 SA3 */
 	    dev->id_iobase = d.port[1];
 	    tmp_d.alt_base = d.port[0];
 	    tmp_d.conf_base = d.port[4];

-----
  yoshiaki@kt.rim.or.jp
  yoshiaki@jp.freebsd.org
   Yoshiaki UCHIKAWA
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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