From owner-freebsd-current@FreeBSD.ORG Thu Jul 5 20:24:41 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 156361065670 for ; Thu, 5 Jul 2012 20:24:41 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9CAB28FC12 for ; Thu, 5 Jul 2012 20:24:40 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so8511750wgb.31 for ; Thu, 05 Jul 2012 13:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/Gqc1BpSXfp/QqglPZvW76dWM+Ro0p59rRK3HUAn6x4=; b=I8iDSMFXmDa0qy3LFY+I8NOL+xuRi5uaizR8iJ6wtnS3xMBjN/rTrjKox0cxcysAkH WJfKCTwUo0LXtHvQNUBO5fwbtukUNaAa0Ns9idkWW/UrX67csD3WX6g8jCxcpxTrWOQo /J5jon78khbvCJG6QSBeoQbry71C+ypoUL1G1NCqivd53n4F7O2b4R5KofYM75tZLx4O JRz82ILn/w8Mo4fuHONJ2dhdTM702zc+CZJxgKWSZls6uYhHj4PDCyu4So8VQD3oUcGO 2owiW1Cof227mITmfn5EMefkyPjxyYqBB5JxfS7ObGWJPzrA33DCNTRMxACo+z2lzSTG 33vA== MIME-Version: 1.0 Received: by 10.180.96.3 with SMTP id do3mr2115374wib.5.1341519874163; Thu, 05 Jul 2012 13:24:34 -0700 (PDT) Received: by 10.223.155.4 with HTTP; Thu, 5 Jul 2012 13:24:34 -0700 (PDT) In-Reply-To: <201207051049.26199.erichfreebsdlist@ovitrap.com> References: <201207051049.26199.erichfreebsdlist@ovitrap.com> Date: Thu, 5 Jul 2012 13:24:34 -0700 Message-ID: From: Kevin Oberman To: Erich Dollansky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current@freebsd.org Subject: Re: side note on the X220 running CURRENT: head phone jack works 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, 05 Jul 2012 20:24:41 -0000 On Wed, Jul 4, 2012 at 8:49 PM, Erich Dollansky wrote: > Hi, > > there have been some people here - including me - wondering whether the head phone jack works. Yes, it does. > > I just have had the chance to connect the head phone jack. It works when vlc is set to use /dev/dsp1.0. > > Using /dev/dsp0.1 brings sound to the built-in speakers. The "proper" fix is to add the following to /boot/loader.conf: # Out : speaker + headphones hint.hdac.0.cad0.nid25.config="as=1 seq=15" # In : mic + external mic hint.hdac.0.cad0.nid35.config="as=2" hint.hdac.0.cad0.nid27.config="as=2 seq=15" This will make the mic work for headsets that have a mic and will make the headphones DTRT so that audio is sent to the headphones and the speakers are muted when headphones are plugged in. NOTE: This works on the T520, but the X220 seems to be very similar in most every way I have seen. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com