Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 22:05:47 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Eitan Adler <lists@eitanadler.com>, "Julian H. Stacey" <jhs@berklix.com>, desktop@freebsd.org, "freebsd-mobile@freebsd.org" <mobile@freebsd.org>
Subject:   Re: Story of a Desktop User
Message-ID:  <CAN6yY1sGPNsNZCyoJpeSa%2B3YT6=Teg=GUH7_pcyE4ociRHYcvg@mail.gmail.com>
In-Reply-To: <CAJ-Vmo=XpN9Bx4eZ-f_Jjq5gNR%2BnLCrZRqhsh1F-43LyF7OSiA@mail.gmail.com>
References:  <CAF6rxgmQVKizx2UOZst0MoeyP5fsKzT%2BGYi2RFEgvJFXzWbB8Q@mail.gmail.com> <201311191423.rAJENKDc010371@fire.js.berklix.net> <CAJ-Vmo=XpN9Bx4eZ-f_Jjq5gNR%2BnLCrZRqhsh1F-43LyF7OSiA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 19, 2013 at 7:20 PM, Adrian Chadd <adrian@freebsd.org> 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 <jhs@berklix.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sGPNsNZCyoJpeSa%2B3YT6=Teg=GUH7_pcyE4ociRHYcvg>