From green@feldman.dyn.ml.org  Fri Jan 16 19:18:26 1998
Received: from feldman.dyn.ml.org (green@1Cust55.tnt1.tco2.da.uu.net [153.34.240.55])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA21319
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Jan 1998 19:18:23 -0800 (PST)
          (envelope-from green@feldman.dyn.ml.org)
Received: (from green@localhost)
	by feldman.dyn.ml.org (8.8.8/8.8.7) id WAA00430;
	Fri, 16 Jan 1998 22:18:19 -0500 (EST)
	(envelope-from green)
Message-Id: <199801170318.WAA00430@feldman.dyn.ml.org>
Date: Fri, 16 Jan 1998 22:18:19 -0500 (EST)
From: green@feldman.dyn.ml.org
Reply-To: brianfeldman@hotmail.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: b0rked PnP "improvements"
X-Send-Pr-Version: 3.2

>Number:         5513
>Category:       kern
>Synopsis:       new PnP code is BAD (soundcards)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    luigi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 16 19:20:01 PST 1998
>Closed-Date:    Sat Sep 1 12:18:10 PDT 2001
>Last-Modified:  Sat Sep 01 12:18:49 PDT 2001
>Originator:     Brian Feldman
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
EFnet #FreeBSD lusers 
>Environment:

K6-200, EIDE HD, Award PnP BIOS, Sound Blaster 16 PnP version 4.16 (Vibra16X)
>Description:

The new and "improved" Plug-and-Play code fails to initialize the Sound Blaster 16 PnP, whereas the Luigi's old code worked fine.

>How-To-Repeat:
1) install SB16PnP
2) in kernel conf
controller      pnp0
controller      snd0                    
device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
device sbxvi0   at isa? drq 5           
device sbmidi0  at isa? port 0x330      
device opl0     at isa? port 0x388      
3) in kernel userconfig
pnp 1 0 os enable port0 0x220 port1 0x330 port2 0x388 irq0 5 drq0 1 drq1 5
4) cat /dev/sndstat
5) try and play an mp3, an .au to /dev/dsp0, etc.
>Fix:
	
Probably to use the old code. Anyone want to make a patch to take us back to the old PnP or force someone to fix the new one to initialize the SB16 properly?

>Release-Note:
>Audit-Trail:

From: John-Mark Gurney <gurney_j@efn.org>
To: brianfeldman@hotmail.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/5513: b0rked PnP "improvements"
Date: Fri, 16 Jan 1998 19:35:03 -0800

 green@feldman.dyn.ml.org scribbled this message on Jan 16:
 > >How-To-Repeat:
 > 1) install SB16PnP
 > 2) in kernel conf
 > controller      pnp0
 > controller      snd0                    
 > device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
 > device sbxvi0   at isa? drq 5           
 > device sbmidi0  at isa? port 0x330      
 > device opl0     at isa? port 0x388      
 > 3) in kernel userconfig
 > pnp 1 0 os enable port0 0x220 port1 0x330 port2 0x388 irq0 5 drq0 1 drq1 5
 > 4) cat /dev/sndstat
 > 5) try and play an mp3, an .au to /dev/dsp0, etc.
 > >Fix:
 > 	
 > Probably to use the old code. Anyone want to make a patch to take us back to the old PnP or force someone to fix the new one to initialize the SB16 properly?
 
 could you post your dmesg output?  also, are you sure that you don't need
 to use the /dev/{dsp,dspW,audio,mixer}1 devices instead of the 0 devices?
 
 -- 
   John-Mark Gurney                          Modem/FAX: +1 541 683 6954
   Cu Networking					  P.O. Box 5693, 97405
 
   Live in Peace, destroy Micro$oft, support free software, run FreeBSD
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sat Jan 17 00:09:41 PST 1998 
State-Changed-Why:  
The submitter is confused - you don't use the PNP code with the old 
audio driver.  It's no wonder this doesn't work. 
State-Changed-From-To: closed->open 
State-Changed-By: jkh 
State-Changed-When: Sat Jan 17 10:52:50 PST 1998 
State-Changed-Why:  
Apparently this *also* happens with Luigi's sound code, meaning something 
truly is broken here.  Will leave open until it's figured out just what. 
Responsible-Changed-From-To: freebsd-bugs->luigi 
Responsible-Changed-By: phk 
Responsible-Changed-When: Thu Apr 30 23:03:23 PDT 1998 
Responsible-Changed-Why:  
sound issue 
State-Changed-From-To: open->closed 
State-Changed-By: luigi 
State-Changed-When: Sat Sep 1 12:18:10 PDT 2001 
State-Changed-Why:  
i think this is obsolete, and the modules involved have been rewritten 
anyways. 

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