From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 15 01:33:40 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C1A71065671 for ; Sat, 15 Mar 2008 01:33:40 +0000 (UTC) (envelope-from embaumbach@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.246]) by mx1.freebsd.org (Postfix) with ESMTP id B5A468FC23 for ; Sat, 15 Mar 2008 01:33:39 +0000 (UTC) (envelope-from embaumbach@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so3539392hsc.11 for ; Fri, 14 Mar 2008 18:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=n+6KssAb6uEMVfN0nzhLTg1zcMqHSj2ucx9tVdW7SNE=; b=AZu11NiSSmf4M1D6fYKZPARobSD3XhxDI9n4otMRSyoXTdJM/CybcDGCMmqgEjYMP7qzJBVXRuKSH28NqUqGri5dyjYMUgKLJrW5UGNxM8Nar7ZNdX/Q09RMbf+mvPgYmmVasgN+DV1K2Vv0z9PUS/byjXwcCM8hltAslYtifqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Vit3pnopRmaoj9hPxNvm8KXlkuZIcISYu/XJHet1e3rvfg/zylOrVA/IgbXNfimsHsi8hJiCbdsxf45a57gbkCzEpJViTAsGyBZNYFlTEUWQHWKaFTInqT2295DijyI+mAe9yO4AUDqHP4dI50VvgOhPlzQMMpfUR4pJtuLhDyI= Received: by 10.151.154.20 with SMTP id g20mr6753552ybo.62.1205543226184; Fri, 14 Mar 2008 18:07:06 -0700 (PDT) Received: by 10.70.25.15 with HTTP; Fri, 14 Mar 2008 18:07:06 -0700 (PDT) Message-ID: <25106b540803141807t335763fdgfeb9cb3e3abe6ac5@mail.gmail.com> Date: Fri, 14 Mar 2008 21:07:06 -0400 From: "eric baumbach" To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: snd_hda sound driver bug? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 01:33:40 -0000 Hello, I was excited to see that with FreeBSD 7.0R my sound card should work natively under FreeBSD. My chipset was listed in the man pages to be reported working ok. (nVidia MCP51/Analog Devices AD1986A). I added the sound driver to /boot/loader.conf; snd_hda_load="YES" My sound card will still not work. I have tried sending data files to /dev/dsp, playing audio cds and playing some X games all with no sound. The free OSS driver from ports does work, though not very good. I found a potential bug listed in the man pages as well for the snd_hda driver: "A few Hardware/OEM vendors tend to screw up BIOS settings, thus rendering the snd_hda driver useless, which usually results in a state where the snd_hda driver seems to attach and work, but without any sound." The BIOS I am using is AMI. I am running FreeBSD 7.0R on an ASUS A8M laptop with a stock kernel. Here is my current dmesg: Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1607.33-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x40f82 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 real memory = 2079981568 (1983 MB) avail memory = 2025603072 (1931 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 bios32: Bad BIOS32 Service Directory ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: <_ASUS_ Notebook> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7bf00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci3: on pcib2 ath0: mem 0xdfef0000-0xdfefffff irq 17 at device 0.0 on pci3 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:15:af:09:3c:94 ath0: mac 10.0 phy 6.1 radio 10.2 pcib3: at device 4.0 on pci0 pci4: on pcib3 vgapci0: mem 0xde000000-0xdeffffff,0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 16 at device 5.0 on pci0 pci0: at device 9.0 (no driver attached) isab0: at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) ohci0: mem 0xdcfde000-0xdcfdefff irq 21 at device 11.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 8 ports with 8 removable, self powered ehci0: mem 0xdcfdfc00-0xdcfdfcff irq 22 at device 11.1 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb1: waiting for BIOS to give up control usb1: EHCI version 1.0 usb1: companion controller, 8 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 8 ports with 8 removable, self powered ugen0: on uhub1 umass0: on uhub1 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 13.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xc800-0xc807,0xc480-0xc483,0xc400-0xc407,0xc080-0xc083,0xc000-0xc00f mem 0xdcfdd000-0xdcfddfff irq 23 at device 14.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pcib4: at device 16.0 on pci0 pci5: on pcib4 fwohci0: <1394 Open Host Controller Interface> mem 0xdfffe800-0xdfffefff irq 18 at device 0.0 on pci5 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:e0:18:00:03:6b:d8:63 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:e0:18:6b:d8:63 fwe0: Ethernet address: 02:e0:18:6b:d8:63 fwip0: on firewire0 fwip0: Firewire address: 00:e0:18:00:03:6b:d8:63 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x14f0000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode pci5: at device 0.1 (no driver attached) pci5: at device 0.2 (no driver attached) pci5: at device 0.3 (no driver attached) pci5: at device 0.4 (no driver attached) rl0: port 0xe800-0xe8ff mem 0xdfffe400-0xdfffe4ff irq 18 at device 1.0 on pci5 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:18:f3:6a:2d:f9 rl0: [ITHREAD] pcm0: mem 0xdcfd8000-0xdcfdbfff irq 20 at device 16.1 on pci0 pcm0: [ITHREAD] acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: nofirewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) controller detected. acd0: DVDR at ata1-master UDMA33 ad4: 76319MB at ata2-master SATA150 pcm0: hdac_widget_connection_parse: nid=18 WARNING: zero cnid entnum=4 j=2 index=0 entries=8 found=2 res=0x21002211 pcm0: pcm0: SMP: AP CPU #1 Launched! da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) GEOM_LABEL: Label for provider da0s1 is msdosfs/My Book. Trying to mount root from ufs:/dev/ad4s2a rl0: link state changed to UP Is there any possible workarounds I can try to keep testing my card and get the sound to work with this driver? Many Thanks Eric