From nobody@FreeBSD.org  Tue Jul 20 03:25:44 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2173C16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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
Subject: Bug with SiS7012 onboard sound -- sound comes out through the microphone cut-off
X-Send-Pr-Version: www-2.3

>Number:         69327
>Category:       kern
>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 20 03:30:14 GMT 2004
>Closed-Date:    Fri Jul 23 07:34:27 GMT 2004
>Last-Modified:  Sat Feb 05 16:28:43 GMT 2005
>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: <SiS 7012> 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: <Analog Devices AD1980 AC97 Codec (id = 0x41445370)>
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:
State-Changed-From-To: open->feedback 
State-Changed-By: simon 
State-Changed-When: Tue Jul 20 09:59:44 GMT 2004 
State-Changed-Why:  
5.1 is quite old and unsupported.  Please upgrade to 5.2.1 and see if 
the problem persists. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69327 
State-Changed-From-To: feedback->closed 
State-Changed-By: simon 
State-Changed-When: Fri Jul 23 07:34:21 GMT 2004 
State-Changed-Why:  
Submitter reports that the problem is gone with FreeBSD 5.2.1. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69327 

From: "Davide Lemma" <d_lemma@genie.it>
To: <freebsd-gnats-submit@FreeBSD.org>, <786-gml.rff@elefot.tsu.ru>
Cc:  
Subject: Re: misc/69327: Bug with SiS7012 onboard sound -- sound comes out through the microphone cut-off
Date: Sat, 5 Feb 2005 13:52:51 +0100

 --=======AVGMAIL-4204C1A45925=======
 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0002_01C50B89.FC244E30"
 
 ------=_NextPart_000_0002_01C50B89.FC244E30
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 the same here... there is a way to change driver behaviour to diroctate =
 output from headphone to integrated speaker??
 
 thanx anyway
 ------=_NextPart_000_0002_01C50B89.FC244E30
 Content-Type: text/html; charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=3DContent-Type content=3D"text/html; =
 charset=3Diso-8859-1">
 <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV><FONT face=3DArial size=3D2>the same here... there is a way to =
 change driver=20
 behaviour to diroctate output from headphone to integrated=20
 speaker??</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>thanx anyway</FONT></DIV></BODY></HTML>
 
 ------=_NextPart_000_0002_01C50B89.FC244E30--
 --=======AVGMAIL-4204C1A45925=======
 Content-Type: text/plain; x-avg=cert; charset=us-ascii
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 Content-Description: "AVG certification"
 
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 03/02/2005
 
 --=======AVGMAIL-4204C1A45925=======--
>Unformatted:
