From culverk@sweetdreamsracing.biz  Tue Oct  7 14:36:26 2003
Return-Path: <culverk@sweetdreamsracing.biz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B49B816A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Oct 2003 14:36:26 -0700 (PDT)
Received: from mailhub.sweetdreamsracing.biz (mailhub.sweetdreamsracing.biz [66.92.171.106])
	by mx1.FreeBSD.org (Postfix) with ESMTP id F292343F75
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Oct 2003 14:36:25 -0700 (PDT)
	(envelope-from culverk@sweetdreamsracing.biz)
Received: by mailhub.sweetdreamsracing.biz (Postfix, from userid 1000)
	id 45EC01FC; Tue,  7 Oct 2003 17:39:02 -0400 (EDT)
Message-Id: <20031007213902.45EC01FC@mailhub.sweetdreamsracing.biz>
Date: Tue,  7 Oct 2003 17:39:02 -0400 (EDT)
From: Kenneth Culver <culverk@sweetdreamsracing.biz>
Reply-To: Kenneth Culver <culverk@sweetdreamsracing.biz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Dell built in SB Live not detected (patch with fix included)    
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57721
>Category:       kern
>Synopsis:       [sound] [patch] Dell built in SB Live not detected
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sound
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 07 14:40:12 PDT 2003
>Closed-Date:    Sat Jul 30 01:24:38 GMT 2005
>Last-Modified:  Sat Jul 30 01:24:38 GMT 2005
>Originator:     Kenneth Culver
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
none    
>Environment:
System: FreeBSD kaoru.infosciences.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu O
ct 2 15:35:37 EDT 2003 culverk@kaoru.infosciences.com:/usr/src/sys/i386/compile/
KAORU i386

>Description:
        Basically, the PCI device ID for the SoundBlaster Live that comes
        with many DELL machines is not in the soundblaster live driver:

        none0@pci2:2:0:  class=0x040100 card=0x10031102 chip=0x00061102 rev=0x00 hdr=0x00
>How-To-Repeat:
>Fix:
        Here is the patch to fix the problem (generated with diff -u on
        FreeBSD 5.1-CURRENT as of about 30 minutes ago)

--- emu10k1.c.old       Sun Sep  7 12:28:03 2003
+++ emu10k1.c   Tue Oct  7 17:20:06 2003
@@ -37,6 +37,7 @@
 /* -------------------------------------------------------------------- */
 
 #define        EMU10K1_PCI_ID  0x00021102
+#define        EMU10K1_PCI_ID  0x00061102
 #define        EMU10K2_PCI_ID  0x00041102
 #define        EMU_DEFAULT_BUFSZ       4096
 #define        EMU_CHANS       4
@@ -1439,6 +1440,7 @@
 
        switch (pci_get_devid(dev)) {
        case EMU10K1_PCI_ID:
+       case EMU10K1_PCI_ID2:
                s = "Creative EMU10K1";
                break;
 /*
>Release-Note:
>Audit-Trail:

From: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
To: Kenneth Culver <culverk@sweetdreamsracing.biz>
Cc: FreeBSD-gnats-submit@FreeBSD.org,
	"Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
Subject: Re: kern/57721: Dell built in SB Live not detected (patch with fix
 included)    
Date: Wed, 8 Oct 2003 08:11:23 +0000 (UTC)

 On Tue, 7 Oct 2003, Kenneth Culver wrote:
 
 Hi,
 
 > >Fix:
 >         Here is the patch to fix the problem (generated with diff -u on
 >         FreeBSD 5.1-CURRENT as of about 30 minutes ago)
 >
 > --- emu10k1.c.old       Sun Sep  7 12:28:03 2003
 > +++ emu10k1.c   Tue Oct  7 17:20:06 2003
 > @@ -37,6 +37,7 @@
 >  /* -------------------------------------------------------------------- */
 >
 >  #define        EMU10K1_PCI_ID  0x00021102
 > +#define        EMU10K1_PCI_ID  0x00061102
 
 Tha should be
 
 #define		EMU10K1_PCI_ID2	0x00061102
 
                              ^^^
 
 I guess.
 
 
 >  #define        EMU10K2_PCI_ID  0x00041102
 >  #define        EMU_DEFAULT_BUFSZ       4096
 >  #define        EMU_CHANS       4
 > @@ -1439,6 +1440,7 @@
 >
 >         switch (pci_get_devid(dev)) {
 >         case EMU10K1_PCI_ID:
 > +       case EMU10K1_PCI_ID2:
 >                 s = "Creative EMU10K1";
 >                 break;
 >  /*
 
 -- 
 Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
 56 69 73 69 74				http://www.zabbadoz.net/

From: Kenneth Culver <culverk@sweetdreamsracing.biz>
To: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/57721: Dell built in SB Live not detected (patch with fix
	included)
Date: Wed,  8 Oct 2003 10:37:10 -0400

 Quoting "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>:
 
 > On Tue, 7 Oct 2003, Kenneth Culver wrote:
 >
 > Hi,
 >
 > > >Fix:
 > >         Here is the patch to fix the problem (generated with diff -u on
 > >         FreeBSD 5.1-CURRENT as of about 30 minutes ago)
 > >
 > > --- emu10k1.c.old       Sun Sep  7 12:28:03 2003
 > > +++ emu10k1.c   Tue Oct  7 17:20:06 2003
 > > @@ -37,6 +37,7 @@
 > >  /* -------------------------------------------------------------------- */
 > >
 > >  #define        EMU10K1_PCI_ID  0x00021102
 > > +#define        EMU10K1_PCI_ID  0x00061102
 >
 > Tha should be
 >
 > #define		EMU10K1_PCI_ID2	0x00061102
 >
 >                              ^^^
 >
 > I guess.
 
 Oops, yeah, I redid the patch to line things up better and forgot to put the '2'
 back into the #define. You're right though; that's what it should be.
 
 Ken
 >
 >
 > >  #define        EMU10K2_PCI_ID  0x00041102
 > >  #define        EMU_DEFAULT_BUFSZ       4096
 > >  #define        EMU_CHANS       4
 > > @@ -1439,6 +1440,7 @@
 > >
 > >         switch (pci_get_devid(dev)) {
 > >         case EMU10K1_PCI_ID:
 > > +       case EMU10K1_PCI_ID2:
 > >                 s = "Creative EMU10K1";
 > >                 break;
 > >  /*
 >
 > --
 > Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
 > 56 69 73 69 74				http://www.zabbadoz.net/
 >
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Oct 17 17:41:53 PDT 2003 
Responsible-Changed-Why:  
Assign to sound maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57721 
State-Changed-From-To: open->feedback 
State-Changed-By: matk 
State-Changed-When: Thu Jan 8 11:24:35 PST 2004 
State-Changed-Why:  
Ask Kenneth if this patch really works.  Current information suggests
that this chip really isn't an emu10k1 but an incompatible dell specific chip. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57721 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jul 30 01:24:26 GMT 2005 
State-Changed-Why:  
Feedback timeout 

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