From owner-freebsd-desktop@FreeBSD.ORG Wed Nov 20 06:05:48 2013 Return-Path: Delivered-To: desktop@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 1E66B2CE; Wed, 20 Nov 2013 06:05:48 +0000 (UTC) Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [IPv6:2607:f8b0:400e:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E1E092EFD; Wed, 20 Nov 2013 06:05:47 +0000 (UTC) Received: by mail-pb0-f43.google.com with SMTP id rq2so7369253pbb.30 for ; Tue, 19 Nov 2013 22:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5y0A79QbbqPq0OBegsHiCoIFJZWvPD/gYP5BVaNKlcI=; b=wMiOIi+AgYR2gISauAaHC+LsrCX+RLm+lDaS7WOF+Z/94UGN8QYDwIHaLEOu2vxFJX wirO4PhhIlrl8hh87JchsKmVnDz5CY7NlGK3v4PDYn+Z+61C8N8zbW2uo6KuT7aaALbB 977dPik4wNYNF3p2Z8XndlVK1fsfykd5e3Nbs8g4SxeSwSH0rr6FdRx3H3kSx9vdSzL3 go/xne+xQzGjOA6ftV3K2i3wLjyPZyMTBqLwpJVETkuzPIU1XZpJm0iJI2AeTMOGj3Td RZSJCSb76eRFXvQdwBic8aFar6LjPw+1yv2K9PmaP9Bc2zhPlKs8Ku5qJH/MRqRj154i upCw== MIME-Version: 1.0 X-Received: by 10.67.21.226 with SMTP id hn2mr30451560pad.69.1384927547296; Tue, 19 Nov 2013 22:05:47 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.67.23.101 with HTTP; Tue, 19 Nov 2013 22:05:47 -0800 (PST) In-Reply-To: References: <201311191423.rAJENKDc010371@fire.js.berklix.net> Date: Tue, 19 Nov 2013 22:05:47 -0800 X-Google-Sender-Auth: 4PlIo6d20fffOugkuF1ZGf5_ILw Message-ID: Subject: Re: Story of a Desktop User From: Kevin Oberman To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: "Julian H. Stacey" , desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 06:05:48 -0000 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). -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com