Thank you, Alexander!
On Sun, Oct 28, 2012 at 8:28 PM, Alexander Motin <
m...@freebsd.org> wrote:
> On 28.10.2012 17:12, Big Yuuta wrote:
>>
>> hint.hdaa.0.nid20.config="as=1 seq=0 device=Speaker"
>> hint.hdaa.0.nid26.config="as=1 seq=15 device=Headphones"
>> hint.hdaa.0.nid18.config="as=2 seq=0"
>
>
> As I see, these three hints are replicating existing configuration and
> effectively useless.
You're absolutely right! These are the same as the original ones.
>> #hint.hdaa.0.gpio_config="0=set"
>> hint.hdaa.0.config="forcestereo,ivref50,ivref80,ivref100,ivref,vref"
>> hint.pcm.0.config="gpio0,gpio1,gpio2,gpio3,gpio4,gpio5,gpio6,gpio7"
>> hint.pcm.0.vol="100"
>>
>> This is my n'th attempt, I pretty tried everything I could imagine.
>>
>> Here's my verbose dmesg
http://dpaste.com/818967/plain/
>>
>> Am I missing something? Is my understanding of pinouts correct?
>
>
> CODEC configuration looks good and I see no problems in driver output. I
> think most likely problem is in CODEC wiring and power amplifier. Your CODEC
> has two GPIO lines and EAPD line. That gives 8 possible combinations. I
> would recommend you to try them all. GPIOs, as you tried could be set with
> hint.hdaa.0.gpio_config tunable. EAPD line can be controlled (0 or 100) by
> the ogain mixer control.
You mean combinations like:
hint.hdaa.0.gpio_config="0=set 1=set 2=set"
Where the values could be "set" or "keep"? But then again, the man
also cites "clear", "disable", "input". So that'd make more than 8 possible
permutations? Or is it something else? Can you please give me an example?
Also, can I, after booting, just try with:
kenv hint.hdaa.0.gpio_config="0=set 1=set 2=set"
kdunload snd_hda.ko
kdload snd_hda.ko
or should I reboot each time?
> Unluckily with this output I can't completely identify your system to check
> what Linux does for it. Could you send me `devinfo -vr` output.
Sure! I'm attaching it
Again thanks for all your work on the subject, and your help!
P.S. Here's some extra output from dmesg when I set: dev.hdac.0.pindump=1
hdaa0: Dumping AFG pins:
hdaa0: nid 0x as seq device conn jack loc color misc
hdaa0: 18 99a30920 2 0 Mic Fixed ATAPI Onboard Unknown 9
hdaa0: Caps: IN
hdaa0: 20 99130110 1 0 Speaker Fixed ATAPI Onboard Unknown 1
hdaa0: Caps: OUT EAPD Sense: 0x00000000 (disconnected)
hdaa0: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: OUT
hdaa0: 24 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: IN OUT VREF Sense: 0x00000000 (disconnected)
hdaa0: 25 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: IN VREF Sense: 0x00000000 (disconnected)
hdaa0: 26 0121441f 1 15 Headphones Jack 1/8 Rear Green 4
hdaa0: Caps: IN OUT HP Sense: 0x00000000 (disconnected)
hdaa0: 27 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: IN OUT Sense: 0x00000000 (disconnected)
hdaa0: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: OUT Sense: 0x00000000 (disconnected)
hdaa0: 33 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa0: Caps: OUT HP Sense: 0x00000000 (disconnected)
hdaa0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0: GPIO0: disabled
hdaa0: GPIO1: disabled