Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2012 00:30:09 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Hannes Mehnert <hannes@mehnert.org>
Cc:        Erich Dollansky <erichfreebsdlist@ovitrap.com>, matt <sendtomatt@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Status on X220
Message-ID:  <CAN6yY1tNrmZCH=WRahjeYnn9AM3_D=rPdc4mEqnDyGXAt5FCkQ@mail.gmail.com>
In-Reply-To: <4F910C22.4020902@mehnert.org>
References:  <201204200701.08507.erichfreebsdlist@ovitrap.com> <4F90AE77.2020408@gmail.com> <201204200825.42651.erichfreebsdlist@ovitrap.com> <CAN6yY1vJ423ovGgT1uH09QcR7SS1=OCk6vPY2fOa1wUzXY0p0g@mail.gmail.com> <4F910C22.4020902@mehnert.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, Apr 20, 2012 at 12:11 AM, Hannes Mehnert <hannes@mehnert.org> wrote:
> Hi,
>
> On 04/20/2012 05:17, Kevin Oberman wrote:
>> Minor note. Sound card seems to work OK through the speakers, but I
>> have failed to find the magic to make the headphone jack work. I have
>> not tried very hard, either.
>
> The headphone jack is also a microphone input. It is detected as a
> separate output (plus there are 3 more via the HDMI output). Setting
>  hw.snd.default_unit=1
> will enable by default the headphone jack.
>
> (This is on FreeBSD-CURRENT).

Hmm. Almost works. If is set hw.snd.default_unit=1, the speakers are
off whether the headphones are plugged in an when they are, I only get
sound from the right channel and the volume control seems to be
non-operative. Even mute does nothing. This is on 9-STABLE which has
the new sound stuff. I see the following as "available":
dev.hdaa.0.nid25_original: 0x04211040 as=4 seq=0 device=Headphones
conn=Jack ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid26_original: 0x61a19050 as=5 seq=0 device=Mic conn=None
ctype=1/8 loc=Ext-Rear color=Pink misc=0
dev.hdaa.0.nid27_original: 0x04a11060 as=6 seq=0 device=Mic conn=Jack
ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid28_original: 0x6121401f as=1 seq=15 device=Headphones
conn=None ctype=1/8 loc=Ext-Rear color=Green misc=0
dev.hdaa.0.nid29_original: 0x40f001f0 as=15 seq=0 device=Other
conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid30_original: 0x40f001f0 as=15 seq=0 device=Other
conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid31_original: 0x90170110 as=1 seq=0 device=Speaker
conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid32_original: 0x40f001f0 as=15 seq=0 device=Other
conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid34_original: 0x40f001f0 as=15 seq=0 device=Other
conn=None ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.0.nid35_original: 0x90a60170 as=7 seq=0 device=Mic conn=Fixed
ctype=Digital loc=Internal color=Unknown misc=1
dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid6_original: 0x18560020 as=2 seq=0 device=Digital-out
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid7_original: 0x18560030 as=3 seq=0 device=Digital-out
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0

So I have headphones on nid25 and 28, but I think 25 is the one that
is really there and 28 is the one when the unit is in a docking
station. But that does not really tell me how to make it work. Still,
I have only scanned the man page. It's after bed time here and I will
actually read it tomorrow.

I want it to behave like it does on Windows where I get sound on both
without touching anything and the speakers cut out when headphones are
plugged in.

Thanks!
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tNrmZCH=WRahjeYnn9AM3_D=rPdc4mEqnDyGXAt5FCkQ>