From sto@stat.Duke.EDU  Mon May 22 20:38:41 2000
Return-Path: <sto@stat.Duke.EDU>
Received: from isds.duke.edu (davinci.isds.duke.edu [152.3.22.1])
	by hub.freebsd.org (Postfix) with ESMTP id 5352C37B8B0
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 May 2000 20:38:40 -0700 (PDT)
	(envelope-from sto@stat.Duke.EDU)
Received: from feta.isds.duke.edu (feta.isds.duke.edu [152.3.22.76])
	by isds.duke.edu (8.8.8/8.8.8) with ESMTP id XAA03973
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 22 May 2000 23:38:39 -0400 (EDT)
Received: (from sto@localhost)
	by feta.isds.duke.edu (8.9.3/8.9.3) id XAA01110;
	Mon, 22 May 2000 23:38:37 -0400 (EDT)
	(envelope-from sto)
Message-Id: <200005230338.XAA01110@feta.isds.duke.edu>
Date: Mon, 22 May 2000 23:38:37 -0400 (EDT)
From: "Sean O'Connell" <sto@stat.Duke.EDU>
Reply-To: sto@stat.Duke.EDU
To: FreeBSD-gnats-submit@freebsd.org
Subject:
X-Send-Pr-Version: 3.2

>Number:         18765
>Category:       kern
>Synopsis:       [PATCH]  PNP Handle for ESS 1888 on Dell Latitude XPi CD
>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 20:40:01 PDT 2000
>Closed-Date:    Mon May 22 21:25:28 PDT 2000
>Last-Modified:  Mon May 22 21:26:02 PDT 2000
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Submitter-Id:   current-users
 Originator:     Sean OConnell
 Organization:   ISDS, Duke University
 Confidential:   no
 Synopsis:       PNP Handle for ESS 1888 on Dell Latitude XPi CD
 Severity:       non-critical
 Priority:       medium
 Release:        FreeBSD 4.0-STABLE i386
 Class:          change-request
 Environment:
 
          FreeBSD 4.0-STABLE on Dell Latituded XPi CD ST
 
 Description:
 
         In order to have PNPBIOS detect and properly attach the
         sound card on this machine, there needs to be an entry for
         the following handle in /sys/dev/sound/isa/sbc.c
 
 
 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:
 
         Boot machine with kernel with
 
         options PNPBIOS
         device pcm
 
         and audio is not properly detected.
 
 Fix:
 
         The following trivial patch to /sys/dev/sound/isa/sbc.c (similar
         to that for the Compaq entry) enables sound, glorious sound to
         work:
 
 
 --- 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}
  };
 
 
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Mon May 22 21:25:28 PDT 2000 
State-Changed-Why:  
After all my hard work fixing up this PR, Sean went and submitted 
the right one. 


:-> 
>Unformatted:
