From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 17 16:36:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FF78106566B for ; Fri, 17 Feb 2012 16:36:57 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id B25ED8FC12 for ; Fri, 17 Feb 2012 16:36:56 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so2573550wib.13 for ; Fri, 17 Feb 2012 08:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=KsQU0zRr0ZXUgAh6vc7o0VAK/6+Mg1v4z27esxOwhko=; b=H42rLJNu5bYM7W01lZkoIHz+iUuUT8o4Tx99xNaGYSIb+HraDz/rYS3kTjwhRBdVdJ rHNXR76wimbOySyYdD6E/yhzu+0iLiFPQ/ZiHCoWduE5deMRcyjPvRr1wv5GcKQWjyhF Wp4MdGLEl+eClKRKzZoIb+66ZypQ+W+HaY3OE= Received: by 10.180.109.228 with SMTP id hv4mr4907290wib.11.1329496615708; Fri, 17 Feb 2012 08:36:55 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id hb10sm37603384wib.10.2012.02.17.08.36.54 (version=SSLv3 cipher=OTHER); Fri, 17 Feb 2012 08:36:54 -0800 (PST) Sender: Alexander Motin Message-ID: <4F3E8225.9030501@FreeBSD.org> Date: Fri, 17 Feb 2012 18:36:53 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111227 Thunderbird/9.0 MIME-Version: 1.0 To: Alex Goncharov References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: 8 to 9: Kernel modularization -- did it change? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2012 16:36:57 -0000 On 02/17/12 18:20, Alex Goncharov wrote: > ,--- You/Freddie (Fri, 17 Feb 2012 08:08:18 -0800) ----* > |> So, how do I go about finding and modifying the sound card pin > |> assignments in FreeBSD 9? (If I can't do it without temporarily > |> installing FreeBSD 8, it would be a huge disappointment. :) > | > | Stick the hint into /boot/loader.conf and reboot. > > How do I find the correct hint if I can't reload the sound module in > the new kernel environment and explore 'dmesg', '/dev/sndstat' and the > physical headphones with the new hint without a reboot? > > Stick something in a file (/boot/device.hints or /boot/loader.conf), > reboot and see if it works... if it doesn't put a different > combination of 'cad', 'nid' and 'seq' and reboot?... And again and > again, till it works?.. Improved HDA driver in HEAD allows to change CODEC configuration via sysctls on fly without unloading. I am going to merge it to 9/8-STABLE in few weeks. If somebody wants to write nice GUI for it -- welcome! ;) -- Alexander Motin