From owner-freebsd-hackers Thu Nov 14 20:51:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E972937B401 for ; Thu, 14 Nov 2002 20:51:49 -0800 (PST) Received: from smtp2.mivlmd.cablespeed.com (smtp2.mivlmd.cablespeed.com [216.45.64.147]) by mx1.FreeBSD.org (Postfix) with SMTP id C37FB43E88 for ; Thu, 14 Nov 2002 20:51:48 -0800 (PST) (envelope-from mccrobie@cablespeed.com) Received: (qmail 25129 invoked by uid 0); 15 Nov 2002 04:51:26 -0000 Received: from unknown (HELO cablespeed.com) (216.45.73.136) by 0 with SMTP; 15 Nov 2002 04:51:26 -0000 Message-ID: <3DD47D4E.EA6D865B@cablespeed.com> Date: Thu, 14 Nov 2002 23:51:26 -0500 From: Chuck McCrobie X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Intel 82801(ICH3) Audio and YMF457 AC97 Codec on Sony VAIO Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sony VAIO GRX670 Notebook contains the Intel 82801CA (ICH3) audio controller (dev/sound/pci/ich.c) and the Yamaha YMF457 AC97 Codec. On Windows XP, I can play CD's through the speaker and play mp3's. On FreeBSD 4.7-STABLE, no sound when playing CD's. MP3's using x11amp requires that I constantly move a usb mouse to get sound. It does play, but I must move the mouse. Sound, USB, Network all use IRQ 9. Attached is dmesg output from boot. I have traced this to an interrupt delivery issue. Interrupts ARE delivered for the USB and Network, but _NOT_ for the audio. As far as I can tell with the Intel datasheet and Linux ALSA, the chip is setup correctly - it just doesn't set the interrupt line. Help is appreciated. Chuck McCrobie mccrobie@cablespeed.com Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-STABLE #0: Thu Nov 14 12:58:53 EST 2002 mccrobie@appliance:/usr/src/sys/compile/FALCON Timecounter "i8254" frequency 1193182 Hz CPU: Pentium 4 (1988.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff,ACC,> real memory = 536346624 (523776K bytes) avail memory = 516562944 (504456K bytes) Preloaded elf kernel "kernel" at 0xc0519000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdf50 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 9 uhci0: port 0x1800-0x181f irq 9 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Primax Electronics product 0x4d03, rev 1.00/4.41, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci1: port 0x1820-0x183f irq 9 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f at dev ice 29.2 on pci0 pci_cfgintr_search: linked (0) to configured irq 9 at 0:29:1 pci_cfgintr: 0:29 INTC routed to irq 9 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered umass0: Sony USB Memory Stick Slot, rev 1.10/1.09, addr 2 pcib2: at device 30.0 on pci0 pci2: on pcib2 pcic0: irq 3 at device 5.0 on pci2 pcic0: PCI Memory allocated: 0x88000000 pccard0: on pcic0 pci_cfgintr_search: linked (0) to configured irq 9 at 2:8:0 pci_cfgintr: 2:5 INTB routed to irq 9 pcic1: irq 9 at device 5.1 on pci2 pcic1: PCI Memory allocated: 0x88001000 pccard1: on pcic1 pci2: (vendor=0x1180, dev=0x0552) at 5.2 fxp0: port 0x4000-0x403f mem 0xe8200000-0xe8200fff irq 9 at device 8.0 on pci2 fxp0: Ethernet address 08:00:46:79:fe:3b inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x1 77,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ichsmb0: port 0x1880-0x189f at device 31 .3 on pci0 pci_cfgintr_search: linked (0) to configured irq 3 at 2:5:0 pci_cfgintr: 0:31 INTB routed to irq 3 smbus0: on ichsmb0 smb0: on smbus0 pci0: (vendor=0x8086, dev=0x2485) at 31.5 irq 9 pci0: (vendor=0x8086, dev=0x2486) at 31.6 eisa0: on motherboard eisa0: unknown card @D@0000 (0x00800000) at slot 1 orm0: