From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 27 19:37:25 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77794356 for ; Tue, 27 Nov 2012 19:37:25 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1692A8FC08 for ; Tue, 27 Nov 2012 19:37:24 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so5668717vba.13 for ; Tue, 27 Nov 2012 11:37:24 -0800 (PST) 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=1wQEl2tNk5K+dOT0AhETukfiZoMkO+FJMd4Z5TKmH6A=; b=Niy09/qe2Y/Dj6FxOijdxCV+9BXpICaXzdEF7CbsMhlGALl47A66QBBwYrDHpd2k7U PZQBfNkV0GYKzDqrEH1dgpjae2CV7KEZmS8ycQn7Ff5ILuzNTnpFSY2ltmVeXxMH9LWI dYxgXWv+bCOOB8fuG00NIiP81L8o12daf27e6nJocNrbwDufP63WhGisjb6121Ynds5z HC7pJBdGTaaDrrdqU3s0VKm7D668dp+lq9xVIili7hPk3KzK46uHGbCDpuvSyufLqEp7 l39PrlEAHZI4/cGh1MVptC6IKcvWM0Owigi0ht5TbvtPpeT/WOciNJGzJtSzleiWoP3b 5qrw== Received: by 10.52.93.146 with SMTP id cu18mr17304261vdb.37.1354045044550; Tue, 27 Nov 2012 11:37:24 -0800 (PST) Received: from mavbook.mavhome.dp.ua (cpe-67-244-107-195.nyc.res.rr.com. [67.244.107.195]) by mx.google.com with ESMTPS id bm2sm10464228vdc.6.2012.11.27.11.37.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Nov 2012 11:37:23 -0800 (PST) Sender: Alexander Motin Message-ID: <50B51672.2030002@FreeBSD.org> Date: Tue, 27 Nov 2012 21:37:22 +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: Yuri Subject: Re: kern/148741: [sound] Headphones are deaf (do not work) on Lenovo ThinkPad X300 References: <201211261511.qAQFBYM6080933@freefall.freebsd.org> <50B45C7F.9080502@rawbw.com> <20121127073752.GF94814@jd.benders.se> <50B4EE7C.6050900@FreeBSD.org> <50B51329.8000005@rawbw.com> In-Reply-To: <50B51329.8000005@rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, vermaden X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 19:37:25 -0000 On 27.11.2012 21:23, Yuri wrote: > On 11/27/2012 08:46, Alexander Motin wrote: >> I haven't removed support for model-specific hacks, even moved them >> into separate file to make easier to handle them. If there is so much >> interest to this specific model, I don't mind to add it. But first we >> have to clean up the problem. Provided hints look more like >> inconsistent combination of hints from different systems. So at first >> we should find out which of these lines are really useful and why. >> Vermaden, could you do some binary search and upload somewhere verbose >> dmesg output for better understanding of the situation. > > I had experience with hda devices on FreeBSD 3 times, and they proved > spooky. > * On Lenovo S10-2 it's not obvious how to set up microphone. Microphone > in mixer is up and there is audible signal coming out of speakers from > the microphone, but signal doesn't go to pcm input, and skype for > example doesn't transmit the voice. I remember I was able to fix the > problem manipulating the mixer channels, but it wasn't an obvious fix, > and had to be written down on sticker accompanying the netbook. It > wasn't just "click the Record check box". During last driver rewrite on spring I've made the HDA driver try to automatically choose best available recording source and levels. It should help recording to work out of the box. > * Lenovo ThinkPad T60 also had some sound issues with sound (Intel > Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller > (rev 01)). Sound just didn't play out of the box. However I don't have > BSD on it now. AC'97 is absolutely different beast. It is so old that I have no plans to spend my time on fixing it. > * Desktop with Asus P6T has on-board hda device (Intel 82801JI HDA > Controller), and when the sound is playing with the default setup, > signal comes from the sound socket on the back of computer, not from the > front one. How to make it play on the front? I am sure it is possible > with some device hints. Often desktops board configure front connectors as separate audio device, that is exactly supported by the HDA driver. Now you have to choose it manually as playback/record source in your application or make it the default sound device system-wide. I am working now on making that more automatic. > I think it makes sense to have the handbook section under Audio > dedicated to such devices that usually aren't obviously easy to set up. > Brief explanation why the problems arise and whet is the normal way of > fixing them would be great. And I imagine someone like Alexander who is > an expert in this area would be the perfect candidate to write such > section. I've written many technical details in snd_hda manual page, but as usual in such cases, the more I am writing, the less people can understand it. If somebody can explain these things in some easy way -- welcome. -- Alexander Motin