From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 13 12:50:25 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA8C216A47A for ; Tue, 13 Feb 2007 12:50:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0276A13C4CC for ; Tue, 13 Feb 2007 12:50:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1DCoNmm017743 for ; Tue, 13 Feb 2007 12:50:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1DCoNmu017741; Tue, 13 Feb 2007 12:50:23 GMT (envelope-from gnats) Resent-Date: Tue, 13 Feb 2007 12:50:23 GMT Resent-Message-Id: <200702131250.l1DCoNmu017741@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Federico GD Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7960116A41F for ; Tue, 13 Feb 2007 12:45:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 668FD13C494 for ; Tue, 13 Feb 2007 12:45:25 +0000 (UTC) (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 l1DCjPFm015807 for ; Tue, 13 Feb 2007 12:45:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l1DCjPQY015806; Tue, 13 Feb 2007 12:45:25 GMT (envelope-from nobody) Message-Id: <200702131245.l1DCjPQY015806@www.freebsd.org> Date: Tue, 13 Feb 2007 12:45:25 GMT From: Federico GD To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/109132: DELL E521 snd_hda: output OK, input broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 12:50:25 -0000 >Number: 109132 >Category: kern >Synopsis: DELL E521 snd_hda: output OK, input broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 13 12:50:23 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Federico GD >Release: 6.2-stable >Organization: none >Environment: FreeBSD trinity.local 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Feb 13 10:09:32 UTC 2007 root@trinity.local:/usr/obj/usr/src/sys/TRINITY amd64 >Description: snd_hda outputs quite well with a simple pair of speakers. I don't have a 5.1 speaker set right now. Input with Mic is not working. The signal captured is reproduced with slow, distorted speech; no recognisable sounds. The snd_hda driver has been added patching the kernel with: http://people.freebsd.org/~ariff/snd_RELENG_6_20070212_142_lowlatency.diff.gz (thanks Ariff). 1) uname -a FreeBSD trinity.local 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Feb 13 10:09:32 UTC 2007 root@trinity.local:/usr/obj/usr/src/sys/TRINITY amd64 2) pciconf -lv | grep -B 4 audio 3) grep ^pcm /var/run/dmesg.boot pcm0: mem 0xfe024000-0xfe027fff irq 21 at device 16.1 on pci0 pcm0: pcm0: pcm0: mem 0xfe024000-0xfe027fff irq 21 at device 16.1 on pci0 pcm0: pcm0: 4) sysctl hw.snd.verbose=2 ; cat /dev/sndstat hw.snd.verbose: 2 -> 2 FreeBSD Audio Driver (newpcm: 64bit) Installed devices: pcm0: at memory 0xfe024000 irq 21 kld snd_hda [20070128_0039] (1p/1r/2v channels duplex default) [pcm0:play:0:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101020, 0x00000020 interrupts 28048, underruns 0, feed 28048, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> feeder_volume(0x10000010) -> {hardware} [pcm0:record:0:dsp0.r0]: spd 8000/44100, fmt 0x00000008/0x10000010, flags 0x00000000, 0x00000008 interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/128/32] {hardware} -> feeder_root(0x10000010) -> feeder_stereotomono16(0x10000010 -> 0x00000010) -> feeder_sign16(0x00000010 -> 0x00000080) -> feeder_rate(44100 -> 8000) -> feeder_16to8(0x00000080 -> 0x00000008) -> {userland} pcm0:play:0:dsp0.p0[pcm0:virtual:0:dsp0.v0]: spd 44100/48000, fmt 0x10000010, flags 0x10003030, 0x00000008, pid 4363 interrupts 0, underruns 0, feed 28048, ready 128936 [b:0/0/0|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} pcm0:play:0:dsp0.p0[pcm0:virtual:1:dsp0.v1]: spd 8000/48000, fmt 0x00000008/0x10000010, flags 0x10000000, 0x00000008 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/128/32] {userland} -> feeder_root(0x00000008) -> feeder_8to16(0x00000008 -> 0x00000080) -> feeder_rate(8000 -> 48000) -> feeder_monotostereo16(0x00000080 -> 0x10000080) -> feeder_sign16(0x10000080 -> 0x10000010) -> {hardware} 5) sysctl hw.snd hw.snd.report_soft_formats: 1 hw.snd.latency: 5 hw.snd.latency_profile: 1 hw.snd.feeder_buffersize: 16384 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_round: 25 hw.snd.verbose: 2 hw.snd.default_unit: 0 hw.snd.maxautovchans: 4 6) output of /usr/sbin/mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 50:50 Mixer speaker is currently set to 75:75 Mixer mic is currently set to 50:50 Mixer rec is currently set to 75:75 Recording source: mic >How-To-Repeat: It happens in a DELL E521, Bios 1.1.4. >Fix: >Release-Note: >Audit-Trail: >Unformatted: