From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 20 11:29:01 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21D5B910 for ; Wed, 20 Nov 2013 11:29:01 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE93A232C for ; Wed, 20 Nov 2013 11:29:00 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id 822CC6A6002 for ; Wed, 20 Nov 2013 12:28:58 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 20 Nov 2013 12:28:58 +0100 From: Lars Engels To: freebsd-mobile@freebsd.org Subject: Re: Story of a Desktop User In-Reply-To: References: <201311191423.rAJENKDc010371@fire.js.berklix.net> Message-ID: <2906d296df7b8291c64f4d0bbd8a6eb6@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 11:29:01 -0000 Am 2013-11-20 07:05, schrieb Kevin Oberman: > On Tue, Nov 19, 2013 at 7:20 PM, Adrian Chadd > wrote: > >> The newer sound stuff has a whole bunch of interesting interconnects >> internally that let you wire things around between functional blocks, >> inputs and outputs. >> >> I seem to recall that sometimes you have a hardware-only jack that >> does this. Sometimes its a software only thing where the hardware has >> a switch that the software uses to flip the output wiring. >> >> So depending upon the chipset and what it implements, it may be some >> automagic wiring done by the driver that's enumerated at boot time. >> Boot with -v and see if you get this nice verbose output from the >> sound driver explaining how all the connections are wired up. >> >> >> >> >> -adrian >> >> >> On 19 November 2013 06:23, Julian H. Stacey wrote: >> > Eitan Adler wrote: >> >> The hardware switches from speakers to headphones automagically when I >> >> plug in headphones. I like this behavior but it would be great if >> >> there were a sysctl to disable it. >> > >> > If it's a mini jack that may be an artifact of the socket, >> > in which case no software can control it. >> > >> > Cheers, >> > Julian >> > -- >> > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich >> http://berklix.com >> > Interleave replies below like a play script. Indent old text with "> ". >> > Send plain text, not quoted-printable, HTML, base64, or >> multipart/alternative. >> > Extradite NSA spy chief Alexander. >> http://berklix.eu/jhs/blog/2013_10_30 >> > > On most sound systems using snd_hda you can do this fairly easily, > though > figuring out the exact incantations can require a bit of reading and > thought. Details (including sysctls) may be found in snd_hda(4). It would be uber-awesome if someone wrote a simple gui or ncurses interface to snd_hda(4)'s runtime configuration.