From owner-freebsd-current@FreeBSD.ORG Sun Aug 1 18:08:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0243816A4CE for ; Sun, 1 Aug 2004 18:08:42 +0000 (GMT) Received: from mjolnir.camphill.cz (gprs40-6.eurotel.cz [160.218.40.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92AE943D5D for ; Sun, 1 Aug 2004 18:08:37 +0000 (GMT) (envelope-from zhouska@mjolnir.camphill.cz) Received: by mjolnir.camphill.cz (Postfix, from userid 1001) id DCA666132; Sun, 1 Aug 2004 20:05:29 +0200 (CEST) Date: Sun, 1 Aug 2004 20:05:29 +0200 From: Svatoboj To: freebsd-current@freebsd.org Message-ID: <20040801180529.GA22561@mjolnir> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Problems with snd_via82c686 module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 18:08:42 -0000 Hello, I have strange behaviour problems with on-board sound card using snd_via82c686 module. Sound gets somehow distorted and scratchy out of speakers. Here is pciconf -vl output: --snip-- pcm0@pci0:7:5: class=0x040100 card=0x33001462 chip=0x30581106 rev=0x50 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82C686/A/B AC'97 Audio Codec' class = multimedia subclass = audio --snip-- and dmesg -a output: --snip-- pcm0: port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at de vice 7.5 on pci0 pcm0: --snip-- dmesg -a | grep "irq 5" reveals: pcib0: slot 7 INTC is routed to irq 5 pcm0: port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at de vice 7.5 on pci0 Sometimes output sounds to be slowed down when CPU is heavily loaded. System fingerprint is: mjolnir# uname -a FreeBSD mjolnir 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #5: Fri Jul 30 18:08:0 3 CEST 2004 root@mjolnir:/usr/src/sys/i386/compile/CUSTOM i386 Just googled and found no relevant hints. I would be thankful for any helpful hints. Svata Here is full output of dmesg: Copyright (c) 1992-2004 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 5.2.1-RELEASE-p9 #5: Fri Jul 30 18:08:03 CEST 2004 root@mjolnir:/usr/src/sys/i386/compile/CUSTOM Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b3d000. Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc0b3d1f4. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0b3d2a8. Preloaded elf module "/boot/modules/nvidia.ko" at 0xc0b3d354. Preloaded elf module "/boot/kernel/linux.ko" at 0xc0b3d400. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b3d4ac. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 1600+ (1377.45-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383f9ff AMD Features=0xc0400000 real memory = 268369920 (255 MB) avail memory = 251039744 (239 MB) Pentium Pro MTRR support enabled VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0850f82 (1000022) VESA: NVidia npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fd5d0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 7 INTD is routed to irq 10 pcib0: slot 7 INTD is routed to irq 10 pcib0: slot 7 INTC is routed to irq 5 pcib0: slot 9 INTA is routed to irq 11 agp0: mem 0xd8000000-0xdbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib0: slot 1 INTA is routed to irq 10 pcib1: slot 0 INTA is routed to irq 10 nvidia0: mem 0xd0000000-0xd7ffffff,0xdc000000-0xdcffffff irq 10 at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xd400-0xd41f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd800-0xd81f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcm0: port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at device 7.5 on pci0 pcm0: rl0: port 0xec00-0xecff mem 0xde000000-0xde0000ff irq 11 at device 9.0 on pci0 rl0: Ethernet address: 00:c0:26:67:ae:70 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 pmtimer0 on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1377445171 Hz quality 800 Timecounters tick every 10.000 msec GEOM: create disk ad0 dp=0xc2e1dd60 ad0: 76319MB [155061/16/63] at ata0-master UDMA100 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a pflog: $Name: VERSION_2_03 $ pfsync: $Name: VERSION_2_03 $ in6_ifattach: pflog0 is not multicast capable, IPv6 not enabled in6_ifattach: pfsync0 is not multicast capable, IPv6 not enabled pflog0: promiscuous mode enabled pf: $Name: VERSION_2_03 $ -- If you cannot work with love but only with distaste it is better that you should leave your work. Kahlil Gibran