From owner-freebsd-questions@FreeBSD.ORG Sun Oct 28 20:49:28 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 AFDFCF66 for ; Sun, 28 Oct 2012 20:49:28 +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 BA2D88FC7B for ; Sun, 28 Oct 2012 20:42:52 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so3372216lbd.13 for ; Sun, 28 Oct 2012 13:42:51 -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=ph/Q3hl9S2um6IAuw4fNJA5vn3H93lVP+q7jlKW4w9Y=; b=iqcEZHGcIFG7wjab2FuuSkfLBk7+epDbx4J3W+NDVGSHGavcVj1OVQiSt9ZkO9SzeC CkVxTfhccQgnIGNfxq0Auk5Hf7Q3kx8cMlIoa08FwqfjVOeOOAu/D0zN3sIMklp7xLoA iltgv52h6FVy339fhixKWfiEjve4cynEDUlZoSgmcTIJ79bK3OuCqTTpcSHd4n0H178G 4XHjihO9hspg+C2GpFRTNtGb8o09ahgAe8fF8oW1UgG8r2Va1/VEGSTMGL8ODyZBB44j MP8YqZutOzQ4ViuGXqlgvxcJ/uuMuAsughmqBPyhiztCFLlVmkJq0rd6NbiJR9907auA hX1w== Received: by 10.152.124.111 with SMTP id mh15mr25293996lab.20.1351456971734; Sun, 28 Oct 2012 13:42:51 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPS id so7sm2415946lab.0.2012.10.28.13.42.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Oct 2012 13:42:51 -0700 (PDT) Sender: Alexander Motin Message-ID: <508D98C9.30603@FreeBSD.org> Date: Sun, 28 Oct 2012 22:42:49 +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> 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: Sun, 28 Oct 2012 20:49:28 -0000 On 28.10.2012 22:09, Big Yuuta wrote: >> CODEC configuration looks good and I see no problems in driver output. I >> think most likely problem is in CODEC wiring and power amplifier. Your CODEC >> has two GPIO lines and EAPD line. That gives 8 possible combinations. I >> would recommend you to try them all. GPIOs, as you tried could be set with >> hint.hdaa.0.gpio_config tunable. EAPD line can be controlled (0 or 100) by >> the ogain mixer control. > > You mean combinations like: > > hint.hdaa.0.gpio_config="0=set 1=set 2=set" As I've told, there are only two GPIO pins, so only "0=X 1=Y", plus ogain mixer control. > Where the values could be "set" or "keep"? But then again, the man > also cites "clear", "disable", "input". So that'd make more than 8 possible > permutations? Or is it something else? Can you please give me an example? GPIO pins are bidirectional, but I have doubt that input or high impedance ("disable") state could be used to control something. "keep" is also useless, as by default these pins are disabled. So you have only "set" and "clear". > Also, can I, after booting, just try with: > > kenv hint.hdaa.0.gpio_config="0=set 1=set 2=set" > kdunload snd_hda.ko > kdload snd_hda.ko Yes, that should work. > or should I reboot each time? I don't think it is required. -- Alexander Motin