From owner-freebsd-bugs Mon Dec 6 20:20: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1D1ED14CFD for ; Mon, 6 Dec 1999 20:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA23736; Mon, 6 Dec 1999 20:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from localhost.seki.net (UTUcc-02p33.ppp.odn.ad.jp [143.90.242.102]) by hub.freebsd.org (Postfix) with ESMTP id B343714BE7 for ; Mon, 6 Dec 1999 20:12:51 -0800 (PST) (envelope-from seki@localhost.seki.net) Received: (from seki@localhost) by localhost.seki.net (8.9.3/8.9.2) id NAA18271; Tue, 7 Dec 1999 13:14:10 +0900 (JST) (envelope-from seki) Message-Id: <199912070414.NAA18271@localhost.seki.net> Date: Tue, 7 Dec 1999 13:14:10 +0900 (JST) From: seki@is.utsunomiya-u.ac.jp Reply-To: seki@is.utsunomiya-u.ac.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/15327: Simple patche to /sys/i386/isa/snd/ad1848.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15327 >Category: i386 >Synopsis: >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 6 20:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Kazuo Seki >Release: FreeBSD 3.3-STABLE i386 >Organization: >Environment: FreeBSD localhost 3.3-STABLE FreeBSD 3.3-STABLE #17: Sun Nov 28 11:43:57 JST 1999 seki@localhost:/usr/src/sys/compile/KSS1 i386 >Description: By the description of src/sys/i386/isa/snd/CARDS file, AD1815/AD1816 sound driver was contributed by Mr. German Tischler. But my ISA sound card with AD1816A which is compatible for AD1816 did not work by using either Luigi's pcm dirver or OSS driver. But simple patches to src/sys/i386/isa/snd/ad1848.c makes me happy to enjoy sound life on FreeBSD 3.3-stable. >How-To-Repeat: >Fix: After applying patch below, add the entry "device pcm0 at isa? port? tty irq 5 drq 1 flags 0x15" to kernel configuration file, --- ad1848.c.orig Mon May 10 21:31:53 1999 +++ ad1848.c Tue Dec 7 12:44:39 1999 @@ -1465,7 +1465,9 @@ else if (vend_id == 0x1114b250) s = "Terratec Soundsystem BASE 1"; else if (vend_id == 0x50719304) - s = "Generic AD1815"; + s = "Generic AD1815"; + else if (vend_id == 0x81719304) + s = "AD1816A"; if (s) { struct pnp_cinfo d; read_pnp_parms(&d, 0); @@ -1496,7 +1498,7 @@ snddev_last_probed = &tmp_d; /* AD1816 */ - if (vend_id == 0x1114b250 || vend_id == 0x50719304) { + if (vend_id == 0x1114b250 || vend_id == 0x50719304 || vend_id == 0x81719304) { dev->id_alive = 16; /* number of io ports ? */ tmp_d = mss_op_desc; /* copy it */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message