From nobody@FreeBSD.org  Thu Apr 14 13:16:57 2005
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 87C1316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Apr 2005 13:16:57 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 700BE43D49
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Apr 2005 13:16:57 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3EDGvLC044474
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Apr 2005 13:16:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j3EDGv9U044471;
	Thu, 14 Apr 2005 13:16:57 GMT
	(envelope-from nobody)
Message-Id: <200504141316.j3EDGv9U044471@www.freebsd.org>
Date: Thu, 14 Apr 2005 13:16:57 GMT
From: mi <the_necronomicon@bigfoot.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sis7018 sound module problem
X-Send-Pr-Version: www-2.3

>Number:         79905
>Category:       kern
>Synopsis:       [sound] sis7018 sound module problem
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 14 13:20:16 GMT 2005
>Closed-Date:    
>Last-Modified:  Sat Apr 16 16:10:18 GMT 2005
>Originator:     mi
>Release:        FreeBSD 4.11-RELEASE
>Organization:
>Environment:
>Description:
No sound. Command "mixer" say,

> mixer
Mixer rec      is currently set to   0:0

Only rec?

>How-To-Repeat:
Need a main board of sis630/540 chipsets.

>Fix:
I think mismatch definition of value in /sys/dev/sound/pci/t4dwave.h

#define SPA_REG_GPIO 0x48  -->  0x4c
#define SPA_CDC_RWSTAT 0x00008000  -->  0x0000c000

After it changes, Sounds are OK. But, have a little noise and some error in dmesg.

Please see datasheet 630ds10a.pdf or 540ds10.pdf

http://sourceforge.net/project/showfiles.php?group_id=1098&package_id=40910

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Apr 14 15:31:04 GMT 2005 
Responsible-Changed-Why:  
Reassign to appropriate mailing list. 

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

From: mi <the_necronomicon@bigfoot.com>
To: bug-followup@FreeBSD.org, sound@FreeBSD.org
Cc:  
Subject: Re: kern/79905: [sound] sis7018 sound module problem
Date: Sun, 17 Apr 2005 01:02:35 +0900

 > I think mismatch definition of value in /sys/dev/sound/pci/t4dwave.h
 > 
 > #define SPA_REG_GPIO 0x48  -->  0x4c
 > #define SPA_CDC_RWSTAT 0x00008000  -->  0x0000c000
 
 I had forgotten one more fix.
 
 #define SPA_RST_OFF  0x0f0000  -->  0x0f4000
 
>Unformatted:
