From owner-freebsd-questions@FreeBSD.ORG Mon Oct 29 17:09:17 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 0AC1938B; Mon, 29 Oct 2012 17:09:17 +0000 (UTC) (envelope-from init.py@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3743D8FC0A; Mon, 29 Oct 2012 17:09:16 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so5023181lag.13 for ; Mon, 29 Oct 2012 10:09:15 -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=DoluyAf0wvjXdaBeOtiRqWuwW/Qt8UPhhUlIoCridTU=; b=ymZS2BuG5d1UDrYvg7t0Y9We8GnNeeXtzpolmdD1Jlgz42gol3UburLQdz8b1cWIuV tHu/GggaqGf/i47XV5sikH0Q9bjd1X6utQBaDOf8zuvIMg+DMKmiEImHCCdp4joACN+H Dxdw+sI3mbiULaLhCTS0qqOzJTtqeJn+/PvLzjx1mEC2ftlXWxE15Z0EciLanlmmS1pV gC0DTX8MqYZn3in+/24hPMGlrIh2MOveVkZLRyi7f/vRMt6jMpccZ95Eu261nA0DSZyf MF2X57ucKW6LjOjjVlqaRB41nBgGrpXAGB/1p5BtVHSR9kD+v59fXuWVdBtb2B0RC2Kn 10Tw== MIME-Version: 1.0 Received: by 10.152.105.68 with SMTP id gk4mr27479840lab.48.1351530555035; Mon, 29 Oct 2012 10:09:15 -0700 (PDT) Received: by 10.114.60.114 with HTTP; Mon, 29 Oct 2012 10:09:15 -0700 (PDT) In-Reply-To: <508EB2F7.2000303@FreeBSD.org> References: <508D8755.1080501@FreeBSD.org> <508D98C9.30603@FreeBSD.org> <508DA4D0.8040604@FreeBSD.org> <508EA9B0.2070501@FreeBSD.org> <508EB2F7.2000303@FreeBSD.org> Date: Mon, 29 Oct 2012 18:09:15 +0100 Message-ID: Subject: Re: No sound from speaker, using Realtek ALC269 and snd_hda From: Big Yuuta To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 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 17:09:17 -0000 On Mon, Oct 29, 2012 at 5:46 PM, Alexander Motin wrote: > 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. Perfect! Thank you so much! And if I ever make it work, I'll tell you. Thanks again :)