Use mic from headphone jack on freebsd laptop?

From: Johannes Lundberg <johalun_at_FreeBSD.org>
Date: Mon, 18 Mar 2019 15:02:45 +0000
Hi

On my Dell laptop the output audio switches to the headphones
automatically when plugged in, however, the same does not seem to be
true for the mic. Is there any configuration magic that can be done to
use the headphone mic instead of the internal one?

Here's pin config:

hdaa0: Dumping AFG pins:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 18 90a60140 4  0  Mic           Fixed Digital Internal   Unknown 1
hdaa0:     Caps: IN                
hdaa0: 19 40000000 0  0  Line-out      None  Unknown 0x00       Unknown
0 DISA
hdaa0:     Caps: IN                
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0:     Caps:    OUT    EAPD      Sense: 0x00000000 (disconnected)
hdaa0: 24 411111f0 15 0  Speaker       None  1/8     Rear       Black  
1 DISA
hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa0: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black  
1 DISA
hdaa0:     Caps: IN             VREF Sense: 0x80000000 (connected)
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black  
1 DISA
hdaa0:     Caps: IN             VREF Sense: 0x00000000 (disconnected)
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black  
1 DISA
hdaa0:     Caps: IN OUT    EAPD VREF Sense: 0x00000000 (disconnected)
hdaa0: 30 421212f2 15 2  Speaker       None  1/4     Front      Black  
2 DISA
hdaa0:     Caps:    OUT              Sense: 0x00000000 (disconnected)
hdaa0: 33 0221101f 1  15 Headphones    Jack  1/8     Front      Black   0
hdaa0:     Caps:    OUT HP EAPD      Sense: 0x80000000 (connected)
hdaa0: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa1: Dumping AFG pins:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1:     Caps:    OUT             hdac0: Command timeout on address 2
 Sense: 0xffffffff (connected, ELD valid)
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0

And in /boot/loader.conf I have this (don't remember why I put it there
or if I need it - it might have been copied over from previous laptop)

hint.hdaa.0.nid33.config="as=1 seq=15 device=Headphones"

I'm assuming here that the headphone jack supports mic - it's a 2018
laptop after all.

Cheers

/Johannes
Received on Mon Mar 18 2019 - 14:02:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC