From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 8 21:40:38 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62B7916A4F2 for ; Sat, 8 Jan 2005 21:40:38 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 530B943D66 for ; Sat, 8 Jan 2005 21:40:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j08LeX4k020271 for ; Sat, 8 Jan 2005 21:40:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j08LeX5n020270; Sat, 8 Jan 2005 21:40:33 GMT (envelope-from gnats) Resent-Date: Sat, 8 Jan 2005 21:40:33 GMT Resent-Message-Id: <200501082140.j08LeX5n020270@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bram Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E85816A4CE for ; Sat, 8 Jan 2005 21:34:39 +0000 (GMT) Received: from mail.inimini.nl (abbekerk-2.demon.nl [212.238.180.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF0BE43D39 for ; Sat, 8 Jan 2005 21:34:38 +0000 (GMT) (envelope-from bram@abbekerk.demon.nl) Received: by mail.inimini.nl (Postfix, from userid 1000) id 2620534D33; Sat, 8 Jan 2005 22:34:37 +0100 (CET) Message-Id: <20050108213437.GA11932@rik.inimini.nl> Date: Sat, 8 Jan 2005 22:34:37 +0100 From: Bram To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/75969: [patch] Support for Sigmatel STAC9766/67 codec in sound driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 21:40:39 -0000 >Number: 75969 >Category: kern >Synopsis: [patch] Support for Sigmatel STAC9766/67 codec in sound driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 08 21:40:32 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bram Abbekerk >Release: FreeBSD 5.3-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD grover.inimini.nl 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #4: Sat Jan 8 15:18:56 CET 2005 root@sien.inimini.nl:/usr/obj/usr/src/sys/LIFEBOOK i386 $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.51 2004/05/08 03:41:40 sanpei Exp $ >Description: Hi Sanpei, The STAC9766/67 codecs are not recognized with the pcm soundcard in my lifebook C1110. Therefore the soundcard doesn't work. After applying attached patch the codec is recognized and the soundcard is working. >How-To-Repeat: N/A >Fix: Addition of codec id to ac97codecid array in sys/dev/sound/pcm/ac97.c --- dmesg.boot begins here --- FreeBSD 5.3-RELEASE-p4 #4: Sat Jan 8 15:18:56 CET 2005 root@sien.inimini.nl:/usr/obj/usr/src/sys/LIFEBOOK ... pcm0: port 0x2080-0x20bf,0x1800-0x18ff mem 0xd0100800-0xd01008ff,0xd0100c00-0xd0100dff irq 11 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: ... --- dmesg.boot ends here --- After patch: --- dmesg.boot begins here --- FreeBSD 5.3-RELEASE-p4 #4: Sat Jan 8 15:18:56 CET 2005 root@sien.inimini.nl:/usr/obj/usr/src/sys/LIFEBOOK ... pcm0: port 0x2080-0x20bf,0x1800-0x18ff mem 0xd0100800-0xd01008ff,0xd0100c00-0xd0100dff irq 11 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: ... --- dmesg.boot ends here --- --- sigmatel.patch begins here --- *** sys/dev/sound/pcm/ac97.c.org Sat Jan 8 14:46:34 2005 --- sys/dev/sound/pcm/ac97.c Sat Jan 8 14:45:58 2005 *************** *** 191,196 **** --- 191,197 ---- { 0x83847658, 0x00, 0, "STAC9758/59", 0 }, { 0x83847660, 0x00, 0, "STAC9760/61", 0 }, /* Extrapolated */ { 0x83847662, 0x00, 0, "STAC9762/63", 0 }, /* Extrapolated */ + { 0x83847666, 0x00, 0, "STAC9766/67", 0 }, { 0x53494c22, 0x00, 0, "Si3036", 0 }, { 0x53494c23, 0x00, 0, "Si3038", 0 }, { 0x54524103, 0x00, 0, "TR28023", 0 }, /* Extrapolated */ --- sigmatel.patch ends here --- Cheers, bRAM >Release-Note: >Audit-Trail: >Unformatted: