misc/69327: Bug with SiS7012 onboard sound -- sound comes out through the microphone cut-off

Maxim 786-gml.rff at elefot.tsu.ru
Mon Jul 19 20:30:18 PDT 2004

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 20 03:30:14 GMT 2004
>Originator:     Maxim
>Release:        FreeBSD 5.1-RELEASE
TomsState University
FreeBSD kedr.sputnik.tomsk.ru 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003 root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386
      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
      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

More information about the freebsd-bugs mailing list