Re: Status on X220

From: Kevin Oberman <kob6558_at_gmail.com>
Date: Fri, 20 Apr 2012 00:30:09 -0700
On Fri, Apr 20, 2012 at 12:11 AM, Hannes Mehnert <hannes_at_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_at_gmail.com
Received on Fri Apr 20 2012 - 05:30:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC