From owner-freebsd-stable@FreeBSD.ORG Fri Feb 15 21:58:49 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A8981EA8 for ; Fri, 15 Feb 2013 21:58:49 +0000 (UTC) (envelope-from karl@denninger.net) Received: from fs.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6A61D8AF for ; Fri, 15 Feb 2013 21:58:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by fs.denninger.net (8.14.6/8.13.1) with ESMTP id r1FLwg8d018792 for ; Fri, 15 Feb 2013 15:58:42 -0600 (CST) (envelope-from karl@denninger.net) Received: from [127.0.0.1] [192.168.1.40] by Spamblock-sys (LOCAL); Fri Feb 15 15:58:42 2013 Message-ID: <511EAF8D.8090703@denninger.net> Date: Fri, 15 Feb 2013 15:58:37 -0600 From: Karl Denninger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: And for our next trick (Audio problems, Envy24HT driver) X-Enigmail-Version: 1.5 X-Antivirus: avast! (VPS 130215-0, 02/15/2013), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 21:58:49 -0000 FreeBSD 9.1-STABLE #2 r244942M: Tue Feb 5 21:54:29 CST 2013 karl@dbms.denninger.net:/usr/obj/usr/src/sys/KSD-SMP (custom kernel is there to support PPS for my GPS clock) Attempting to add a generic card that claims to have a Envy24DT chipset in it; it identifies and loads under the snd_envy24ht driver as: pci6: at device 0.0 (no driver attached) pcm0: port 0xcc00-0xcc1f,0xc880-0xc8ff irq 16 at device 0.0 on pci6 pcm0: [GIANT-LOCKED] pcm0: system configuration SubVendorID: 0x1412, SubDeviceID: 0x2403 XIN2 Clock Source: 24.576MHz(96kHz*256) MPU-401 UART(s) #: not implemented ADC #: 1 and SPDIF receiver connected DAC #: 4 Multi-track converter type: AC'97(SDATA_OUT:packed) S/PDIF(IN/OUT): 1/1 ID# 0x00 GPIO(mask/dir/state): 0xff/0xff/0xff cat /dev/sndstat returns: [root@NewFS /boot/kernel]# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: at io 0xcc00:32,0xc880:128 irq 16 (1p:1v/5r:1v) default So it appears it did attach properly. But.... an attempt to output something to /dev/dsp0 looks like it is, but nothing happens (no sound) ie: # sysctl -w hw.snd.verbose=2 # mpg123 some-mp3-file & # sndstat | more FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: at io 0xcc00:32,0xc880:128 irq 16 (1p:1v/5r:1v) default snddev flags=0x2a6 [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002108, 0x00000004 interrupts 1343, underruns 0, feed 1343, ready 0 [b:16384/2048/8|bs:16384/2048/8] channel flags=0x2108 {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x1000012c, 0x00000029, pid 18573 (mpg123) interrupts 0, underruns 0, feed 1497, ready 65536 [b:0/0/0|bs:65536/2048/32] channel flags=0x1000012c {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} ...... Says its running, and mpg123 has attached to it -- but no output. Mixer says the volume is on: [root@NewFS /boot/kernel]# mixer Mixer vol is currently set to 75:75 Mixer treble is currently set to 0:0 Mixer synth is currently set to 0:0 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 0:0 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 0:0 Mixer mix is currently set to 0:0 Recording source: mic Ideas for further troubleshooting? -- -- Karl Denninger /The Market Ticker ®/ Cuda Systems LLC