Thinkpad audio question
William Bulley
web at umich.edu
Wed Sep 14 20:06:20 UTC 2011
According to Jakub Lach <jakub_lach at mailplus.pl> on Wed, 09/14/11 at 13:10:
>
> See man snd_hda, you probably need to set device.hints.
>
> For example, I with T400 have something like this in
> device hints:
>
> hint.hdac.0.cad0.nid22.config="as=1 seq=15"
> hint.hdac.0.cad0.nid24.config="as=3"
> hint.hdac.0.cad0.nid26.config="as=1"
> hint.hdac.0.cad0.nid29.config="as=2"
Thanks. This looks very promising. It is too bad the man page is so
"busy" and complex... :-(
I had viewed this man page before, but I hoped I would never have to
deal with the details. And I haven't until now... :-)
One thing that could be made more clear is the lack of how to invoke
the "verbose" or "report"ing mode. The word "verbose" appears just
three (3!) times in the man page, but there is no explicit description
of how to get the driver to provide a verbose report. The word "report"
in the EXAMPLES section refers to an HP/Compaq system housing a Realtek
ALC888 HDA codec whose "driver" can list the default pin configuration
as show. Except the man page never explains how. :-(
After a great deal of back and forth, I finally "discovered" the "hint"
dev.hdac.%d.pindump just above the EXAMPLES section. As soon as I put
that entry in my /etc/sysctl.conf file (dev.hdac.0.pindump=1) and did
a reboot, the following appeared in my dmesg(8) output: :-)
<Intel 82801I HDAC> mem 0xfc020000-0xfc023fff irq 17 at device 27.0 on pci0
High Definition Audio Controller Driver Revision: 20100226_0142
HDA Codec #0: Conexant CX20561 (Hermosa)
HDA Codec #1: Conexant (Unknown) <<<<<===== this seems confusing...
Dumping AFG cad=0 nid=1 pins:
nid 22 0x022140f0 as 15 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0
Caps: OUT HP Sense: 0x7fffffff
nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED]
Caps: IN VREF Sense: 0x7fffffff
nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0
Caps: IN VREF Sense: 0x7fffffff
nid 25 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
Caps: OUT Sense: 0x7fffffff
nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1
Caps: OUT EAPD
nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED]
Caps: OUT EAPD
nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED]
Caps: OUT
nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1
Caps: IN
NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000
wake=0x00000000 unsol=0x00000000 sticky=0x00000000
Dumping AFG cad=0 nid=1 pins:
nid 22 0x022140f0 as 15 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0
Caps: OUT HP Sense: 0x7fffffff
nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED]
Caps: IN VREF Sense: 0x7fffffff
nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0
Caps: IN VREF Sense: 0x7fffffff
nid 25 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
Caps: OUT Sense: 0x7fffffff
nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1
Caps: OUT EAPD
nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED]
Caps: OUT EAPD
nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED]
Caps: OUT
nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1
Caps: IN
NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000
wake=0x00000000 unsol=0x00000000 sticky=0x00000000
Now, re-reading the snd_hda man page with the above in hand, I just may
be able to make changes similar to what you have shown above provided I
can make sense of the above "verbose" output. Thanks for all your help. :-)
Regards,
web...
--
William Bulley Email: web at umich.edu
72 characters width template ----------------------------------------->|
More information about the freebsd-questions
mailing list