From nobody@FreeBSD.org  Wed Jul 26 10:06:04 2006
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 9684516A4E2
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Jul 2006 10:06:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 48BF143D49
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Jul 2006 10:06:04 +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 k6QA63Dx038827
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Jul 2006 10:06:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6QA63KT038826;
	Wed, 26 Jul 2006 10:06:03 GMT
	(envelope-from nobody)
Message-Id: <200607261006.k6QA63KT038826@www.freebsd.org>
Date: Wed, 26 Jul 2006 10:06:03 GMT
From: Mikael Achkasiv <mia@trecom.tomsk.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [snd_ich] snd_ich broken on GIGABYTE 915 system
X-Send-Pr-Version: www-2.3

>Number:         100859
>Category:       kern
>Synopsis:       [sound] [snd_ich] snd_ich broken on GIGABYTE 915 system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 26 10:10:14 GMT 2006
>Closed-Date:    
>Last-Modified:  Mon Jul 27 09:13:07 UTC 2009
>Originator:     Mikael Achkasiv
>Release:        FreeBSD 6.1-STABLE
>Organization:
Regional Centre of automated information resource of Tomsk area
>Environment:
FreeBSD 6.1-STABLE #2: Wed Jul 26 13:51:11 NOVST 2006     root@mia.ATO:/usr/src/sys/i386/compile/MIA  i386

>Description:
Motheboard GA-8I915ME-GL (GIGABYTE 915/910 series)
Sound chip: RTL8100C
Onboard Audio:
      Realtek ALC655 CODEC
      Supports Line In; Line Out; MIC In
      Supports 2/4/6 channel audio
      SPDIF In/Out connection
      CD In / AUX In connection
      Supports Jack-Sensing function
Bios on screen send mulimedia on IRQ 7 

In kernel:

device          sound
device          snd_ich

Load with ext. og
dmesg
..
found-> vendor=0x8086, dev=0x266e, revid=0x05
        bus=0, slot=30, func=2
        class=04-01-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=7
        powerspec 2  supports D0 D3  current D0
        map[10]: type 4, range 32, base 0000d400, size  8, enabled
        map[14]: type 4, range 32, base 0000d800, size  6, enabled
        map[18]: type 1, range 32, base f01c1000, size  9, enabled
        map[1c]: type 1, range 32, base f01c2000, size  8, enabled
pcib0: matched entry for 0.30.INTA
pcib0: slot 30 INTA hardwired to IRQ 17
..
pcm0: <Intel ICH6 (82801FB)> port 0xd400-0xd4ff,0xd800-0xd83f mem 0xf01c1000-0xf01c11ff,0xf01c2000-0xf01c20ff irq 17 at device 30.2 on pci0
pcm0: Reserved 0x200 bytes for rid 0x18 type 3 at 0xf01c1000
pcm0: Reserved 0x100 bytes for rid 0x1c type 3 at 0xf01c2000
ioapic0: routing intpin 17 (PCI IRQ 17) to vector 54
pcm0: [MPSAFE]
pcm0: primary codec not ready!
pcm0: <Avance Logic ALC655 AC97 Codec (id = 0x414c4760)>
pcm0: Codec features 5 bit master volume, no 3D Stereo Enhancement
pcm0: Primary codec extended features reserved 1, center DAC, surround DAC, LFE DAC, reserved 5
pcm0: ac97 codec dac ready count: 0
pcm0: sndbuf_setmap 1ecac000, 4000; 0xd51e7000 -> 1ecac000
pcm0: sndbuf_setmap 1eca8000, 4000; 0xd51eb000 -> 1eca8000
..

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: netchild 
Responsible-Changed-When: Sun Nov 26 14:17:10 UTC 2006 
Responsible-Changed-Why:  
Hand over to multimedia@. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100859 
>Unformatted:
 >cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: <Intel ICH6 (82801FB)> at io 0xf01c1000, 0xf01c2000 irq 17 bufsz 16384  (1p/1r/4v channels duplex default)
 
 >pciconf -lv
 ..
 pcib1@pci0:30:0:        class=0x060401 card=0x00000050 chip=0x244e8086 rev=0xd5 hdr=0x01
     vendor   = 'Intel Corporation'
     device   = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge'
     class    = bridge
     subclass = PCI-PCI
 pcm0@pci0:30:2: class=0x040100 card=0xa0021458 chip=0x266e8086 rev=0x05 hdr=0x00
     vendor   = 'Intel Corporation'
     device   = '82801FB/FR/FW/FRW AC '97 Audio Controller'
     class    = multimedia
     subclass = audio
 
 Device not work
