Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jan 2012 14:49:48 -0600
From:      Eric Schuele <e.schuele@computer.org>
To:        freebsd-questions@freebsd.org
Subject:   Thinkpad w500 microphone with Conexant CX20561 (Hermosa)
Message-ID:  <4F00C6EC.30100@computer.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3963CB4987E63ECC3AA6DFB4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

I've a new (to me) laptop which is a Thinkpad W500 with a Conexant
CX20561 (Hermosa).  I am having no luck getting the microphone to work.
 The goal is to get skype up and running with sound, mic and video.
Presently I have sound from the machine.  Trying to get the mic to work.

If I use skype's echo test it does not pickup anything.  This is the
only 'mic test' I've tried.  I'm am not much on audio so never had a
need before to use a mic under FreeBSD... so I don't even know what
other recording tests might be useful.

Here are a few bits of info....

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
% dmesg -a | grep -i hda
hdac0: <Intel 82801I High Definition Audio Controller> mem
0xfc220000-0xfc223fff irq 17 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfc220000
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 257 for MSI
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Conexant CX20561 (Hermosa)
hdac0:  HDA Codec ID: 0x14f15051
hdac0:        Vendor: 0x14f1
hdac0:        Device: 0x5051
hdac0:      Revision: 0x00
hdac0:      Stepping: 0x00
hdac0: PCI Subvendor: 0x20f217aa
hdac0:  Found audio FG nid=3D1 startnode=3D16 endnode=3D31 total=3D15
hdac0: Probing codec #1...
hdac0: HDA Codec #1: Conexant (Unknown)
hdac0:  HDA Codec ID: 0x14f12c06
hdac0:        Vendor: 0x14f1
hdac0:        Device: 0x2c06
hdac0:      Revision: 0x00
hdac0:      Stepping: 0x00
hdac0: PCI Subvendor: 0x20f217aa
hdac0:  Found modem FG nid=3D2 startnode=3D112 endnode=3D116 total=3D4
hdac0:
hdac0: Processing audio FG cad=3D0 nid=3D1...
hdac0: GPIO: 0x40000004 NumGPIO=3D4 NumGPO=3D0 NumGPI=3D0 GPIWake=3D0 GPI=
Unsol=3D1
hdac0:  nid 22 0x022140f0 as 15 seq  0    Headphones  Jack jack  1 loc
2 color   Green misc 0
hdac0: Patching pin config nid=3D22 0x022140f0 -> 0x0221401f
hdac0:  nid 23 0x61a190f0 as 15 seq  0           Mic  None jack  1 loc
33 color    Pink misc 0
hdac0:  nid 24 0x02a190f0 as 15 seq  0           Mic  Jack jack  1 loc
2 color    Pink misc 0
hdac0: Patching pin config nid=3D24 0x02a190f0 -> 0x02a1902f
hdac0:  nid 25 0x40f000f0 as 15 seq  0         Other  None jack  0 loc
0 color Unknown misc 0
hdac0:  nid 26 0x901701f0 as 15 seq  0       Speaker Fixed jack  7 loc
16 color Unknown misc 1
hdac0: Patching pin config nid=3D26 0x901701f0 -> 0x90170110
hdac0:  nid 27 0x40f001f0 as 15 seq  0         Other  None jack  0 loc
0 color Unknown misc 1
hdac0:  nid 28 0x40f001f0 as 15 seq  0         Other  None jack  0 loc
0 color Unknown misc 1
hdac0:  nid 29 0x90a601f0 as 15 seq  0           Mic Fixed jack  6 loc
16 color Unknown misc 1
hdac0: Patching pin config nid=3D29 0x90a601f0 -> 0x90a60120
hdac0: Patched pins configuration:
hdac0:  nid 22 0x0221401f as  1 seq 15    Headphones  Jack jack  1 loc
2 color   Green misc 0
hdac0:  nid 23 0x61a190f0 as 15 seq  0           Mic  None jack  1 loc
33 color    Pink misc 0 [DISABLED]
hdac0:  nid 24 0x02a1902f as  2 seq 15           Mic  Jack jack  1 loc
2 color    Pink misc 0
hdac0:  nid 25 0x40f000f0 as 15 seq  0         Other  None jack  0 loc
0 color Unknown misc 0 [DISABLED]
hdac0:  nid 26 0x90170110 as  1 seq  0       Speaker Fixed jack  7 loc
16 color Unknown misc 1
hdac0:  nid 27 0x40f001f0 as 15 seq  0         Other  None jack  0 loc
0 color Unknown misc 1 [DISABLED]
hdac0:  nid 28 0x40f001f0 as 15 seq  0         Other  None jack  0 loc
0 color Unknown misc 1 [DISABLED]
hdac0:  nid 29 0x90a60120 as  2 seq  0           Mic Fixed jack  6 loc
16 color Unknown misc 1
hdac0: 2 associations found:
hdac0: Association 0 (1) out:
hdac0:  Pin nid=3D26 seq=3D0
hdac0:  Pin nid=3D22 seq=3D15
hdac0: Association 1 (2) in:
hdac0:  Pin nid=3D29 seq=3D0
hdac0:  Pin nid=3D24 seq=3D15
hdac0: Tracing association 0 (1)
hdac0:  Pin 26 traced to DAC 16
hdac0:  Pin 22 traced to DAC 16 and hpredir 0
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0:  Pin 29 traced to ADC 20
hdac0:  Unable to trace pin 24 to ADC 20, undo traces
hdac0:  Unable to trace pin 29 to ADC 21, undo traces
hdac0: Association 1 (2) trace failed
hdac0: Tracing input monitor
hdac0: Tracing other input monitors
hdac0: Tracing beeper
hdac0: Enabling headphone/speaker audio routing switching:
hdac0:  as=3D0 sense nid=3D22 [UNSOL]
hdac0: Pin sense: nid=3D22 res=3D0x7fffffff
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
%cat /boot/device.hints
hint.hdac.0.cad0.nid22.config=3D"as=3D1 seq=3D15 device=3DHeadphones"
hint.hdac.0.cad0.nid26.config=3D"as=3D1 seq=3D0 device=3DSpeaker"
#hint.hdac.0.cad0.nid29.config=3D"as=3D1 seq=3D1 device=3DMic"
hint.hdac.0.cad0.nid29.config=3D"as=3D2 seq=3D0 device=3DMic"
hint.hdac.0.cad0.nid24.config=3D"as=3D2 seq=3D15 device=3DMic"

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
%cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Conexant CX20561 (Hermosa) PCM #0 Analog> (play) default

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
% mixer -f /dev/mixer0
Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer ogain    is currently set to  50:50

If I alter the hints mentioned above (by uncommenting the one), I can in
fact get a 'mic' to appear via mixer.  But the sound output is lost.
Additionally, in such a configuration the cat of sndstat then reports
'(rec) default'.  So I did not proceed with those hints as they were
seemingly of no use.

Any help is appreciated.

Thanks,
Eric


--------------enig3963CB4987E63ECC3AA6DFB4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8AxuwACgkQngSDRM3IXUpo+wCg5IAzZMEUE06oqD0auiYKqL8a
3vUAmweMqQcO26GPTWeocQpC8IvJcRNM
=yKjy
-----END PGP SIGNATURE-----

--------------enig3963CB4987E63ECC3AA6DFB4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F00C6EC.30100>