From owner-freebsd-current@FreeBSD.ORG Fri Apr 20 07:30:11 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 79245106564A for ; Fri, 20 Apr 2012 07:30:11 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id ED6588FC14 for ; Fri, 20 Apr 2012 07:30:10 +0000 (UTC) Received: by wern13 with SMTP id n13so7735343wer.13 for ; Fri, 20 Apr 2012 00:30:09 -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:content-transfer-encoding; bh=Po9XaEXziOQyxtUsjqPD/y6CL6wg3dZlKvSkTHqImzU=; b=e6f1nE+m2kNPgOPAy5dT1epDCKcTEERjzUQDJzCucDgtqKdohmRJreGiVkJKqBYdr7 90yLST5iCdtwsWforoS/Th0dxmlja1/qkTRywE8soF5V3IyVMmf4navGGvtvDEXIi8XE VlNgVutVMEmCuJ0DqRaEBRUGRwnSlOfYAMf8fAouWY0mAGkaYgc78U0Lj+I9CeWFGH5G PIouFd2VMIGSY2SAURXj6X5t8/o2Gb8SPC2TXiE+P33hL4VfY62ax/vAUzvmICl3ZI0q 6MYChEuJWPcvKYSI1Lpr0aiUINraEibRXksU/hoyOyxdHcBroe9qqh17HWUMxsX50z7j VzCg== MIME-Version: 1.0 Received: by 10.216.135.223 with SMTP id u73mr3085636wei.117.1334907009387; Fri, 20 Apr 2012 00:30:09 -0700 (PDT) Received: by 10.223.54.207 with HTTP; Fri, 20 Apr 2012 00:30:09 -0700 (PDT) In-Reply-To: <4F910C22.4020902@mehnert.org> References: <201204200701.08507.erichfreebsdlist@ovitrap.com> <4F90AE77.2020408@gmail.com> <201204200825.42651.erichfreebsdlist@ovitrap.com> <4F910C22.4020902@mehnert.org> Date: Fri, 20 Apr 2012 00:30:09 -0700 Message-ID: From: Kevin Oberman To: Hannes Mehnert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Erich Dollansky , matt , freebsd-current@freebsd.org Subject: Re: Status on X220 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: Fri, 20 Apr 2012 07:30:11 -0000 On Fri, Apr 20, 2012 at 12:11 AM, Hannes Mehnert wrote= : > Hi, > > On 04/20/2012 05:17, Kevin Oberman wrote: >> Minor note. Sound card seems to work OK through the speakers, but I >> have failed to find the magic to make the headphone jack work. I have >> not tried very hard, either. > > The headphone jack is also a microphone input. It is detected as a > separate output (plus there are 3 more via the HDMI output). Setting > =A0hw.snd.default_unit=3D1 > will enable by default the headphone jack. > > (This is on FreeBSD-CURRENT). Hmm. Almost works. If is set hw.snd.default_unit=3D1, the speakers are off whether the headphones are plugged in an when they are, I only get sound from the right channel and the volume control seems to be non-operative. Even mute does nothing. This is on 9-STABLE which has the new sound stuff. I see the following as "available": dev.hdaa.0.nid25_original: 0x04211040 as=3D4 seq=3D0 device=3DHeadphones conn=3DJack ctype=3D1/8 loc=3DRight color=3DBlack misc=3D0 dev.hdaa.0.nid26_original: 0x61a19050 as=3D5 seq=3D0 device=3DMic conn=3DNo= ne ctype=3D1/8 loc=3DExt-Rear color=3DPink misc=3D0 dev.hdaa.0.nid27_original: 0x04a11060 as=3D6 seq=3D0 device=3DMic conn=3DJa= ck ctype=3D1/8 loc=3DRight color=3DBlack misc=3D0 dev.hdaa.0.nid28_original: 0x6121401f as=3D1 seq=3D15 device=3DHeadphones conn=3DNone ctype=3D1/8 loc=3DExt-Rear color=3DGreen misc=3D0 dev.hdaa.0.nid29_original: 0x40f001f0 as=3D15 seq=3D0 device=3DOther conn=3DNone ctype=3DUnknown loc=3D0x00 color=3DUnknown misc=3D1 dev.hdaa.0.nid30_original: 0x40f001f0 as=3D15 seq=3D0 device=3DOther conn=3DNone ctype=3DUnknown loc=3D0x00 color=3DUnknown misc=3D1 dev.hdaa.0.nid31_original: 0x90170110 as=3D1 seq=3D0 device=3DSpeaker conn=3DFixed ctype=3DAnalog loc=3DInternal color=3DUnknown misc=3D1 dev.hdaa.0.nid32_original: 0x40f001f0 as=3D15 seq=3D0 device=3DOther conn=3DNone ctype=3DUnknown loc=3D0x00 color=3DUnknown misc=3D1 dev.hdaa.0.nid34_original: 0x40f001f0 as=3D15 seq=3D0 device=3DOther conn=3DNone ctype=3DUnknown loc=3D0x00 color=3DUnknown misc=3D1 dev.hdaa.0.nid35_original: 0x90a60170 as=3D7 seq=3D0 device=3DMic conn=3DFi= xed ctype=3DDigital loc=3DInternal color=3DUnknown misc=3D1 dev.hdaa.1.nid5_original: 0x18560010 as=3D1 seq=3D0 device=3DDigital-out conn=3DJack ctype=3DDigital loc=3D0x18 color=3DUnknown misc=3D0 dev.hdaa.1.nid6_original: 0x18560020 as=3D2 seq=3D0 device=3DDigital-out conn=3DJack ctype=3DDigital loc=3D0x18 color=3DUnknown misc=3D0 dev.hdaa.1.nid7_original: 0x18560030 as=3D3 seq=3D0 device=3DDigital-out conn=3DJack ctype=3DDigital loc=3D0x18 color=3DUnknown misc=3D0 So I have headphones on nid25 and 28, but I think 25 is the one that is really there and 28 is the one when the unit is in a docking station. But that does not really tell me how to make it work. Still, I have only scanned the man page. It's after bed time here and I will actually read it tomorrow. I want it to behave like it does on Windows where I get sound on both without touching anything and the speakers cut out when headphones are plugged in. Thanks! --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com