From owner-freebsd-current@FreeBSD.ORG Thu Nov 4 19:45:16 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 532F4106566B for ; Thu, 4 Nov 2010 19:45:16 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id CD1F98FC0A for ; Thu, 4 Nov 2010 19:45:15 +0000 (UTC) Received: by bwz3 with SMTP id 3so1963841bwz.13 for ; Thu, 04 Nov 2010 12:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=gX6TCD0w4aFP2LX//+XkijbQQBgoxqvcHGzxj9TFcYI=; b=o0yex2lX/lz5uIGOz7lXcyitVav6288nDU7joQXmi1KV21TCxVT2WegW6PMiwCXMvR Q7rydQRuzXZKZS5fZxSCx3UnXGcb2h0vLSzwKdZU07La/GaGPu6ebenaMWkFB4sVE7bf ay0UE8UHgMpi1qakuC9+MoJeXWvHUSnBVZXV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=wE/xE+dLfa+PXezyeaULxpxZXSq9uFwV6zY+9Yn739xyhBDqvsp/pofiuACKYsJPpi 7cQoJCfpubPUFNFfPif529kjW625wTASWg2TVtdRjfp63pkX7L7Pbh3EK4+L/9MBl9pt OD7WzVAtYF9olcqFYs2XLuttAeOH6LlxrJY/0= Received: by 10.204.68.137 with SMTP id v9mr1042017bki.148.1288899913840; Thu, 04 Nov 2010 12:45:13 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id v25sm299565bkt.18.2010.11.04.12.45.12 (version=SSLv3 cipher=RC4-MD5); Thu, 04 Nov 2010 12:45:13 -0700 (PDT) Sender: Alexander Motin Message-ID: <4CD30D47.5020101@FreeBSD.org> Date: Thu, 04 Nov 2010 21:45:11 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Doug Barton , FreeBSD-Current References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Problems with hda X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 04 Nov 2010 19:45:16 -0000 Doug Barton wrote: > Thanks to a generous FreeBSD user I have a shiny new Dell Optiplex 960, > with the following device: > > hdac0: mem > 0xf7adc000-0xf7adffff irq 16 at device 27.0 on pci0 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: HDA Codec #0: Analog Devices AD1984A > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 > > There's 2 problems. When I plug the headphones in there are sounds, > sometimes a low-level sound like a tea kettle whistling, and sometimes a > louder screeching sound. Try to play with mixer. Especially with "speaker", if you have it. Some unconnected CODEC inputs may receive random radio interference from other system components. > The other problem is that the front headphone > jack doesn't work. The rear one works, but this is less than convenient. > :) Have you tried to playback via pcm1? It could go exactly there. > Windows and ubuntu linux do not have either problem with the same > hardware. Linux and Windows often have hardcoded drivers for specific hardware. Our driver tries to be universal and honor standards, unluckily often violated by BIOS makers. For more information about CODEC and it's configuration you need to get verbose dmesg. Details are in snd_hda(4). -- Alexander Motin