From owner-freebsd-questions@FreeBSD.ORG Mon Oct 29 16:46:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 802CDC1A for ; Mon, 29 Oct 2012 16:46:52 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id E3A648FC16 for ; Mon, 29 Oct 2012 16:46:51 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so4100999lbd.13 for ; Mon, 29 Oct 2012 09:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=DKB3wAmvlf+oVgIClNTjhWeVbJEGHKMR7EVlBqiHxnk=; b=ILntjUfgj75KjbyHO/Zx4OP/DXnyhcd/jXCSlIVk96Znh3hMVBjc87GgDc+7IYLl+L UExJI34GuXC21+VrU5GyEx6gHg7lKTyGBGa6CH2ZXTHgJ9YLC7oCfbygH7wV67MoUWEg GPy3QhK0KzPN5/u800lYnEVjoG9Or7SP+l41l/NFDSDLbcaFQy2LJrHEpY8SIcoJdfMj 6IwpuRvrF5+5owxbFlBifO095DBRh6KhcDwUyGGpWwyxT11J8oEQcOeSOuH5WehL116b MeHKjrGUdeiKNZW+Fum/nvOfTFJ7cvxKfc7/ohnNnuTGtcnf+jabWjBuaU5THjuF5rbi bm5A== Received: by 10.112.25.6 with SMTP id y6mr12061866lbf.17.1351529210475; Mon, 29 Oct 2012 09:46:50 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPS id x5sm3367713lbf.9.2012.10.29.09.46.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Oct 2012 09:46:49 -0700 (PDT) Sender: Alexander Motin Message-ID: <508EB2F7.2000303@FreeBSD.org> Date: Mon, 29 Oct 2012 18:46:47 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120628 Thunderbird/13.0.1 MIME-Version: 1.0 To: Big Yuuta Subject: Re: No sound from speaker, using Realtek ALC269 and snd_hda References: <508D8755.1080501@FreeBSD.org> <508D98C9.30603@FreeBSD.org> <508DA4D0.8040604@FreeBSD.org> <508EA9B0.2070501@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2012 16:46:52 -0000 On 29.10.2012 18:35, Big Yuuta wrote: > On Mon, Oct 29, 2012 at 5:07 PM, Alexander Motin wrote: >> On 29.10.2012 17:44, Big Yuuta wrote: >>> On Sun, Oct 28, 2012 at 10:34 PM, Alexander Motin wrote: >>>> >>>> Also check that pin sensing is working. Try to plug in/out headphones. >>>> With >>>> verbose messages enabled, you should see messages about that on console >>>> and >>>> in logs. >>> >>> >>> Pin sensing works fine. I tested it and whenever I plug the headphone in, >>> I can hear the sound from the headphone, and I have this output >>> on the console: >>> >>> hdaa0: Pin sense: nid=26 sence=0x80000000 (connected) >>> pcm0: Redirect output to: headphones >>> hdaa0: Pin sense: nid=26 sence=0x00000000 (disconnected) >>> pcm0: Redirect output to: main >>> >>> I think the redirection works, but nid20 is not well set? Is "main" here >>> the 1st nid of the association? i.e. nid20 which has seq=0? >> >> >> Not necessary the seq=0, as it can be multichannel output, but in this case >> -- yes. >> >> >>> I hope I'm not bothering you with my questions, and again thanks >>> a lot for all your work, patience, and help! >> >> >> Unfortunately I am almost run out of ideas. Neither Linux nor audio/oss >> seems have specific code for your system. That makes me think that problem >> is in some different basic assumptions in the drivers. But that doesn't give >> any hint to find it out. >> >> You may try to play with setting different levels of ivref/ovref voltages >> via hint.hdaa.0.config tunable. I haven't even seen it affecting power >> amplifier, but who knows... > > Thank you, Alexander! :) > > In fact, this netbook works very fine with audio/oss from ports. > My only problem with audio/oss is that whenever I skip (seek) in a > video or an audio file, freebsd crashes and reboots. > > I know it's a problem with mplayer + oss, because, mplayer > with snd_hda works (except speaker) and oss + vlc works > > But I like mplayer more than vlc ;) I don't have plans to support audio/oss, but I would be interested to diagnose this issue with snd_hda. Unfortunately, I am not sure what else can I do now without access to the hardware for low-level debugging. If somebody with the same netbook and the same problem appears at MeetBSD California or otherwise in San Jose in following days, I would be glad to look. Other problematic sound hardware is also welcome. -- Alexander Motin