From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 20 03:30:18 2004 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 9585716A4CE for ; Tue, 20 Jul 2004 03:30:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88E7843D39 for ; Tue, 20 Jul 2004 03:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6K3UI3k069786 for ; Tue, 20 Jul 2004 03:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6K3UHxr069785; Tue, 20 Jul 2004 03:30:17 GMT (envelope-from gnats) Resent-Date: Tue, 20 Jul 2004 03:30:17 GMT Resent-Message-Id: <200407200330.i6K3UHxr069785@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, Maxim <786-gml.rff@elefot.tsu.ru> Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2173C16A4CE for ; Tue, 20 Jul 2004 03:25:44 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 039C443D54 for ; Tue, 20 Jul 2004 03:25:44 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6K3Phih072942 for ; Tue, 20 Jul 2004 03:25:43 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i6K3Phkk072941; Tue, 20 Jul 2004 03:25:43 GMT (envelope-from nobody) Message-Id: <200407200325.i6K3Phkk072941@www.freebsd.org> Date: Tue, 20 Jul 2004 03:25:43 GMT From: Maxim <786-gml.rff@elefot.tsu.ru> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/69327: Bug with SiS7012 onboard sound -- sound comes out through the microphone cut-off 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: Tue, 20 Jul 2004 03:30:18 -0000 >Number: 69327 >Category: misc >Synopsis: Bug with SiS7012 onboard sound -- sound comes out through the microphone cut-off >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 20 03:30:14 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Maxim >Release: FreeBSD 5.1-RELEASE >Organization: TomsState University >Environment: FreeBSD kedr.sputnik.tomsk.ru 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: I have ASUSTeK P4S8X motherboard based on SiS648 chipset with SiS7012 onboard sound. I have installed FreeBSD 5.1 and tried to run sound by loading snd_pcm.ko && snd_ich.ko drivers. Everything looks fine with only one problem -- sound comes out through the microphone cut-off. I think that is a bug, but not a cut-off marker mix up, because in Win2000 it works properly. During dmesg shows the following information about the sound device: found-> vendor=0x1039, dev=0x7012, revid=0xa0 bus=0, slot=2, func=7 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0004, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns) intpin=c, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base de800000, size 12, enabled And loading of drivers (by kldload) causes this one message: pcm0: port 0xa000-0xa07f,0xa400-0xa4ff at device 2.7 on pci0 pcib0: matched entry for 0.2.INTC (source \_SB_.LNKC) pcib0: slot 2 INTC is routed to irq 11 pcm0: pcm0: Codec features headphone, 20 bit DAC, 5 bit master volume, no 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, double rate PCM, reserved 1, center DAC, surround DAC, LFE DAC, AMAP pcm0: sndbuf_setmap bd2000, 4000; 0xe0fba000 -> bd2000 pcm0: sndbuf_setmap bed000, 4000; 0xe0fbe000 -> bed000 pcm0: measured ac97 link rate at 47997 Hz, will use 48000 Hz >How-To-Repeat: Purchase such a board, install FreeBSD 5.1, load snd_pcm and snd_ich driver and found the sound coming out through the microphone cut-off >Fix: >Release-Note: >Audit-Trail: >Unformatted: