From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 28 08:24:30 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 42BB3C25; Wed, 28 Nov 2012 08:24:30 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id B418E8FC08; Wed, 28 Nov 2012 08:24:29 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 34C8E6A6000; Wed, 28 Nov 2012 09:24:28 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.5/8.14.5) with ESMTP id qAS8ORpf058069; Wed, 28 Nov 2012 09:24:27 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.5/8.14.5/Submit) id qAS8OQUq057550; Wed, 28 Nov 2012 09:24:26 +0100 (CET) (envelope-from lars) Date: Wed, 28 Nov 2012 09:24:26 +0100 From: Lars Engels To: Alexander Motin Subject: Re: kern/148741: [sound] Headphones are deaf (do not work) on Lenovo ThinkPad X300 Message-ID: <20121128082426.GA849@e-new.0x20.net> References: <201211261511.qAQFBYM6080933@freefall.freebsd.org> <50B45C7F.9080502@rawbw.com> <20121127073752.GF94814@jd.benders.se> <50B4EE7C.6050900@FreeBSD.org> <50B51329.8000005@rawbw.com> <50B51672.2030002@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <50B51672.2030002@FreeBSD.org> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.3-RELEASE-p4 User-Agent: Mutt/1.5.21 (2010-09-15) 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: Wed, 28 Nov 2012 08:24:30 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 27, 2012 at 09:37:22PM +0200, Alexander Motin wrote: > 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". >=20 > During last driver rewrite on spring I've made the HDA driver try to=20 > automatically choose best available recording source and levels. It=20 > should help recording to work out of the box. >=20 > > * 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. >=20 > AC'97 is absolutely different beast. It is so old that I have no plans=20 > to spend my time on fixing it. >=20 > > * 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. >=20 > Often desktops board configure front connectors as separate audio=20 > device, that is exactly supported by the HDA driver. Now you have to=20 > choose it manually as playback/record source in your application or make= =20 > it the default sound device system-wide. I am working now on making that= =20 > more automatic. >=20 > > 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. >=20 > I've written many technical details in snd_hda manual page, but as usual= =20 > in such cases, the more I am writing, the less people can understand it.= =20 > If somebody can explain these things in some easy way -- welcome. Maybe it would be worth having a ncurses based configuration tool? --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlC1yjoACgkQKc512sD3afhgLgCgr8MwamxxlRuzeQBWFLfY/92I ZY4An3hd4aScm3ZTOlhDXD/B+EhTWMUE =kmUw -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--