Bug 69327

Summary: Bug with SiS7012 onboard sound -- sound comes out through the microphone cut-off
Product: Base System Reporter: Maxim <786-gml.rff>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.dat none

Description Maxim 2004-07-20 04:30:14 UTC
      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
Comment 1 Simon L. B. Nielsen freebsd_committer freebsd_triage 2004-07-20 10:59:44 UTC
State Changed
From-To: open->feedback

5.1 is quite old and unsupported.  Please upgrade to 5.2.1 and see if 
the problem persists.
Comment 2 Simon L. B. Nielsen freebsd_committer freebsd_triage 2004-07-23 08:34:21 UTC
State Changed
From-To: feedback->closed

Submitter reports that the problem is gone with FreeBSD 5.2.1.