From sto@stat.Duke.EDU  Sun May 21 10:29:56 2000
Return-Path: <sto@stat.Duke.EDU>
Received: from eddings.acpub.duke.edu (eddings.acpub.duke.edu [152.3.233.76])
	by hub.freebsd.org (Postfix) with ESMTP id 6DAE537B945
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 May 2000 10:29:54 -0700 (PDT)
	(envelope-from sto@stat.Duke.EDU)
Received: from bobzilla.adsl.duke.edu (bobzilla.adsl.duke.edu [152.16.67.15]) 
	by eddings.acpub.duke.edu (8.9.3/8.9.3/Duke-5.0.0) with ESMTP id NAA10309;
	Sun, 21 May 2000 13:29:53 -0400 (EDT)
Received: (from sto@localhost)
	by bobzilla.adsl.duke.edu (8.9.3/8.9.3) id NAA02055;
	Sun, 21 May 2000 13:29:50 -0400 (EDT)
	(envelope-from sto)
Message-Id: <200005211729.NAA02055@bobzilla.adsl.duke.edu>
Date: Sun, 21 May 2000 13:29:50 -0400 (EDT)
From: sean@stat.Duke.EDU
Sender: sto@stat.Duke.EDU
Reply-To: sean@stat.Duke.EDU
To: FreeBSD-gnats-submit@freebsd.org
Subject: PNP handle for ESS 1888 in Dell Latitude XPi CD ST
X-Send-Pr-Version: 3.2

>Number:         18714
>Category:       kern
>Synopsis:       Recognize ESS 1888 in Dell Latitude XPi CD ST
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    cg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 10:30:03 PDT 2000
>Closed-Date:    Sun Apr 8 15:03:18 PDT 2001
>Last-Modified:  Sun Apr 08 15:06:22 PDT 2001
>Originator:     Sean O'Connell
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
ISDS, Duke University
>Environment:
 
 4.0-STABLE on a Dell Latitude XPi CD ST (150MHz Pentium)
 
>Description:
 
 The ESS sound card on the Dell has a different PNP handle
 than the generic ESS one, similar to the Compaq entry already
 committed.  See output 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:
 
 boot machine without patch with a kernel with 
 options PNPBIOS
 device pcm
 
>Fix:
 
 Apply the following patch to /sys/dev/sound/isa/sbc.c
 $FreeBSD: src/sys/dev/sound/isa/sbc.c,v 1.19 2000/03/09 02:13:21 tanimura Exp $
 
 
 --- 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}
  };
 
 Here is the output from dmesg with patch applied
 
 sbc0: <ESS ES1888 (Dell OEM)> at port 0x230-0x23f,0x388-0x38b,0x330-0x331 irq 5 
 drq 0,3 on isa0
 pcm0: <SB DSP 3.01 (ESS mode)> on sbc0
 
 Output of cat /dev/sndstat 
 
 FreeBSD Audio Driver (newpcm) May 21 2000 00:16:24
 Installed devices:
 pcm0: <SB DSP 3.01 (ESS mode)> at io 0x230 irq 5 drq 0 (1p/1r channels)
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->cg 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Sat May 27 14:39:40 PDT 2000 
Responsible-Changed-Why:  
Cameron's truf. 
Restore a botched PR. 
And of course you cannot change a line above the one you just 
entered.  s/truf/turf.  *sigh*  Need sleep. 

State-Changed-From-To: open->closed 
State-Changed-By: greid 
State-Changed-When: Sun Apr 8 15:03:18 PDT 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18714 
>Unformatted:
