From inof@octavian.rz.tu-clausthal.de  Sun Jan 30 19:41:04 2000
Return-Path: <inof@octavian.rz.tu-clausthal.de>
Received: from octavian.rz.tu-clausthal.de (octavian.rz.tu-clausthal.de [139.174.3.35])
	by hub.freebsd.org (Postfix) with ESMTP id D12F1151AF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Jan 2000 19:40:59 -0800 (PST)
	(envelope-from inof@octavian.rz.tu-clausthal.de)
Received: (from root@localhost)
	by octavian.rz.tu-clausthal.de (8.9.3/8.9.3) id EAA44722;
	Mon, 31 Jan 2000 04:40:58 +0100 (CET)
	(envelope-from inof)
Message-Id: <200001310340.EAA44722@octavian.rz.tu-clausthal.de>
Date: Mon, 31 Jan 2000 04:40:58 +0100 (CET)
From: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
Sender: inof@octavian.rz.tu-clausthal.de
Reply-To: oliver.fromme@heim3.tu-clausthal.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: PnP device ID missing in sys/dev/sound/isa/sbc.c (fix included!)
X-Send-Pr-Version: 3.2

>Number:         16487
>Category:       kern
>Synopsis:       PnP device ID missing in sys/dev/sound/isa/sbc.c (fix included!)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 30 19:50:01 PST 2000
>Closed-Date:    Wed Mar 8 18:14:13 PST 2000
>Last-Modified:  Wed Mar  8 18:15:06 PST 2000
>Originator:     Oliver Fromme
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Clausthal University of Technology
>Environment:

   FreeBSD 4-current

>Description:

   The PnP ID of the ``Avance Logic ALS100'' is missing from
   src/sys/dev/sound/isa/sbc.c, which causes the card to not
   be recognized.

>How-To-Repeat:

   Boot a kernel with devices pcm and sbc in a computer with
   an ALS100-based soundcard --> it's not recognized.

>Fix:

   Trivial fix:  just add the PnP ID (see patch below).  The
   card is recognized and works perfectly fine in SB16-
   compatible mode.

--- sbc.c.orig	Mon Jan 31 04:33:36 2000
+++ sbc.c	Mon Jan 31 04:33:36 2000
@@ -202,6 +202,7 @@
 	{0x44008c0e, "Creative SB AWE64 Gold"},		/* CTL0044 */
 	{0x45008c0e, "Creative SB AWE64"},		/* CTL0045 */
 
+	{0x01000000, "Avance Logic ALS100+"},		/* @@@0001 */
 	{0x01100000, "Avance Asound 110"},		/* @@@1001 */
 	{0x01200000, "Avance Logic ALS120"},		/* @@@2001 */
 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tanimura 
State-Changed-When: Wed Mar 8 18:14:13 PST 2000 
State-Changed-Why:  
Fixed in sys/dev/sound/isa/sbc.c rev 1.19. 
>Unformatted:
