From sto@stat.Duke.EDU  Mon May 22 21:14:04 2000
Return-Path: <sto@stat.Duke.EDU>
Received: from wilson.acpub.duke.edu (wilson.acpub.duke.edu [152.3.233.69])
	by hub.freebsd.org (Postfix) with ESMTP id 2446537B898
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 May 2000 21:14:03 -0700 (PDT)
	(envelope-from sto@stat.Duke.EDU)
Received: from bobzilla.adsl.duke.edu (bobzilla.adsl.duke.edu [152.16.67.15]) 
	by wilson.acpub.duke.edu (8.9.3/8.9.3/Duke-5.0.0) with ESMTP id AAA20532;
	Tue, 23 May 2000 00:14:00 -0400 (EDT)
Received: (from sto@localhost)
	by bobzilla.adsl.duke.edu (8.9.3/8.9.3) id AAA11760;
	Tue, 23 May 2000 00:13:59 -0400 (EDT)
	(envelope-from sto)
Message-Id: <200005230413.AAA11760@bobzilla.adsl.duke.edu>
Date: Tue, 23 May 2000 00:13:59 -0400 (EDT)
From: "Sean O'Connell" <sto@stat.Duke.EDU>
Reply-To: sto@stat.Duke.EDU
To: FreeBSD-gnats-submit@freebsd.org
Subject: [Patch] PNPBIOS sound support for Dell Latitude XPiCD
X-Send-Pr-Version: 3.2

>Number:         18767
>Category:       kern
>Synopsis:       [Patch] PNPBIOS sound support for Dell Latitude XPiCD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 22 21:20:00 PDT 2000
>Closed-Date:    Sun Jul 22 08:37:53 PDT 2001
>Last-Modified:  Sun Jul 22 08:38:10 PDT 2001
>Originator:     Sean O'Connell
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
ISDS, Duke University
>Environment:

	FreeBSD 4.0-STABLE on a Dell Latitude XPiCD with a PNP
        OEM ESS 1888 card with alternate PNP handle.

>Description:

 	No PNPBIOS for soundcard on Dell Latitude XPiCD with 
        OEM ESS card with following pnpinfo (taken from verbose
        boot):

ESS0106: adding fixed io range 0x230-0x23f, size=0x10, align=0x1
ESS0106: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
ESS0106: adding fixed io range 0x330-0x331, size=0x2, align=0x1
ESS0106: adding irq mask 0x20
ESS0106: adding dma mask 0x1
ESS0106: adding dma mask 0x8
ESS0106: end config
pnpbios: handle 11 device ID ESS0106 (06017316)


>How-To-Repeat:

	ESS OEM card is not detected/attached because the handle
        is lacking, so a kernel wiht

        options PNPBIOS
        device pcm

        fails to make a "joyful noise"

>Fix:

	Apply following patch to /sys/dev/sound/isa/sbc.c


--- sbc.c.orig  Sun May 21 13:12:07 2000
+++ sbc.c       Sun May 21 13:11:51 2000
@@ -213,6 +213,7 @@
        {0x78187316, "ESS ES1878"},                     /* ESS1878 */
        {0x79187316, "ESS ES1879"},                     /* ESS1879 */
        {0x88187316, "ESS ES1888"},                     /* ESS1888 */
+       {0x06017316, "ESS ES1888 (Dell OEM)"},          /* ESS0106 */
        {0x07017316, "ESS ES1888 (DEC OEM)"},           /* ESS0107 */
        {0}
 };



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Sun Jul 22 08:37:53 PDT 2001 
State-Changed-Why:  
patch (or equivilent) applied long ago 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18767 
>Unformatted:
