(In reply to mohammed imran from comment #97)
> (In reply to Raymond from comment #93)
> > https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/
> > Documentation/sound/alsa/HD-Audio.txt
> >
> >
> >
> > Early Patching
> > ~~~~~~~~~~~~~~
> > When CONFIG_SND_HDA_PATCH_LOADER=y is set, you can pass a "patch" as a
> > firmware file for modifying the HD-audio setup before initializing the
> > codec. This can work basically like the reconfiguration via sysfs in
> > the above, but it does it before the first codec configuration.
> >
> > A patch file is a plain text file which looks like below:
> >
> > ------------------------------------------------------------------------
> > [codec]
> > 0x12345678 0xabcd1234 2
> >
> > [model]
> > auto
> >
> > [pincfg]
> > 0x12 0x411111f0
> >
> > did you set the correct codec id and subsystem id and model
> >
> > since you need model dell-headset-multi to call the function
> > alc_fixup_headset_mode_alc668 to init the headset
> >
> > and those pin fix to remove headphone mic by the original mic jack and
> > subwoofer
> > remove the headphone jack so that line out type =speaker for the 2.1
> channel
> > map
>
> data from my hda-jack-restask.fw file
>
> [codec]
> 0x10ec0668 0x102805a9 0
>
> [pincfg]
> 0x12 0x99a30140
> 0x14 0x90170110
> 0x15 0x0321101f
> 0x16 0x411111f0
> 0x18 0x40030008
> 0x19 0x03a11030
> 0x1a 0x90100111
> 0x1b 0x411111f0
> 0x1d 0x41000001
> 0x1e 0x411111f0
> 0x1f 0x411111f0
Amended file in hda-jack-restask.fw
[codec]
0x10ec0668 0x102805a9 0
[pincfg]
0x12 0x99a30140
0x14 0x90170110
0x15 0x0321101f
0x16 0x411111f0
0x18 0x40030008
0x19 0x03a11030
0x1a 0x90100111
0x1b 0x03a1113c /* use as headset mic, without its own jack detect */
0x1d 0x41000001
0x1e 0x411111f0
0x1f 0x411111f0
(In reply to mohammed imran from comment #97) /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ tree/ sound/alsa/ HD-Audio. txt SND_HDA_ PATCH_LOADER= y is set, you can pass a "patch" as a ------- ------- ------- ------- ------- ------- ------- ------- ------- -- headset_ mode_alc668 to init the headset
> (In reply to Raymond from comment #93)
> > https:/
> > Documentation/
> >
> >
> >
> > Early Patching
> > ~~~~~~~~~~~~~~
> > When CONFIG_
> > firmware file for modifying the HD-audio setup before initializing the
> > codec. This can work basically like the reconfiguration via sysfs in
> > the above, but it does it before the first codec configuration.
> >
> > A patch file is a plain text file which looks like below:
> >
> > -------
> > [codec]
> > 0x12345678 0xabcd1234 2
> >
> > [model]
> > auto
> >
> > [pincfg]
> > 0x12 0x411111f0
> >
> > did you set the correct codec id and subsystem id and model
> >
> > since you need model dell-headset-multi to call the function
> > alc_fixup_
> >
> > and those pin fix to remove headphone mic by the original mic jack and
> > subwoofer
> > remove the headphone jack so that line out type =speaker for the 2.1
> channel
> > map
>
> data from my hda-jack-restask.fw file
>
> [codec]
> 0x10ec0668 0x102805a9 0
>
> [pincfg]
> 0x12 0x99a30140
> 0x14 0x90170110
> 0x15 0x0321101f
> 0x16 0x411111f0
> 0x18 0x40030008
> 0x19 0x03a11030
> 0x1a 0x90100111
> 0x1b 0x411111f0
> 0x1d 0x41000001
> 0x1e 0x411111f0
> 0x1f 0x411111f0
Amended file in hda-jack-restask.fw
[codec]
0x10ec0668 0x102805a9 0
[pincfg]
0x12 0x99a30140
0x14 0x90170110
0x15 0x0321101f
0x16 0x411111f0
0x18 0x40030008
0x19 0x03a11030
0x1a 0x90100111
0x1b 0x03a1113c /* use as headset mic, without its own jack detect */
0x1d 0x41000001
0x1e 0x411111f0
0x1f 0x411111f0
&&&&&&&&&&&&&&&&&&&
data as per alsa-base.conf
#my entry
snd_hda_intel: model=, dell-headset- multi, patch=, /lib/firmware/ hdajackretask. fw jack-retask. fw,hda- jack-retask. fw,hda- jack-retask. fw,hda- jack-retask. fw
snd_hda_intel: patch=hda-
control.16 {
iface CARD
name 'Headset Mic Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
am i right? or wrong? file attached.