Solved snd_hda: line-in jack does not work

Hello,

On a laptop using Intel HDA audio, I cannot get any sound from the line-in jack.
The line-out jack works fine, as well as the built-in speakers and microphone.

Programs using audio input let me choose between /dev/dsp0 which gives nothing, and /dev/dsp1 which gives the built-in microphone input.
From what I can read in sysctl the line-in jack should be connected to dsp0 but it does not work.

Any help will be appreciated, thanks.

# sysctl dev.pcm
Code:
dev.pcm.4.bitperfect: 0
dev.pcm.4.buffersize: 65536
dev.pcm.4.play.vchanformat: s16le:2.0
dev.pcm.4.play.vchanrate: 48000
dev.pcm.4.play.vchanmode: passthrough
dev.pcm.4.play.vchans: 1
dev.pcm.4.play.32bit: 24
dev.pcm.4.%parent: hdaa1
dev.pcm.4.%pnpinfo:
dev.pcm.4.%location: nid=7
dev.pcm.4.%driver: pcm
dev.pcm.4.%desc: Intel Panther Point (HDMI/DP 8ch)
dev.pcm.3.bitperfect: 0
dev.pcm.3.buffersize: 65536
dev.pcm.3.play.vchanformat: s16le:2.0
dev.pcm.3.play.vchanrate: 48000
dev.pcm.3.play.vchanmode: passthrough
dev.pcm.3.play.vchans: 1
dev.pcm.3.play.32bit: 24
dev.pcm.3.%parent: hdaa1
dev.pcm.3.%pnpinfo:
dev.pcm.3.%location: nid=6
dev.pcm.3.%driver: pcm
dev.pcm.3.%desc: Intel Panther Point (HDMI/DP 8ch)
dev.pcm.2.bitperfect: 0
dev.pcm.2.buffersize: 65536
dev.pcm.2.play.vchanformat: s16le:2.0
dev.pcm.2.play.vchanrate: 48000
dev.pcm.2.play.vchanmode: passthrough
dev.pcm.2.play.vchans: 1
dev.pcm.2.play.32bit: 24
dev.pcm.2.%parent: hdaa1
dev.pcm.2.%pnpinfo:
dev.pcm.2.%location: nid=5
dev.pcm.2.%driver: pcm
dev.pcm.2.%desc: Intel Panther Point (HDMI/DP 8ch)
dev.pcm.1.bitperfect: 0
dev.pcm.1.buffersize: 65536
dev.pcm.1.rec.vchanformat: s16le:2.0
dev.pcm.1.rec.vchanrate: 48000
dev.pcm.1.rec.vchanmode: fixed
dev.pcm.1.rec.vchans: 1
dev.pcm.1.rec.autosrc: 2
dev.pcm.1.rec.32bit: 24
dev.pcm.1.play.vchanformat: s16le:2.0
dev.pcm.1.play.vchanrate: 48000
dev.pcm.1.play.vchanmode: fixed
dev.pcm.1.play.vchans: 1
dev.pcm.1.play.32bit: 24
dev.pcm.1.%parent: hdaa0
dev.pcm.1.%pnpinfo:
dev.pcm.1.%location: nid=10,17
dev.pcm.1.%driver: pcm
dev.pcm.1.%desc: IDT 92HD81B1X (Analog)
dev.pcm.0.bitperfect: 1
dev.pcm.0.buffersize: 65536
dev.pcm.0.rec.vchanformat: s16le:2.0
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanmode: fixed
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.autosrc: 2
dev.pcm.0.rec.32bit: 24
dev.pcm.0.play.vchanformat: s16le:2.0
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanmode: fixed
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.32bit: 24
dev.pcm.0.%parent: hdaa0
dev.pcm.0.%pnpinfo:
dev.pcm.0.%location: nid=13,11,12,15
dev.pcm.0.%driver: pcm
dev.pcm.0.%desc: IDT 92HD81B1X (Analog 2.0+HP/2.0)
dev.pcm.%parent:

# sysctl dev.hdaa
Code:
dev.hdaa.1.reconfig: 0
dev.hdaa.1.gpo_config:
dev.hdaa.1.gpo_state:
dev.hdaa.1.gpio_config:
dev.hdaa.1.gpio_state:
dev.hdaa.1.gpi_state:
dev.hdaa.1.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.1.nid8: vendor widget [DISABLED]
     Widget cap: 0x00f00000

dev.hdaa.1.nid7_original: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid7_config: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid7: pin: Digital-out (Jack)
     Widget cap: 0x0040778d PWR DIGITAL UNSOL 8CH
    Association: 2 (0x0001)
        Pin cap: 0x09000094 PDC OUT HDMI DP HBR
     Pin config: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
    Connections: 1
          + <- nid=4 [audio output]

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.nid6_config: 0x18560020 as=2 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid6: pin: Digital-out (Jack)
     Widget cap: 0x0040778d PWR DIGITAL UNSOL 8CH
    Association: 1 (0x0001)
        Pin cap: 0x09000094 PDC OUT HDMI DP HBR
     Pin config: 0x18560020 as=2 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
    Connections: 1
          + <- nid=3 [audio output]

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.nid5_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid5: pin: Digital-out (Jack)
     Widget cap: 0x0040778d PWR DIGITAL UNSOL 8CH
    Association: 0 (0x0001)
        Pin cap: 0x09000094 PDC OUT HDMI DP HBR
     Pin config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
    Connections: 1
          + <- nid=2 [audio output]

dev.hdaa.1.nid4: audio output
     Widget cap: 0x00006611 PWR DIGITAL 8CH
    Association: 2 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000005 AC3 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

dev.hdaa.1.nid3: audio output
     Widget cap: 0x00006611 PWR DIGITAL 8CH
    Association: 1 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000005 AC3 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

dev.hdaa.1.nid2: audio output
     Widget cap: 0x00006611 PWR DIGITAL 8CH
    Association: 0 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000005 AC3 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

dev.hdaa.1.%parent: hdacc1
dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x80860101
dev.hdaa.1.%location: nid=1
dev.hdaa.1.%driver: hdaa
dev.hdaa.1.%desc: Intel Panther Point Audio Function Group
dev.hdaa.0.reconfig: 0
dev.hdaa.0.gpo_config:
dev.hdaa.0.gpo_state:
dev.hdaa.0.gpio_config: 0=keep 1=keep 2=keep
dev.hdaa.0.gpio_state: 0=disabled 1=disabled 2=disabled
dev.hdaa.0.gpi_state:
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.nid34: vendor widget [DISABLED]
     Widget cap: 0x00f00000

dev.hdaa.0.nid33: beep widget
     Widget cap: 0x0070040c PWR
    Association: -2 (0x0000)
            OSS: speaker (speaker)
     Output amp: 0x80170303 mute=1 step=3 size=23 offset=3 (-18/0dB)

dev.hdaa.0.nid32_original: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid32_config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid32: pin: Other (None) [DISABLED]
     Widget cap: 0x00400781 PWR DIGITAL UNSOL STEREO
        Pin cap: 0x00000034 PDC OUT IN
     Pin config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
    Pin control: 0x00000000
    Connections: 1
          + <- nid=30 [audio output] [DISABLED]

dev.hdaa.0.nid31_original: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid31_config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid31: pin: Other (None) [DISABLED]
     Widget cap: 0x00400781 PWR DIGITAL UNSOL STEREO
        Pin cap: 0x00000014 PDC OUT
     Pin config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
    Pin control: 0x00000000
    Connections: 1
          + <- nid=29 [audio output] [DISABLED]

dev.hdaa.0.nid30: audio output [DISABLED]
     Widget cap: 0x0004061d PWR DIGITAL STEREO
     Stream cap: 0x00000005 AC3 PCM
        PCM cap: 0x000e05e0 16 20 24 bits, 44 48 88 96 192 KHz
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)

dev.hdaa.0.nid29: audio output [DISABLED]
     Widget cap: 0x0004061d PWR DIGITAL STEREO
     Stream cap: 0x00000005 AC3 PCM
        PCM cap: 0x000e05e0 16 20 24 bits, 44 48 88 96 192 KHz
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)

dev.hdaa.0.nid28: audio selector [DISABLED]
     Widget cap: 0x0030050d PWR STEREO
    Association: -2 (0x0000)
     Output amp: 0x80051f1f mute=1 step=31 size=5 offset=31 (-46/0dB)
    Connections: 1
          + <- nid=27 [audio mixer]

dev.hdaa.0.nid27: audio mixer
     Widget cap: 0x0020050b PWR STEREO
    Association: 1 (0x4001)
            OSS: mix (mix)
      Input amp: 0x80051f17 mute=1 step=31 size=5 offset=23 (-34/12dB)
    Connections: 6
          + <- nid=12 [pin: Mic (Black Jack)]
          + [DISABLED] <- nid=14 [pin: Other (None)] [DISABLED]
          + <- nid=15 [pin: Line-in (Black Jack)]
          + [DISABLED] <- nid=19 [audio output]
          + [DISABLED] <- nid=20 [audio output]
          + [DISABLED] <- nid=10 [pin: Line-out (Black Jack)]

dev.hdaa.0.nid26: audio mixer [DISABLED]
     Widget cap: 0x00200500 PWR
    Connections: 1
          + <- nid=25 [audio selector] [DISABLED]

dev.hdaa.0.nid25: audio selector [DISABLED]
     Widget cap: 0x00300501 PWR STEREO
    Connections: 3
          + <- nid=19 [audio output] (selected)
          + <- nid=20 [audio output]
          + <- nid=28 [audio selector] [DISABLED]

dev.hdaa.0.nid24: audio selector
     Widget cap: 0x00300d0d LRSWAP PWR STEREO
    Association: 3 (0x0001)
            OSS: monitor
     Output amp: 0x80050f00 mute=1 step=15 size=5 offset=0 (0/22dB)
    Connections: 7
          + [DISABLED] <- nid=12 [pin: Mic (Black Jack)]
          + [DISABLED] <- nid=14 [pin: Other (None)] [DISABLED]
          + [DISABLED] <- nid=15 [pin: Line-in (Black Jack)]
          + [DISABLED] <- nid=27 [audio mixer]
          + <- nid=17 [pin: Mic (Both)] (selected)
          + [DISABLED] <- nid=18 [vendor widget] [DISABLED]
          + [DISABLED] <- nid=10 [pin: Line-out (Black Jack)]

dev.hdaa.0.nid23: audio selector
     Widget cap: 0x00300d0d LRSWAP PWR STEREO
    Association: 1 (0x4001)
            OSS: line, mic, mix
     Output amp: 0x80050f00 mute=1 step=15 size=5 offset=0 (0/22dB)
    Connections: 7
          + <- nid=12 [pin: Mic (Black Jack)] (selected)
          + [DISABLED] <- nid=14 [pin: Other (None)] [DISABLED]
          + <- nid=15 [pin: Line-in (Black Jack)]
          + <- nid=27 [audio mixer]
          + [DISABLED] <- nid=17 [pin: Mic (Both)]
          + [DISABLED] <- nid=18 [vendor widget] [DISABLED]
          + [DISABLED] <- nid=10 [pin: Line-out (Black Jack)]

dev.hdaa.0.nid22: audio input
     Widget cap: 0x001d0541 PWR PROC STEREO
    Association: 3 (0x0001)
     Stream cap: 0x00000001 PCM
        PCM cap: 0x000e05e0 16 20 24 bits, 44 48 88 96 192 KHz
    Connections: 1
          + <- nid=24 [audio selector]

dev.hdaa.0.nid21: audio input
     Widget cap: 0x001d0541 PWR PROC STEREO
    Association: 1 (0x4001)
     Stream cap: 0x00000001 PCM
        PCM cap: 0x000e05e0 16 20 24 bits, 44 48 88 96 192 KHz
    Connections: 1
          + <- nid=23 [audio selector]

dev.hdaa.0.nid20: audio output
     Widget cap: 0x000d0c45 LRSWAP PWR PROC STEREO
    Association: 2 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000001 PCM
        PCM cap: 0x000e05e0 16 20 24 bits, 44 48 88 96 192 KHz
     Output amp: 0x80027f7f mute=1 step=127 size=2 offset=127 (-95/0dB)

dev.hdaa.0.nid19: audio output
     Widget cap: 0x000d0c45 LRSWAP PWR PROC STEREO
    Association: 0 (0x8001)
            OSS: pcm (pcm)
     Stream cap: 0x00000001 PCM
        PCM cap: 0x000e05e0 16 20 24 bits, 44 48 88 96 192 KHz
     Output amp: 0x80027f7f mute=1 step=127 size=2 offset=127 (-95/0dB)

dev.hdaa.0.nid18: vendor widget [DISABLED]
     Widget cap: 0x00f00503 PWR STEREO
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
    Connections: 1
          + [DISABLED] <- nid=32 [pin: Other (None)] [DISABLED]

dev.hdaa.0.nid17_original: 0xd5a30140 as=4 seq=0 device=Mic conn=Both ctype=ATAPI loc=0x15 color=Unknown misc=1
dev.hdaa.0.nid17_config: 0xd5a30140 as=4 seq=0 device=Mic conn=Both ctype=ATAPI loc=0x15 color=Unknown misc=1
dev.hdaa.0.nid17: pin: Mic (Both)
     Widget cap: 0x00400483 PWR UNSOL STEREO
    Association: 3 (0x0001)
            OSS: monitor (monitor)
        Pin cap: 0x00000024 PDC IN
     Pin config: 0xd5a30140 as=4 seq=0 device=Mic conn=Both ctype=ATAPI loc=0x15 color=Unknown misc=1
    Pin control: 0x00000020 IN
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)

dev.hdaa.0.nid16_original: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid16_config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid16: pin: Other (None) [DISABLED]
     Widget cap: 0x00400500 PWR
        Pin cap: 0x00000010 OUT
     Pin config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
    Pin control: 0x00000000
    Connections: 1
          + <- nid=26 [audio mixer] [DISABLED]

dev.hdaa.0.nid15_original: 0x2181102e as=2 seq=14 device=Line-in conn=Jack ctype=1/8 loc=Ext-Rear color=Black misc=0
dev.hdaa.0.nid15_config: 0x2181102e as=2 seq=14 device=Line-in conn=Jack ctype=1/8 loc=Ext-Rear color=Black misc=0
dev.hdaa.0.nid15: pin: Line-in (Black Jack)
     Widget cap: 0x00400583 PWR UNSOL STEREO
    Association: 1 (0x4000)
            OSS: line (line)
        Pin cap: 0x00010034 PDC OUT IN EAPD
     Pin config: 0x2181102e as=2 seq=14 device=Line-in conn=Jack ctype=1/8 loc=Ext-Rear color=Black misc=0
    Pin control: 0x00000020 IN
           EAPD: 0x00000002 EAPD
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
    Connections: 3
          + [DISABLED] <- nid=19 [audio output] (selected)
          + [DISABLED] <- nid=20 [audio output]
          + [DISABLED] <- nid=28 [audio selector] [DISABLED]

dev.hdaa.0.nid14_original: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid14_config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.0.nid14: pin: Other (None) [DISABLED]
     Widget cap: 0x00400583 PWR UNSOL STEREO
        Pin cap: 0x00010034 PDC OUT IN EAPD
     Pin config: 0x40f000f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=0
    Pin control: 0x00000000
           EAPD: 0x00000002 EAPD
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
    Connections: 3
          + <- nid=19 [audio output] (selected)
          + <- nid=20 [audio output]
          + <- nid=28 [audio selector] [DISABLED]

dev.hdaa.0.nid13_original: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid13_config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
dev.hdaa.0.nid13: pin: Speaker (Fixed)
     Widget cap: 0x00400501 PWR STEREO
    Association: 0 (0x0001)
        Pin cap: 0x00010050 OUT BAL EAPD
     Pin config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
    Pin control: 0x00000040 OUT
           EAPD: 0x00000002 EAPD
    Connections: 3
          + <- nid=19 [audio output] (selected)
          + [DISABLED] <- nid=20 [audio output]
          + [DISABLED] <- nid=28 [audio selector] [DISABLED]

dev.hdaa.0.nid12_original: 0x04a11020 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid12_config: 0x04a11020 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid12: pin: Mic (Black Jack)
     Widget cap: 0x00400583 PWR UNSOL STEREO
    Association: 1 (0x0001)
            OSS: mic (mic)
        Pin cap: 0x00011734 PDC OUT IN VREF[ 50 80 GROUND HIZ ] EAPD
     Pin config: 0x04a11020 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Right color=Black misc=0
    Pin control: 0x00000024 IN VREFs
           EAPD: 0x00000002 EAPD
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
    Connections: 3
          + [DISABLED] <- nid=19 [audio output] (selected)
          + [DISABLED] <- nid=20 [audio output]
          + [DISABLED] <- nid=28 [audio selector] [DISABLED]

dev.hdaa.0.nid11_original: 0x0421101f as=1 seq=15 device=Headphones conn=Jack ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid11_config: 0x0421101f as=1 seq=15 device=Headphones conn=Jack ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid11: pin: Headphones (Black Jack)
     Widget cap: 0x00400581 PWR UNSOL STEREO
    Association: 0 (0x8000)
        Pin cap: 0x0001001c PDC HP OUT EAPD
     Pin config: 0x0421101f as=1 seq=15 device=Headphones conn=Jack ctype=1/8 loc=Right color=Black misc=0
    Pin control: 0x00000080 HP
           EAPD: 0x00000002 EAPD
    Connections: 3
          + <- nid=19 [audio output] (selected)
          + [DISABLED] <- nid=20 [audio output]
          + [DISABLED] <- nid=28 [audio selector] [DISABLED]

dev.hdaa.0.nid10_original: 0x21011030 as=3 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Ext-Rear color=Black misc=0
dev.hdaa.0.nid10_config: 0x21011030 as=3 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Ext-Rear color=Black misc=0
dev.hdaa.0.nid10: pin: Line-out (Black Jack)
     Widget cap: 0x00400583 PWR UNSOL STEREO
    Association: 2 (0x0001)
        Pin cap: 0x0001173c PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] EAPD
     Pin config: 0x21011030 as=3 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Ext-Rear color=Black misc=0
    Pin control: 0x00000040 OUT
           EAPD: 0x00000002 EAPD
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
    Connections: 3
          + [DISABLED] <- nid=19 [audio output]
          + <- nid=20 [audio output] (selected)
          + [DISABLED] <- nid=28 [audio selector] [DISABLED]

dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x103c17bc
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%desc: IDT 92HD81B1X Audio Function Group
dev.hdaa.%parent:
 
Hiya. I saw this hadn't been replied to so I figured I'd give my input. Disclaimer: I'm a basic FreeBSD user, so my methods aren't particularly high-brow.

I've been using audio/umix for my volume controls, I had to fiddle with the IGain setting b/c it had been set to 0 as a default (any value >0 enabled audio pass-thru from line in).

Anyhow, best of luck. At the very least hopefully someone else sees that this thread's been bumped so that they can give you a more cohesive answer.
 
snd_hda(4) is highly configurable and differs from Linux where the default configuration, say for a particular laptop, is specified by codecs. In FreeBSD the available inputs/outputs are interrogated at boot and generally grouped by location. The man page, linked, tells you how to reassign a particular nwid. It is possible to have both the bezel mic and the 1/8 jack mic active and multiplex the sound.

This also means that there is no one way to configure your particular laptop.
For example: Onboard speakers and bezel mic as defaults. Jack sense Headphones to mute Onboard speakers while continuing to use bezel mic. Alternatively separate headphones and jack mic into a second group.

There have been a number of solved threads and it is possible that someone has done this for the make/model of laptop you have. Use the forum search function to browse.
 
Thank you both for answering.
In fact I eventually found out a solution myself but forgot to edit my post here.

I added the following to /boot/device.hints
hint.hdaa.0.nid15.config="as=0"
hint.hdaa.0.nid17.config="as=2 seq=0"
hint.hdaa.0.nid12.config="as=2 seq=15"

nid15 refers to a connector which is listed (device=Line-in conn=Jack ctype=1/8 loc=Ext-Rear) but does not exist on the laptop
nid17 is the built-in microphone
nid12 is the real input jack

So I disabled the fake line-in and grouped the built-in microphone with the real input jack.
I now have only one recording device (dsp0) which defaults to the built-in microphone and switches to the input jack when I plug something in.
 
Last edited:
Back
Top